Skip to content

Fix asset schema and set default value for type #379

Fix asset schema and set default value for type

Fix asset schema and set default value for type #379

Triggered via pull request March 25, 2024 08:42
Status Success
Total duration 36m 14s
Artifacts 1

functional-tests.yml

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

Annotations

2 errors, 1 warning, and 1 notice
[firefox] › functional/detailed/common.test.ts:79:4 › Tests on evidences item › Tests on evidences item details › user can edit evidences item: frontend/tests/functional/detailed/common.test.ts#L34
1) [firefox] › functional/detailed/common.test.ts:79:4 › Tests on evidences item › Tests on evidences item details › user can edit evidences item Test timeout of 50000ms exceeded while running "beforeEach" hook. 32 | 33 | test.describe(`Tests on ${items[key].displayName.toLowerCase()} item details`, () => { > 34 | test.beforeEach(async ({ logedPage, pages, page }, testInfo) => { | ^ 35 | await pages[key].goto(); 36 | await expect(page).toHaveURL(pages[key].url); 37 | at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/detailed/common.test.ts:34:9
[firefox] › functional/detailed/common.test.ts:79:4 › Tests on evidences item › Tests on evidences item details › user can edit evidences item: frontend/tests/utils/page-content.ts#L51
1) [firefox] › functional/detailed/common.test.ts:79:4 › Tests on evidences item › Tests on evidences item details › user can edit evidences item Error: locator.click: Test timeout of 50000ms exceeded. Call log: - waiting for getByTestId('save-button') - locator resolved to <button type="submit" data-testid="save-button" class="b…>Save</button> - attempting click action - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - performing click action at utils/page-content.ts:51 49 | await this.form.hasTitle(); 50 | await this.form.fill(values); > 51 | await this.form.saveButton.click(); | ^ 52 | await expect(this.form.formTitle).not.toBeVisible(); 53 | if (typeof this.name == 'string') { 54 | await this.isToastVisible( at PageContent.createItem (/home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/utils/page-content.ts:51:30) at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/detailed/common.test.ts:48:5
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
1 flaky [firefox] › functional/detailed/common.test.ts:79:4 › Tests on evidences item › Tests on evidences item details › user can edit evidences item 4 skipped 457 passed (33.6m)

Artifacts

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