Skip to content

chore(main): release web-components 1.4.1 #440

chore(main): release web-components 1.4.1

chore(main): release web-components 1.4.1 #440

Triggered via pull request January 21, 2025 06:26
Status Success
Total duration 11m 53s
Artifacts 3

tests.yml

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

Annotations

30 errors, 6 warnings, and 3 notices
[chromium] › 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] › 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] › 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] › components/data-source/data-source.spec.ts:106:3 › data source › should use a custom button for local file inputs Error: Test ended. Call log: - navigating to "about:blank", waiting until "load"
[chromium] › 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] › 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] › 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] › components/data-source/data-source.spec.ts:134:3 › data source › should handle changing from remote to local files Error: Test ended. Call log: - navigating to "about:blank", waiting until "load"
[chromium] › 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] › 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] › 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] › components/decision/classification/classification.spec.ts:23:3 › Classification Component › should derive a false shortcut if only a true shortcut is provided Error: Test ended. Call log: - navigating to "about:blank", waiting until "load"
[firefox] › 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] › 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] › 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] › components/data-source/data-source.spec.ts:106:3 › data source › should use a custom button for local file inputs Error: Test ended. Call log: - navigating to "about:blank", waiting until "load"
[firefox] › 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] › 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] › 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] › components/data-source/data-source.spec.ts:134:3 › data source › should handle changing from remote to local files Error: Test ended. Call log: - navigating to "about:blank", waiting until "load"
[chromium] › 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] › 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] › 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] › components\data-source\data-source.spec.ts:106:3 › data source › should use a custom button for local file inputs Error: Test ended. Call log: - navigating to "about:blank", waiting until "load"
[chromium] › 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] › 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] › 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] › components\data-source\data-source.spec.ts:134:3 › data source › should handle changing from remote to local files Error: Test ended. Call log: - navigating to "about:blank", waiting until "load"
[chromium] › 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] › 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] › 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] › components\decision\classification\classification.spec.ts:10:3 › Classification Component › should display the correct shortcuts if both true and false shortcuts are provided Error: Test ended. Call log: - navigating to "about:blank", waiting until "load"
[firefox] › 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] › 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] › 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] › components\data-source\data-source.spec.ts:106:3 › data source › should use a custom button for local file inputs Error: Test ended. Call log: - navigating to "about:blank", waiting until "load"
[firefox] › 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] › 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] › 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] › components\data-source\data-source.spec.ts:134:3 › data source › should handle changing from remote to local files Error: Test ended. Call log: - navigating to "about:blank", waiting until "load"
[chromium] › 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] › 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
[chromium] › 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] › components/data-source/data-source.spec.ts:101:3 › data source › should handle having no source correctly with remote files Error: Test ended. Call log: - navigating to "about:blank", waiting until "load"
[chromium] › 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
2) [chromium] › 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
[chromium] › 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] › components/data-source/data-source.spec.ts:134:3 › data source › should handle changing from remote to local files Error: Test ended. Call log: - navigating to "about:blank", waiting until "load"
[chromium] › 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] › 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] › 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] › components/decision/classification/classification.spec.ts:10:3 › Classification Component › should display the correct shortcuts if both true and false shortcuts are provided Error: Test ended. Call log: - navigating to "about:blank", waiting until "load"
[firefox] › 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
4) [firefox] › 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
[firefox] › 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
4) [firefox] › components/data-source/data-source.spec.ts:101:3 › data source › should handle having no source correctly with remote files Error: Test ended. Call log: - navigating to "about:blank", waiting until "load"
[firefox] › 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
5) [firefox] › 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] › 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] › components/data-source/data-source.spec.ts:134:3 › data source › should handle changing from remote to local files Error: Test ended. Call log: - navigating to "about:blank", waiting until "load"
Run-Tests (ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: [webkit] › components/spectrogram/spectrogram.spec.ts#L1
[webkit] › components/spectrogram/spectrogram.spec.ts took 31.5s
Slow Test: [firefox] › components/spectrogram/spectrogram.spec.ts#L1
[firefox] › components/spectrogram/spectrogram.spec.ts took 31.1s
Slow Test: [chromium] › components/spectrogram/spectrogram.spec.ts#L1
[chromium] › components/spectrogram/spectrogram.spec.ts took 31.0s
Slow Test: [firefox] › tests/indicator-spectrogram/indicator-spectrogram-media-controls.e2e.spec.ts#L1
[firefox] › tests/indicator-spectrogram/indicator-spectrogram-media-controls.e2e.spec.ts took 27.9s
Slow Test: [webkit] › tests/indicator-spectrogram/indicator-spectrogram-media-controls.e2e.spec.ts#L1
[webkit] › tests/indicator-spectrogram/indicator-spectrogram-media-controls.e2e.spec.ts took 27.7s
🎭 Playwright Run Summary
9 flaky [chromium] › components/data-source/data-source.spec.ts:106:3 › data source › should use a custom button for local file inputs [chromium] › components/data-source/data-source.spec.ts:134:3 › data source › should handle changing from remote to local files [chromium] › components/decision/classification/classification.spec.ts:23:3 › Classification Component › should derive a false shortcut if only a true shortcut is provided [firefox] › components/data-source/data-source.spec.ts:106:3 › data source › should use a custom button for local file inputs [firefox] › components/data-source/data-source.spec.ts:134:3 › data source › should handle changing from remote to local files [firefox] › components/decision/classification/classification.spec.ts:32:3 › Classification Component › should derive a true shortcut if only a false shortcut is provided [webkit] › components/data-source/data-source.spec.ts:106:3 › data source › should use a custom button for local file inputs [webkit] › components/data-source/data-source.spec.ts:134:3 › data source › should handle changing from remote to local files [webkit] › components/decision/classification/classification.spec.ts:32:3 › Classification Component › should derive a true shortcut if only a false shortcut is provided 252 skipped 405 did not run 555 passed (6.1m)
🎭 Playwright Run Summary
9 flaky [chromium] › components\data-source\data-source.spec.ts:106:3 › data source › should use a custom button for local file inputs [chromium] › components\data-source\data-source.spec.ts:134:3 › data source › should handle changing from remote to local files [chromium] › components\decision\classification\classification.spec.ts:10:3 › Classification Component › should display the correct shortcuts if both true and false shortcuts are provided [firefox] › components\data-source\data-source.spec.ts:106:3 › data source › should use a custom button for local file inputs [firefox] › components\data-source\data-source.spec.ts:134:3 › data source › should handle changing from remote to local files [firefox] › components\decision\classification\classification.spec.ts:32:3 › Classification Component › should derive a true shortcut if only a false shortcut is provided [webkit] › components\data-source\data-source.spec.ts:106:3 › data source › should use a custom button for local file inputs [webkit] › components\data-source\data-source.spec.ts:134:3 › data source › should handle changing from remote to local files [webkit] › components\decision\classification\classification.spec.ts:32:3 › Classification Component › should derive a true shortcut if only a false shortcut is provided 252 skipped 405 did not run 555 passed (7.1m)
🎭 Playwright Run Summary
9 flaky [chromium] › components/data-source/data-source.spec.ts:101:3 › data source › should handle having no source correctly with remote files [chromium] › components/data-source/data-source.spec.ts:134:3 › data source › should handle changing from remote to local files [chromium] › components/decision/classification/classification.spec.ts:10:3 › Classification Component › should display the correct shortcuts if both true and false shortcuts are provided [firefox] › components/data-source/data-source.spec.ts:101:3 › data source › should handle having no source correctly with remote files [firefox] › components/data-source/data-source.spec.ts:134:3 › data source › should handle changing from remote to local files [firefox] › components/decision/classification/classification.spec.ts:10:3 › Classification Component › should display the correct shortcuts if both true and false shortcuts are provided [webkit] › components/data-source/data-source.spec.ts:101:3 › data source › should handle having no source correctly with remote files [webkit] › components/data-source/data-source.spec.ts:134:3 › data source › should handle changing from remote to local files [webkit] › components/decision/classification/classification.spec.ts:10:3 › Classification Component › should display the correct shortcuts if both true and false shortcuts are provided 252 skipped 408 did not run 552 passed (11.1m)

Artifacts

Produced during runtime
Name Size
test-report-macos-latest Expired
21.6 MB
test-report-ubuntu-latest Expired
17.4 MB
test-report-windows-latest Expired
19.5 MB