Skip to content

chore(main): release web-components 2.0.1 #482

chore(main): release web-components 2.0.1

chore(main): release web-components 2.0.1 #482

Triggered via pull request February 28, 2025 05:14
Status Success
Total duration 12m 0s
Artifacts 3

tests.yml

on: pull_request
Matrix: Run-Tests
Fit to window
Zoom out
Zoom in

Annotations

30 errors, 5 warnings, and 3 notices
[chromium] › src/components/data-source/data-source.spec.ts:106:3 › data source › should use a custom button for local file inputs: src/components/data-source/data-source.spec.ts#L98
1) [chromium] › src/components/data-source/data-source.spec.ts:106:3 › data source › should use a custom button for local file inputs Error: expect(locator).toHaveText(expected) Locator: locator('.file-picker').first() Expected string: "Browse files" Received string: "" Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('.file-picker').first() 96 | const expectedLocalFileInputText = "Browse files"; 97 | await fixture.setLocalAttribute(true); > 98 | expect(fixture.filePicker()).toHaveText(expectedLocalFileInputText); | ^ 99 | }); 100 | 101 | test("should handle having no source correctly with remote files", async ({ fixture }) => { at /home/runner/work/web-components/web-components/src/components/data-source/data-source.spec.ts:98:34
[chromium] › src/components/data-source/data-source.spec.ts:106:3 › data source › should use a custom button for local file inputs: src/components/data-source/data-source.spec.ts#L1
1) [chromium] › src/components/data-source/data-source.spec.ts:106:3 › data source › should use a custom button for local file inputs Error: browser._newContextForReuse: Test ended. Call log: - navigating to "about:blank", waiting until "load"
[chromium] › src/components/data-source/data-source.spec.ts:134:3 › data source › should handle changing from remote to local files: src/components/data-source/data-source.spec.ts#L103
2) [chromium] › src/components/data-source/data-source.spec.ts:134:3 › data source › should handle changing from remote to local files Error: expect(locator).not.toBeAttached() Locator: locator('.file-picker').first() Expected: not attached Received: attached Call log: - expect.not.toBeAttached with timeout 5000ms - waiting for locator('.file-picker').first() 101 | test("should handle having no source correctly with remote files", async ({ fixture }) => { 102 | await fixture.setLocalAttribute(false); > 103 | expect(fixture.filePicker()).not.toBeAttached(); | ^ 104 | }); 105 | 106 | test("should use a custom button for local file inputs", async ({ fixture }) => { at /home/runner/work/web-components/web-components/src/components/data-source/data-source.spec.ts:103:38
[chromium] › src/components/data-source/data-source.spec.ts:134:3 › data source › should handle changing from remote to local files: src/components/data-source/data-source.spec.ts#L1
2) [chromium] › src/components/data-source/data-source.spec.ts:134:3 › data source › should handle changing from remote to local files Error: browser._newContextForReuse: Test ended. Call log: - navigating to "about:blank", waiting until "load"
[chromium] › src/components/decision/classification/classification.spec.ts:23:3 › Classification Component › should derive a false shortcut if only a true shortcut is provided: src/components/data-source/data-source.spec.ts#L139
3) [chromium] › src/components/decision/classification/classification.spec.ts:23:3 › Classification Component › should derive a false shortcut if only a true shortcut is provided Error: expect(locator).toBeAttached() Locator: locator('.file-picker').first() Expected: attached Received: <element(s) not found> Call log: - expect.toBeAttached with timeout 5000ms - waiting for locator('.file-picker').first() at components/data-source/data-source.spec.ts:139 137 | 138 | await fixture.setLocalAttribute(true); > 139 | expect(fixture.filePicker()).toBeAttached(); | ^ 140 | }); 141 | 142 | test.skip("should invalidate local file source when switching to a remote file", async ({ fixture }) => { at /home/runner/work/web-components/web-components/src/components/data-source/data-source.spec.ts:139:34
[chromium] › src/components/decision/classification/classification.spec.ts:23:3 › Classification Component › should derive a false shortcut if only a true shortcut is provided: src/components/decision/classification/classification.spec.ts#L1
3) [chromium] › src/components/decision/classification/classification.spec.ts:23:3 › Classification Component › should derive a false shortcut if only a true shortcut is provided Error: browser._newContextForReuse: Test ended. Call log: - navigating to "about:blank", waiting until "load"
[firefox] › src/components/data-source/data-source.spec.ts:106:3 › data source › should use a custom button for local file inputs: src/components/data-source/data-source.spec.ts#L98
4) [firefox] › src/components/data-source/data-source.spec.ts:106:3 › data source › should use a custom button for local file inputs Error: expect(locator).toHaveText(expected) Locator: locator('.file-picker').first() Expected string: "Browse files" Received string: "" Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('.file-picker').first() 96 | const expectedLocalFileInputText = "Browse files"; 97 | await fixture.setLocalAttribute(true); > 98 | expect(fixture.filePicker()).toHaveText(expectedLocalFileInputText); | ^ 99 | }); 100 | 101 | test("should handle having no source correctly with remote files", async ({ fixture }) => { at /home/runner/work/web-components/web-components/src/components/data-source/data-source.spec.ts:98:34
[firefox] › src/components/data-source/data-source.spec.ts:106:3 › data source › should use a custom button for local file inputs: src/components/data-source/data-source.spec.ts#L1
4) [firefox] › src/components/data-source/data-source.spec.ts:106:3 › data source › should use a custom button for local file inputs Error: browser._newContextForReuse: Test ended. Call log: - navigating to "about:blank", waiting until "load"
[firefox] › src/components/data-source/data-source.spec.ts:134:3 › data source › should handle changing from remote to local files: src/components/data-source/data-source.spec.ts#L103
5) [firefox] › src/components/data-source/data-source.spec.ts:134:3 › data source › should handle changing from remote to local files Error: expect(locator).not.toBeAttached() Locator: locator('.file-picker').first() Expected: not attached Received: attached Call log: - expect.not.toBeAttached with timeout 5000ms - waiting for locator('.file-picker').first() 101 | test("should handle having no source correctly with remote files", async ({ fixture }) => { 102 | await fixture.setLocalAttribute(false); > 103 | expect(fixture.filePicker()).not.toBeAttached(); | ^ 104 | }); 105 | 106 | test("should use a custom button for local file inputs", async ({ fixture }) => { at /home/runner/work/web-components/web-components/src/components/data-source/data-source.spec.ts:103:38
[firefox] › src/components/data-source/data-source.spec.ts:134:3 › data source › should handle changing from remote to local files: src/components/data-source/data-source.spec.ts#L1
5) [firefox] › src/components/data-source/data-source.spec.ts:134:3 › data source › should handle changing from remote to local files Error: browser._newContextForReuse: Test ended. Call log: - navigating to "about:blank", waiting until "load"
[chromium] › src\components\data-source\data-source.spec.ts:106:3 › data source › should use a custom button for local file inputs: src\components\data-source\data-source.spec.ts#L98
1) [chromium] › src\components\data-source\data-source.spec.ts:106:3 › data source › should use a custom button for local file inputs Error: expect(locator).toHaveText(expected) Locator: locator('.file-picker').first() Expected string: "Browse files" Received string: "" Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('.file-picker').first() 96 | const expectedLocalFileInputText = "Browse files"; 97 | await fixture.setLocalAttribute(true); > 98 | expect(fixture.filePicker()).toHaveText(expectedLocalFileInputText); | ^ 99 | }); 100 | 101 | test("should handle having no source correctly with remote files", async ({ fixture }) => { at D:\a\web-components\web-components\src\components\data-source\data-source.spec.ts:98:34
[chromium] › src\components\data-source\data-source.spec.ts:106:3 › data source › should use a custom button for local file inputs: src\components\data-source\data-source.spec.ts#L1
1) [chromium] › src\components\data-source\data-source.spec.ts:106:3 › data source › should use a custom button for local file inputs Error: browser._newContextForReuse: Test ended. Call log: - navigating to "about:blank", waiting until "load"
[chromium] › src\components\data-source\data-source.spec.ts:134:3 › data source › should handle changing from remote to local files: src\components\data-source\data-source.spec.ts#L103
2) [chromium] › src\components\data-source\data-source.spec.ts:134:3 › data source › should handle changing from remote to local files Error: expect(locator).not.toBeAttached() Locator: locator('.file-picker').first() Expected: not attached Received: attached Call log: - expect.not.toBeAttached with timeout 5000ms - waiting for locator('.file-picker').first() 101 | test("should handle having no source correctly with remote files", async ({ fixture }) => { 102 | await fixture.setLocalAttribute(false); > 103 | expect(fixture.filePicker()).not.toBeAttached(); | ^ 104 | }); 105 | 106 | test("should use a custom button for local file inputs", async ({ fixture }) => { at D:\a\web-components\web-components\src\components\data-source\data-source.spec.ts:103:38
[chromium] › src\components\data-source\data-source.spec.ts:134:3 › data source › should handle changing from remote to local files: src\components\data-source\data-source.spec.ts#L1
2) [chromium] › src\components\data-source\data-source.spec.ts:134:3 › data source › should handle changing from remote to local files Error: browser._newContextForReuse: Test ended. Call log: - navigating to "about:blank", waiting until "load"
[chromium] › src\components\decision\classification\classification.spec.ts:10:3 › Classification Component › should display the correct shortcuts if both true and false shortcuts are provided: src\components\data-source\data-source.spec.ts#L139
3) [chromium] › src\components\decision\classification\classification.spec.ts:10:3 › Classification Component › should display the correct shortcuts if both true and false shortcuts are provided Error: expect(locator).toBeAttached() Locator: locator('.file-picker').first() Expected: attached Received: <element(s) not found> Call log: - expect.toBeAttached with timeout 5000ms - waiting for locator('.file-picker').first() at components\data-source\data-source.spec.ts:139 137 | 138 | await fixture.setLocalAttribute(true); > 139 | expect(fixture.filePicker()).toBeAttached(); | ^ 140 | }); 141 | 142 | test.skip("should invalidate local file source when switching to a remote file", async ({ fixture }) => { at D:\a\web-components\web-components\src\components\data-source\data-source.spec.ts:139:34
[chromium] › src\components\decision\classification\classification.spec.ts:10:3 › Classification Component › should display the correct shortcuts if both true and false shortcuts are provided: src\components\decision\classification\classification.spec.ts#L1
3) [chromium] › src\components\decision\classification\classification.spec.ts:10:3 › Classification Component › should display the correct shortcuts if both true and false shortcuts are provided Error: browser._newContextForReuse: Test ended. Call log: - navigating to "about:blank", waiting until "load"
[firefox] › src\components\data-source\data-source.spec.ts:106:3 › data source › should use a custom button for local file inputs: src\components\data-source\data-source.spec.ts#L98
4) [firefox] › src\components\data-source\data-source.spec.ts:106:3 › data source › should use a custom button for local file inputs Error: expect(locator).toHaveText(expected) Locator: locator('.file-picker').first() Expected string: "Browse files" Received string: "" Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('.file-picker').first() 96 | const expectedLocalFileInputText = "Browse files"; 97 | await fixture.setLocalAttribute(true); > 98 | expect(fixture.filePicker()).toHaveText(expectedLocalFileInputText); | ^ 99 | }); 100 | 101 | test("should handle having no source correctly with remote files", async ({ fixture }) => { at D:\a\web-components\web-components\src\components\data-source\data-source.spec.ts:98:34
[firefox] › src\components\data-source\data-source.spec.ts:106:3 › data source › should use a custom button for local file inputs: src\components\data-source\data-source.spec.ts#L1
4) [firefox] › src\components\data-source\data-source.spec.ts:106:3 › data source › should use a custom button for local file inputs Error: browser._newContextForReuse: Test ended. Call log: - navigating to "about:blank", waiting until "load"
[firefox] › src\components\data-source\data-source.spec.ts:134:3 › data source › should handle changing from remote to local files: src\components\data-source\data-source.spec.ts#L103
5) [firefox] › src\components\data-source\data-source.spec.ts:134:3 › data source › should handle changing from remote to local files Error: expect(locator).not.toBeAttached() Locator: locator('.file-picker').first() Expected: not attached Received: attached Call log: - expect.not.toBeAttached with timeout 5000ms - waiting for locator('.file-picker').first() 101 | test("should handle having no source correctly with remote files", async ({ fixture }) => { 102 | await fixture.setLocalAttribute(false); > 103 | expect(fixture.filePicker()).not.toBeAttached(); | ^ 104 | }); 105 | 106 | test("should use a custom button for local file inputs", async ({ fixture }) => { at D:\a\web-components\web-components\src\components\data-source\data-source.spec.ts:103:38
[firefox] › src\components\data-source\data-source.spec.ts:134:3 › data source › should handle changing from remote to local files: src\components\data-source\data-source.spec.ts#L1
5) [firefox] › src\components\data-source\data-source.spec.ts:134:3 › data source › should handle changing from remote to local files Error: browser._newContextForReuse: Test ended. Call log: - navigating to "about:blank", waiting until "load"
[chromium] › src/components/data-source/data-source.spec.ts:101:3 › data source › should handle having no source correctly with remote files: src/components/data-source/data-source.spec.ts#L98
1) [chromium] › src/components/data-source/data-source.spec.ts:101:3 › data source › should handle having no source correctly with remote files Error: expect(locator).toHaveText(expected) Locator: locator('.file-picker').first() Expected string: "Browse files" Received string: "" Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('.file-picker').first() 96 | const expectedLocalFileInputText = "Browse files"; 97 | await fixture.setLocalAttribute(true); > 98 | expect(fixture.filePicker()).toHaveText(expectedLocalFileInputText); | ^ 99 | }); 100 | 101 | test("should handle having no source correctly with remote files", async ({ fixture }) => { at /Users/runner/work/web-components/web-components/src/components/data-source/data-source.spec.ts:98:34
[chromium] › src/components/data-source/data-source.spec.ts:101:3 › data source › should handle having no source correctly with remote files: src/components/data-source/data-source.spec.ts#L1
1) [chromium] › src/components/data-source/data-source.spec.ts:101:3 › data source › should handle having no source correctly with remote files Error: browser._newContextForReuse: Test ended. Call log: - navigating to "about:blank", waiting until "load"
[chromium] › src/components/decision/classification/classification.spec.ts:10:3 › Classification Component › should display the correct shortcuts if both true and false shortcuts are provided: src/components/data-source/data-source.spec.ts#L139
2) [chromium] › src/components/decision/classification/classification.spec.ts:10:3 › Classification Component › should display the correct shortcuts if both true and false shortcuts are provided Error: expect(locator).toBeAttached() Locator: locator('.file-picker').first() Expected: attached Received: <element(s) not found> Call log: - expect.toBeAttached with timeout 5000ms - waiting for locator('.file-picker').first() at components/data-source/data-source.spec.ts:139 137 | 138 | await fixture.setLocalAttribute(true); > 139 | expect(fixture.filePicker()).toBeAttached(); | ^ 140 | }); 141 | 142 | test.skip("should invalidate local file source when switching to a remote file", async ({ fixture }) => { at /Users/runner/work/web-components/web-components/src/components/data-source/data-source.spec.ts:139:34
[chromium] › src/components/decision/classification/classification.spec.ts:10:3 › Classification Component › should display the correct shortcuts if both true and false shortcuts are provided: src/components/decision/classification/classification.spec.ts#L1
2) [chromium] › src/components/decision/classification/classification.spec.ts:10:3 › Classification Component › should display the correct shortcuts if both true and false shortcuts are provided Error: browser._newContextForReuse: Test ended. Call log: - navigating to "about:blank", waiting until "load"
[firefox] › src/components/data-source/data-source.spec.ts:101:3 › data source › should handle having no source correctly with remote files: src/components/data-source/data-source.spec.ts#L98
3) [firefox] › src/components/data-source/data-source.spec.ts:101:3 › data source › should handle having no source correctly with remote files Error: expect(locator).toHaveText(expected) Locator: locator('.file-picker').first() Expected string: "Browse files" Received: <element(s) not found> Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('.file-picker').first() 96 | const expectedLocalFileInputText = "Browse files"; 97 | await fixture.setLocalAttribute(true); > 98 | expect(fixture.filePicker()).toHaveText(expectedLocalFileInputText); | ^ 99 | }); 100 | 101 | test("should handle having no source correctly with remote files", async ({ fixture }) => { at /Users/runner/work/web-components/web-components/src/components/data-source/data-source.spec.ts:98:34
[firefox] › src/components/data-source/data-source.spec.ts:101:3 › data source › should handle having no source correctly with remote files: src/components/data-source/data-source.spec.ts#L1
3) [firefox] › src/components/data-source/data-source.spec.ts:101:3 › data source › should handle having no source correctly with remote files Error: browser._newContextForReuse: Test ended. Call log: - navigating to "about:blank", waiting until "load"
[firefox] › src/components/data-source/data-source.spec.ts:134:3 › data source › should handle changing from remote to local files: src/components/data-source/data-source.spec.ts#L108
4) [firefox] › src/components/data-source/data-source.spec.ts:134:3 › data source › should handle changing from remote to local files Error: expect(locator).not.toBeVisible() Locator: locator('#browser-file-input').first() Expected: not visible Received: visible Call log: - expect.not.toBeVisible with timeout 5000ms - waiting for locator('#browser-file-input').first() 106 | test("should use a custom button for local file inputs", async ({ fixture }) => { 107 | await fixture.setLocalAttribute(true); > 108 | expect(fixture.browserFileInput()).not.toBeVisible(); | ^ 109 | }); 110 | 111 | // TODO: fix in https://github.com/ecoacoustics/web-components/issues/86 at /Users/runner/work/web-components/web-components/src/components/data-source/data-source.spec.ts:108:44
[firefox] › src/components/data-source/data-source.spec.ts:134:3 › data source › should handle changing from remote to local files: src/components/data-source/data-source.spec.ts#L1
4) [firefox] › src/components/data-source/data-source.spec.ts:134:3 › data source › should handle changing from remote to local files Error: browser._newContextForReuse: Test ended. Call log: - navigating to "about:blank", waiting until "load"
[firefox] › src/components/decision/classification/classification.spec.ts:10:3 › Classification Component › should display the correct shortcuts if both true and false shortcuts are provided: src/components/data-source/data-source.spec.ts#L139
5) [firefox] › src/components/decision/classification/classification.spec.ts:10:3 › Classification Component › should display the correct shortcuts if both true and false shortcuts are provided Error: expect(locator).toBeAttached() Locator: locator('.file-picker').first() Expected: attached Received: <element(s) not found> Call log: - expect.toBeAttached with timeout 5000ms - waiting for locator('.file-picker').first() at components/data-source/data-source.spec.ts:139 137 | 138 | await fixture.setLocalAttribute(true); > 139 | expect(fixture.filePicker()).toBeAttached(); | ^ 140 | }); 141 | 142 | test.skip("should invalidate local file source when switching to a remote file", async ({ fixture }) => { at /Users/runner/work/web-components/web-components/src/components/data-source/data-source.spec.ts:139:34
[firefox] › src/components/decision/classification/classification.spec.ts:10:3 › Classification Component › should display the correct shortcuts if both true and false shortcuts are provided: src/components/decision/classification/classification.spec.ts#L1
5) [firefox] › src/components/decision/classification/classification.spec.ts:10:3 › Classification Component › should display the correct shortcuts if both true and false shortcuts are provided Error: browser._newContextForReuse: Test ended. Call log: - navigating to "about:blank", waiting until "load"
Slow Test: [chromium] › src/components/spectrogram/spectrogram.spec.ts#L1
[chromium] › src/components/spectrogram/spectrogram.spec.ts took 32.1s
Slow Test: [firefox] › src/components/spectrogram/spectrogram.spec.ts#L1
[firefox] › src/components/spectrogram/spectrogram.spec.ts took 31.5s
Slow Test: [webkit] › src/components/spectrogram/spectrogram.spec.ts#L1
[webkit] › src/components/spectrogram/spectrogram.spec.ts took 31.4s
Slow Test: [webkit] › src/tests/indicator-spectrogram/indicator-spectrogram-media-controls.e2e.spec.ts#L1
[webkit] › src/tests/indicator-spectrogram/indicator-spectrogram-media-controls.e2e.spec.ts took 27.7s
Slow Test: [chromium] › src/tests/indicator-spectrogram/indicator-spectrogram-media-controls.e2e.spec.ts#L1
[chromium] › src/tests/indicator-spectrogram/indicator-spectrogram-media-controls.e2e.spec.ts took 27.7s
🎭 Playwright Run Summary
9 flaky [chromium] › src/components/data-source/data-source.spec.ts:106:3 › data source › should use a custom button for local file inputs [chromium] › src/components/data-source/data-source.spec.ts:134:3 › data source › should handle changing from remote to local files [chromium] › src/components/decision/classification/classification.spec.ts:23:3 › Classification Component › should derive a false shortcut if only a true shortcut is provided [firefox] › src/components/data-source/data-source.spec.ts:106:3 › data source › should use a custom button for local file inputs [firefox] › src/components/data-source/data-source.spec.ts:134:3 › data source › should handle changing from remote to local files [firefox] › src/components/decision/classification/classification.spec.ts:23:3 › Classification Component › should derive a false shortcut if only a true shortcut is provided [webkit] › src/components/data-source/data-source.spec.ts:106:3 › data source › should use a custom button for local file inputs [webkit] › src/components/data-source/data-source.spec.ts:134:3 › data source › should handle changing from remote to local files [webkit] › src/components/decision/classification/classification.spec.ts:23:3 › Classification Component › should derive a false shortcut if only a true shortcut is provided 249 skipped 423 did not run 585 passed (5.7m)
🎭 Playwright Run Summary
9 flaky [chromium] › src\components\data-source\data-source.spec.ts:106:3 › data source › should use a custom button for local file inputs [chromium] › src\components\data-source\data-source.spec.ts:134:3 › data source › should handle changing from remote to local files [chromium] › src\components\decision\classification\classification.spec.ts:10:3 › Classification Component › should display the correct shortcuts if both true and false shortcuts are provided [firefox] › src\components\data-source\data-source.spec.ts:106:3 › data source › should use a custom button for local file inputs [firefox] › src\components\data-source\data-source.spec.ts:134:3 › data source › should handle changing from remote to local files [firefox] › src\components\decision\classification\classification.spec.ts:23:3 › Classification Component › should derive a false shortcut if only a true shortcut is provided [webkit] › src\components\data-source\data-source.spec.ts:106:3 › data source › should use a custom button for local file inputs [webkit] › src\components\data-source\data-source.spec.ts:134:3 › data source › should handle changing from remote to local files [webkit] › src\components\decision\classification\classification.spec.ts:32:3 › Classification Component › should derive a true shortcut if only a false shortcut is provided 249 skipped 423 did not run 585 passed (6.3m)
🎭 Playwright Run Summary
8 flaky [chromium] › src/components/data-source/data-source.spec.ts:101:3 › data source › should handle having no source correctly with remote files [chromium] › src/components/decision/classification/classification.spec.ts:10:3 › Classification Component › should display the correct shortcuts if both true and false shortcuts are provided [firefox] › src/components/data-source/data-source.spec.ts:101:3 › data source › should handle having no source correctly with remote files [firefox] › src/components/data-source/data-source.spec.ts:134:3 › data source › should handle changing from remote to local files [firefox] › src/components/decision/classification/classification.spec.ts:10:3 › Classification Component › should display the correct shortcuts if both true and false shortcuts are provided [webkit] › src/components/data-source/data-source.spec.ts:101:3 › data source › should handle having no source correctly with remote files [webkit] › src/components/data-source/data-source.spec.ts:134:3 › data source › should handle changing from remote to local files [webkit] › src/components/decision/classification/classification.spec.ts:10:3 › Classification Component › should display the correct shortcuts if both true and false shortcuts are provided 249 skipped 426 did not run 583 passed (11.2m)

Artifacts

Produced during runtime
Name Size
test-report-macos-latest Expired
17.7 MB
test-report-ubuntu-latest Expired
17.6 MB
test-report-windows-latest Expired
17.2 MB