Skip to content

Translate/last pages #103

Translate/last pages

Translate/last pages #103

Triggered via pull request February 27, 2024 18:37
Status Failure
Total duration 9m 3s
Artifacts 1

functional-tests.yml

on: pull_request
Matrix: functional-tests
Fit to window
Zoom out
Zoom in

Annotations

9 errors, 1 warning, and 1 notice
[chromium] › functional/detailed/common.test.ts:66:4 › Tests on domains item › Tests on domains item details › Domains item details are showing properly: frontend/tests/utils/page-detail.ts#L18
1) [chromium] › functional/detailed/common.test.ts:66:4 › Tests on domains item › Tests on domains item details › Domains item details are showing properly Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected) Locator: locator('#page-title') Expected string: "0-Test domain-2522" Received string: "0Testdomain2522" Call log: - expect.soft.toHaveText with timeout 10000ms - waiting for locator('#page-title') - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">0Testdomain2522</span> - unexpected value "0Testdomain2522" - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">0Testdomain2522</span> - unexpected value "0Testdomain2522" - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">0Testdomain2522</span> - unexpected value "0Testdomain2522" - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">0Testdomain2522</span> - unexpected value "0Testdomain2522" - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">0Testdomain2522</span> - unexpected value "0Testdomain2522" - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">0Testdomain2522</span> - unexpected value "0Testdomain2522" - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">0Testdomain2522</span> - unexpected value "0Testdomain2522" - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">0Testdomain2522</span> - unexpected value "0Testdomain2522" - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">0Testdomain2522</span> - unexpected value "0Testdomain2522" - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">0Testdomain2522</span> - unexpected value "0Testdomain2522" - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">0Testdomain2522</span> - unexpected value "0Testdomain2522" - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">0Testdomain2522</span> - unexpected value "0Testdomain2522" - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">0Testdomain2522</span> - unexpected value "0Testdomain2522" - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">0Testdomain2522</span> - unexpected value "0Testdomain2522" at utils/page-detail.ts:18 16 | 17 | async hasTitle() { > 18 | await expect.soft(this.pageTitle).toHaveText(this.item); | ^ 19 | } 20 | 21 | setItem(item: string) { at PageDetail.hasTitle (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/page-detail.ts:18:37) at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/detailed/common.test.ts:59:33
[chromium] › functional/detailed/common.test.ts:66:4 › Tests on domains item › Tests on domains item details › Domains item details are showing properly: frontend/tests/utils/page-detail.ts#L18
1) [chromium] › functional/detailed/common.test.ts:66:4 › Tests on domains item › Tests on domains item details › Domains item details are showing properly Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected) Locator: locator('#page-title') Expected string: "1-Test domain-7cfa" Received string: "1Testdomain7cfa" Call log: - expect.soft.toHaveText with timeout 10000ms - waiting for locator('#page-title') - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">1Testdomain7cfa</span> - unexpected value "1Testdomain7cfa" - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">1Testdomain7cfa</span> - unexpected value "1Testdomain7cfa" - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">1Testdomain7cfa</span> - unexpected value "1Testdomain7cfa" - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">1Testdomain7cfa</span> - unexpected value "1Testdomain7cfa" - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">1Testdomain7cfa</span> - unexpected value "1Testdomain7cfa" - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">1Testdomain7cfa</span> - unexpected value "1Testdomain7cfa" - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">1Testdomain7cfa</span> - unexpected value "1Testdomain7cfa" - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">1Testdomain7cfa</span> - unexpected value "1Testdomain7cfa" - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">1Testdomain7cfa</span> - unexpected value "1Testdomain7cfa" - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">1Testdomain7cfa</span> - unexpected value "1Testdomain7cfa" - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">1Testdomain7cfa</span> - unexpected value "1Testdomain7cfa" - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">1Testdomain7cfa</span> - unexpected value "1Testdomain7cfa" - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">1Testdomain7cfa</span> - unexpected value "1Testdomain7cfa" - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">1Testdomain7cfa</span> - unexpected value "1Testdomain7cfa" at utils/page-detail.ts:18 16 | 17 | async hasTitle() { > 18 | await expect.soft(this.pageTitle).toHaveText(this.item); | ^ 19 | } 20 | 21 | setItem(item: string) { at PageDetail.hasTitle (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/page-detail.ts:18:37) at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/detailed/common.test.ts:59:33
[chromium] › functional/detailed/common.test.ts:66:4 › Tests on domains item › Tests on domains item details › Domains item details are showing properly: frontend/tests/utils/page-detail.ts#L18
1) [chromium] › functional/detailed/common.test.ts:66:4 › Tests on domains item › Tests on domains item details › Domains item details are showing properly Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected) Locator: locator('#page-title') Expected string: "2-Test domain-c747" Received string: "2Testdomainc747" Call log: - expect.soft.toHaveText with timeout 10000ms - waiting for locator('#page-title') - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">2Testdomainc747</span> - unexpected value "2Testdomainc747" - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">2Testdomainc747</span> - unexpected value "2Testdomainc747" - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">2Testdomainc747</span> - unexpected value "2Testdomainc747" - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">2Testdomainc747</span> - unexpected value "2Testdomainc747" - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">2Testdomainc747</span> - unexpected value "2Testdomainc747" - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">2Testdomainc747</span> - unexpected value "2Testdomainc747" - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">2Testdomainc747</span> - unexpected value "2Testdomainc747" - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">2Testdomainc747</span> - unexpected value "2Testdomainc747" - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">2Testdomainc747</span> - unexpected value "2Testdomainc747" - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">2Testdomainc747</span> - unexpected value "2Testdomainc747" - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">2Testdomainc747</span> - unexpected value "2Testdomainc747" - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">2Testdomainc747</span> - unexpected value "2Testdomainc747" - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">2Testdomainc747</span> - unexpected value "2Testdomainc747" - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">2Testdomainc747</span> - unexpected value "2Testdomainc747" at utils/page-detail.ts:18 16 | 17 | async hasTitle() { > 18 | await expect.soft(this.pageTitle).toHaveText(this.item); | ^ 19 | } 20 | 21 | setItem(item: string) { at PageDetail.hasTitle (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/page-detail.ts:18:37) at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/detailed/common.test.ts:59:33
[firefox] › functional/detailed/common.test.ts:66:4 › Tests on domains item › Tests on domains item details › Domains item details are showing properly: frontend/tests/utils/page-detail.ts#L18
2) [firefox] › functional/detailed/common.test.ts:66:4 › Tests on domains item › Tests on domains item details › Domains item details are showing properly Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected) Locator: locator('#page-title') Expected string: "5-Test domain-7789" Received string: "5Testdomain7789" Call log: - expect.soft.toHaveText with timeout 10000ms - waiting for locator('#page-title') - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">5Testdomain7789</span> - unexpected value "5Testdomain7789" - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">5Testdomain7789</span> - unexpected value "5Testdomain7789" - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">5Testdomain7789</span> - unexpected value "5Testdomain7789" - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">5Testdomain7789</span> - unexpected value "5Testdomain7789" - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">5Testdomain7789</span> - unexpected value "5Testdomain7789" - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">5Testdomain7789</span> - unexpected value "5Testdomain7789" - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">5Testdomain7789</span> - unexpected value "5Testdomain7789" - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">5Testdomain7789</span> - unexpected value "5Testdomain7789" - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">5Testdomain7789</span> - unexpected value "5Testdomain7789" - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">5Testdomain7789</span> - unexpected value "5Testdomain7789" - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">5Testdomain7789</span> - unexpected value "5Testdomain7789" - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">5Testdomain7789</span> - unexpected value "5Testdomain7789" - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">5Testdomain7789</span> - unexpected value "5Testdomain7789" - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">5Testdomain7789</span> - unexpected value "5Testdomain7789" at utils/page-detail.ts:18 16 | 17 | async hasTitle() { > 18 | await expect.soft(this.pageTitle).toHaveText(this.item); | ^ 19 | } 20 | 21 | setItem(item: string) { at PageDetail.hasTitle (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/page-detail.ts:18:37) at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/detailed/common.test.ts:59:33
[firefox] › functional/detailed/common.test.ts:66:4 › Tests on domains item › Tests on domains item details › Domains item details are showing properly: frontend/tests/utils/page-detail.ts#L18
2) [firefox] › functional/detailed/common.test.ts:66:4 › Tests on domains item › Tests on domains item details › Domains item details are showing properly Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected) Locator: locator('#page-title') Expected string: "6-Test domain-baeb" Received string: "6Testdomainbaeb" Call log: - expect.soft.toHaveText with timeout 10000ms - waiting for locator('#page-title') - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">6Testdomainbaeb</span> - unexpected value "6Testdomainbaeb" - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">6Testdomainbaeb</span> - unexpected value "6Testdomainbaeb" - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">6Testdomainbaeb</span> - unexpected value "6Testdomainbaeb" - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">6Testdomainbaeb</span> - unexpected value "6Testdomainbaeb" - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">6Testdomainbaeb</span> - unexpected value "6Testdomainbaeb" - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">6Testdomainbaeb</span> - unexpected value "6Testdomainbaeb" - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">6Testdomainbaeb</span> - unexpected value "6Testdomainbaeb" - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">6Testdomainbaeb</span> - unexpected value "6Testdomainbaeb" - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">6Testdomainbaeb</span> - unexpected value "6Testdomainbaeb" - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">6Testdomainbaeb</span> - unexpected value "6Testdomainbaeb" - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">6Testdomainbaeb</span> - unexpected value "6Testdomainbaeb" - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">6Testdomainbaeb</span> - unexpected value "6Testdomainbaeb" - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">6Testdomainbaeb</span> - unexpected value "6Testdomainbaeb" - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">6Testdomainbaeb</span> - unexpected value "6Testdomainbaeb" at utils/page-detail.ts:18 16 | 17 | async hasTitle() { > 18 | await expect.soft(this.pageTitle).toHaveText(this.item); | ^ 19 | } 20 | 21 | setItem(item: string) { at PageDetail.hasTitle (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/page-detail.ts:18:37) at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/detailed/common.test.ts:59:33
[firefox] › functional/detailed/common.test.ts:66:4 › Tests on domains item › Tests on domains item details › Domains item details are showing properly: frontend/tests/utils/page-detail.ts#L18
2) [firefox] › functional/detailed/common.test.ts:66:4 › Tests on domains item › Tests on domains item details › Domains item details are showing properly Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected) Locator: locator('#page-title') Expected string: "7-Test domain-eb73" Received string: "7Testdomaineb73" Call log: - expect.soft.toHaveText with timeout 10000ms - waiting for locator('#page-title') - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">7Testdomaineb73</span> - unexpected value "7Testdomaineb73" - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">7Testdomaineb73</span> - unexpected value "7Testdomaineb73" - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">7Testdomaineb73</span> - unexpected value "7Testdomaineb73" - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">7Testdomaineb73</span> - unexpected value "7Testdomaineb73" - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">7Testdomaineb73</span> - unexpected value "7Testdomaineb73" - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">7Testdomaineb73</span> - unexpected value "7Testdomaineb73" - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">7Testdomaineb73</span> - unexpected value "7Testdomaineb73" - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">7Testdomaineb73</span> - unexpected value "7Testdomaineb73" - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">7Testdomaineb73</span> - unexpected value "7Testdomaineb73" - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">7Testdomaineb73</span> - unexpected value "7Testdomaineb73" - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">7Testdomaineb73</span> - unexpected value "7Testdomaineb73" - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">7Testdomaineb73</span> - unexpected value "7Testdomaineb73" - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">7Testdomaineb73</span> - unexpected value "7Testdomaineb73" - locator resolved to <span id="page-title" class="text-2xl font-bold pb-1">7Testdomaineb73</span> - unexpected value "7Testdomaineb73" at utils/page-detail.ts:18 16 | 17 | async hasTitle() { > 18 | await expect.soft(this.pageTitle).toHaveText(this.item); | ^ 19 | } 20 | 21 | setItem(item: string) { at PageDetail.hasTitle (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/page-detail.ts:18:37) at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/detailed/common.test.ts:59:33
[chromium] › functional/user-route.test.ts:6:1 › user usual routine actions are working correctly: frontend/tests/utils/base-page.ts#L29
3) [chromium] › functional/user-route.test.ts:6:1 › user usual routine actions are working correctly Error: Timed out 15000ms waiting for expect(locator).toBeVisible() Locator: getByTestId('toast').filter({ hasText: /Successfully imported library urn:intuitem:risk:library:nist-csf-1.1.+/ }) Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 15000ms - waiting for getByTestId('toast').filter({ hasText: /Successfully imported library urn:intuitem:risk:library:nist-csf-1.1.+/ }) at utils/base-page.ts:29 27 | async isToastVisible(value: string, flags?: string | undefined, options?: {} | undefined) { 28 | const toast = this.page.getByTestId('toast').filter({ hasText: new RegExp(value, flags) }); > 29 | await expect(toast).toBeVisible(options); | ^ 30 | await toast.getByLabel('Dismiss toast').click(); 31 | await expect(toast).toBeHidden(); 32 | return toast; at PageContent.isToastVisible (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/base-page.ts:29:23) at PageContent.importLibrary (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/page-content.ts:82:14) at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/user-route.test.ts:75:3 at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/user-route.test.ts:66:2
[chromium] › functional/user-route.test.ts:6:1 › user usual routine actions are working correctly: frontend/tests/functional/user-route.test.ts#L250
3) [chromium] › functional/user-route.test.ts:6:1 › user usual routine actions are working correctly Test timeout of 150000ms exceeded while running "afterEach" hook. 248 | }); 249 | > 250 | test.afterEach('cleanup', async ({ foldersPage, usersPage, page }) => { | ^ 251 | await foldersPage.goto(); 252 | await page.waitForURL(foldersPage.url); 253 | await foldersPage.deleteItemButton(vars.folderName).click(); at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/user-route.test.ts:250:6
functional-tests (3.11)
Process completed with exit code 1.
functional-tests (3.11)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-python@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
🎭 Playwright Run Summary
2 failed [chromium] › functional/detailed/common.test.ts:66:4 › Tests on domains item › Tests on domains item details › Domains item details are showing properly [firefox] › functional/detailed/common.test.ts:66:4 › Tests on domains item › Tests on domains item details › Domains item details are showing properly 1 flaky [chromium] › functional/user-route.test.ts:6:1 › user usual routine actions are working correctly 48 skipped 13 passed (7.0m)

Artifacts

Produced during runtime
Name Size
functional-tests-report Expired
39.8 MB