Skip to content

Commit

Permalink
feat(ssr-docs); merged development
Browse files Browse the repository at this point in the history
  • Loading branch information
lexasq committed Dec 17, 2024
1 parent a67c0a9 commit bbc3478
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/on-push-or-pull.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ jobs:
- name: smoke e2e on firebase
if: ${{ needs.firebase_preview.outputs.output_url }}
run: PLAYWRIGHT_TEST_BASE_URL="${{ needs.firebase_preview.outputs.output_url }}/ngx-bootstrap/" npx nx run ngx-bootstrap-docs-e2e:e2e --pwProject=chromium-integration --shard=${{ matrix.shard }}/${{ strategy.job-total }}
run: PLAYWRIGHT_TEST_BASE_URL="${{ needs.firebase_preview.outputs.output_url }}/ngx-bootstrap/" npx nx run ngx-bootstrap-docs-e2e:e2e --pwProject=chromium-integration --skipServe --shard=${{ matrix.shard }}/${{ strategy.job-total }}

- name: smoke e2e local
if: ${{ !needs.firebase_preview.outputs.output_url }}
Expand Down
4 changes: 1 addition & 3 deletions apps/ngx-bootstrap-docs-e2e/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ export default defineConfig({
testMatch: '**/*.spec.ts',
fullyParallel: true,
workers: 3,
expect: {
timeout: 30000
},

reporter: [['html', { outputFolder: 'playwright-report', open: 'never' }]],
use: {
baseURL: process.env['PLAYWRIGHT_TEST_BASE_URL'] || 'http://localhost:4200/ngx-bootstrap/',
Expand Down
3 changes: 0 additions & 3 deletions apps/ngx-bootstrap-docs-e2e/src/support/accordion.po.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@ export class AccordionPo extends BasePo {
}

async clickOnAccordionGroup(baseSelector: string, itemIndex: number) {
await this.page
.locator(baseSelector + ' accordion-group button')
.nth(itemIndex).waitFor({state: 'visible'});
await this.page
.locator(baseSelector + ' accordion-group button')
.nth(itemIndex)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { getYearsCalendarInitialDate } from '../utils/bs-calendar-utils';

@Component({
selector: 'test-cmp',
template: `<bs-datepicker-inline [bsConfig]="bsConfig"></bs-datepicker-inline>>`,
template: `<bs-datepicker-inline [bsConfig]="bsConfig"></bs-datepicker-inline>`,
standalone: true
})
class TestComponent {
Expand Down
2 changes: 1 addition & 1 deletion src/datepicker/testing/bs-inline-datepicker.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { getYearsCalendarInitialDate } from '../utils/bs-calendar-utils';

@Component({
selector: 'test-cmp',
template: `<bs-datepicker-inline [bsConfig]="bsConfig"></bs-datepicker-inline>>`,
template: `<bs-datepicker-inline [bsConfig]="bsConfig"></bs-datepicker-inline>`,
standalone: false
})
class TestComponent {
Expand Down

0 comments on commit bbc3478

Please sign in to comment.