This repository has been archived by the owner on Apr 8, 2024. It is now read-only.
feat: playwright test migration #20
Annotations
10 errors and 1 notice
packages/core-datepicker/core-datepicker.spec.ts#L318
1) [chromium] › core-datepicker/core-datepicker.spec.ts:305:7 › core-datepicker › does trigger change event when clicking selected date
Error: expect(received).toBe(expected) // Object.is equality
Expected: true
Received: false
316 | await coreDatepicker.locator('button[tabindex="0"]').click()
317 | page.waitForFunction('window.captureDatepickerChange')
> 318 | expect(datePickerChanged).toBe(true)
| ^
319 | })
320 |
321 | test('has month enabled if one day is disabled', async ({ page }) => {
at /Users/runner/work/core-components/core-components/packages/core-datepicker/core-datepicker.spec.ts:318:31
|
packages/core-datepicker/core-datepicker.spec.ts#L318
1) [chromium] › core-datepicker/core-datepicker.spec.ts:305:7 › core-datepicker › does trigger change event when clicking selected date
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: true
Received: false
316 | await coreDatepicker.locator('button[tabindex="0"]').click()
317 | page.waitForFunction('window.captureDatepickerChange')
> 318 | expect(datePickerChanged).toBe(true)
| ^
319 | })
320 |
321 | test('has month enabled if one day is disabled', async ({ page }) => {
at /Users/runner/work/core-components/core-components/packages/core-datepicker/core-datepicker.spec.ts:318:31
|
packages/core-datepicker/core-datepicker.spec.ts#L1
2) [firefox] › core-datepicker/core-datepicker.spec.ts:77:7 › core-datepicker › resets value when date-attribute is removed
Test timeout of 30000ms exceeded.
|
packages/core-datepicker/core-datepicker.spec.ts#L78
2) [firefox] › core-datepicker/core-datepicker.spec.ts:77:7 › core-datepicker › resets value when date-attribute is removed
Error: page.setContent: Navigation failed because page was closed!
=========================== logs ===========================
setting frame content, waiting until "load"
============================================================
76 |
77 | test('resets value when date-attribute is removed', async ({ page }) => {
> 78 | await page.setContent(`
| ^
79 | <core-datepicker date='now' data-testid="core-datepicker">
80 | <table></table>
81 | </core-datepicker>
at /Users/runner/work/core-components/core-components/packages/core-datepicker/core-datepicker.spec.ts:78:16
|
packages/core-datepicker/core-datepicker.spec.ts#L1
2) [firefox] › core-datepicker/core-datepicker.spec.ts:77:7 › core-datepicker › resets value when date-attribute is removed
Pending operations:
- page.setContent at packages/core-datepicker/core-datepicker.spec.ts:78:16
|
packages/core-datepicker/core-datepicker.spec.ts#L1
2) [firefox] › core-datepicker/core-datepicker.spec.ts:77:7 › core-datepicker › resets value when date-attribute is removed
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded.
|
packages/core-datepicker/core-datepicker.spec.ts#L78
2) [firefox] › core-datepicker/core-datepicker.spec.ts:77:7 › core-datepicker › resets value when date-attribute is removed
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.setContent: Navigation failed because page was closed!
=========================== logs ===========================
setting frame content, waiting until "load"
============================================================
76 |
77 | test('resets value when date-attribute is removed', async ({ page }) => {
> 78 | await page.setContent(`
| ^
79 | <core-datepicker date='now' data-testid="core-datepicker">
80 | <table></table>
81 | </core-datepicker>
at /Users/runner/work/core-components/core-components/packages/core-datepicker/core-datepicker.spec.ts:78:16
|
packages/core-datepicker/core-datepicker.spec.ts#L1
2) [firefox] › core-datepicker/core-datepicker.spec.ts:77:7 › core-datepicker › resets value when date-attribute is removed
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Pending operations:
- page.setContent at packages/core-datepicker/core-datepicker.spec.ts:78:16
|
packages/core-datepicker/core-datepicker.spec.ts#L1
3) [firefox] › core-datepicker/core-datepicker.spec.ts:127:7 › core-datepicker › populates empty select with months
Test timeout of 30000ms exceeded.
|
packages/core-datepicker/core-datepicker.spec.ts#L128
3) [firefox] › core-datepicker/core-datepicker.spec.ts:127:7 › core-datepicker › populates empty select with months
Error: page.setContent: Navigation failed because page was closed!
=========================== logs ===========================
setting frame content, waiting until "load"
============================================================
126 |
127 | test('populates empty select with months', async ({ page }) => {
> 128 | await page.setContent(`
| ^
129 | <core-datepicker data-testid="core-datepicker">
130 | <select></select>
131 | </core-datepicker>
at /Users/runner/work/core-components/core-components/packages/core-datepicker/core-datepicker.spec.ts:128:16
|
36 failed
[chromium] › core-datepicker/core-datepicker.spec.ts:305:7 › core-datepicker › does trigger change event when clicking selected date
[firefox] › core-datepicker/core-datepicker.spec.ts:77:7 › core-datepicker › resets value when date-attribute is removed
[firefox] › core-datepicker/core-datepicker.spec.ts:127:7 › core-datepicker › populates empty select with months
[firefox] › core-datepicker/core-datepicker.spec.ts:169:7 › core-datepicker › populates empty table
[firefox] › core-datepicker/core-datepicker.spec.ts:185:7 › core-datepicker › marks today's date in table
[firefox] › core-datepicker/core-datepicker.spec.ts:196:7 › core-datepicker › changes date on day clicked
[firefox] › core-datepicker/core-datepicker.spec.ts:207:7 › core-datepicker › changes date and focus on keyboard navigation as expected in adjacent table
[firefox] › core-datepicker/core-datepicker.spec.ts:219:7 › core-datepicker › changes month names
[firefox] › core-datepicker/core-datepicker.spec.ts:232:7 › core-datepicker › changes day names
[firefox] › core-datepicker/core-datepicker.spec.ts:244:7 › core-datepicker › disables elements from function
[firefox] › core-datepicker/core-datepicker.spec.ts:258:7 › core-datepicker › triggers change event
[firefox] › core-datepicker/core-datepicker.spec.ts:273:7 › core-datepicker › triggers click day event
[firefox] › core-datepicker/core-datepicker.spec.ts:289:7 › core-datepicker › does not trigger change event when clicking selected date
[firefox] › core-datepicker/core-datepicker.spec.ts:305:7 › core-datepicker › does trigger change event when clicking selected date
[firefox] › core-datepicker/core-datepicker.spec.ts:321:7 › core-datepicker › has month enabled if one day is disabled
[firefox] › core-datepicker/core-datepicker.spec.ts:335:7 › core-datepicker › has month disabled if all days are disabled
[firefox] › core-datepicker/core-datepicker.spec.ts:347:7 › core-datepicker › selects first available date in month
[firefox] › core-suggest/core-suggest.spec.ts:60:7 › core-suggest › does not open suggestions on clicking a disabled input
[firefox] › core-suggest/core-suggest.spec.ts:248:7 › core-suggest › triggers ajax error event on bad url
[webkit] › core-datepicker/core-datepicker.spec.ts:77:7 › core-datepicker › resets value when date-attribute is removed
[webkit] › core-datepicker/core-datepicker.spec.ts:127:7 › core-datepicker › populates empty select with months
[webkit] › core-datepicker/core-datepicker.spec.ts:169:7 › core-datepicker › populates empty table
[webkit] › core-datepicker/core-datepicker.spec.ts:185:7 › core-datepicker › marks today's date in table
[webkit] › core-datepicker/core-datepicker.spec.ts:196:7 › core-datepicker › changes date on day clicked
[webkit] › core-datepicker/core-datepicker.spec.ts:207:7 › core-datepicker › changes date and focus on keyboard navigation as expected in adjacent table
[webkit] › core-datepicker/core-datepicker.spec.ts:219:7 › core-datepicker › changes month names
[webkit] › core-datepicker/core-datepicker.spec.ts:232:7 › core-datepicker › changes day names ─
[webkit] › core-datepicker/core-datepicker.spec.ts:244:7 › core-datepicker › disables elements from function
[webkit] › core-datepicker/core-datepicker.spec.ts:258:7 › core-datepicker › triggers change event
[webkit] › core-datepicker/core-datepicker.spec.ts:273:7 › core-datepicker › triggers click day event
[webkit] › core-datepicker/core-datepicker.spec.ts:289:7 › core-datepicker › does not trigger change event when clicking selected date
[webkit] › core-datepicker/core-datepicker.spec.ts:305:7 › core-datepicker › does trigger change event when clicking selected date
[webkit] › core-datepicker/core-datepicker.spec.ts:321:7 › core-datepicker › has month enabled if one day is disabled
[webkit] › core-datepicker/core-datepicker.spec.ts:335:7 › core-datepicker › has month disabled if all days are disabled
[webkit] › cor
|
The logs for this run have expired and are no longer available.
Loading