Skip to content

Commit bbc3478

Browse files
committed
feat(ssr-docs); merged development
1 parent a67c0a9 commit bbc3478

File tree

5 files changed

+4
-9
lines changed

5 files changed

+4
-9
lines changed

.github/workflows/on-push-or-pull.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ jobs:
151151
152152
- name: smoke e2e on firebase
153153
if: ${{ needs.firebase_preview.outputs.output_url }}
154-
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 }}
154+
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 }}
155155

156156
- name: smoke e2e local
157157
if: ${{ !needs.firebase_preview.outputs.output_url }}

apps/ngx-bootstrap-docs-e2e/playwright.config.ts

+1-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@ export default defineConfig({
55
testMatch: '**/*.spec.ts',
66
fullyParallel: true,
77
workers: 3,
8-
expect: {
9-
timeout: 30000
10-
},
8+
119
reporter: [['html', { outputFolder: 'playwright-report', open: 'never' }]],
1210
use: {
1311
baseURL: process.env['PLAYWRIGHT_TEST_BASE_URL'] || 'http://localhost:4200/ngx-bootstrap/',

apps/ngx-bootstrap-docs-e2e/src/support/accordion.po.ts

-3
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,6 @@ export class AccordionPo extends BasePo {
3838
}
3939

4040
async clickOnAccordionGroup(baseSelector: string, itemIndex: number) {
41-
await this.page
42-
.locator(baseSelector + ' accordion-group button')
43-
.nth(itemIndex).waitFor({state: 'visible'});
4441
await this.page
4542
.locator(baseSelector + ' accordion-group button')
4643
.nth(itemIndex)

src/datepicker/testing/bs-inline-datepicker-minmode-year.spec.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import { getYearsCalendarInitialDate } from '../utils/bs-calendar-utils';
1414

1515
@Component({
1616
selector: 'test-cmp',
17-
template: `<bs-datepicker-inline [bsConfig]="bsConfig"></bs-datepicker-inline>>`,
17+
template: `<bs-datepicker-inline [bsConfig]="bsConfig"></bs-datepicker-inline>`,
1818
standalone: true
1919
})
2020
class TestComponent {

src/datepicker/testing/bs-inline-datepicker.spec.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import { getYearsCalendarInitialDate } from '../utils/bs-calendar-utils';
1313

1414
@Component({
1515
selector: 'test-cmp',
16-
template: `<bs-datepicker-inline [bsConfig]="bsConfig"></bs-datepicker-inline>>`,
16+
template: `<bs-datepicker-inline [bsConfig]="bsConfig"></bs-datepicker-inline>`,
1717
standalone: false
1818
})
1919
class TestComponent {

0 commit comments

Comments
 (0)