Set up open redirect fuzzing #2324
functional-tests.yml
on: pull_request
Matrix: enterprise-functional-tests
Matrix: functional-tests
Annotations
14 errors, 11 warnings, and 2 notices
[chromium] › 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#L1
1) [chromium] › 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.
|
[chromium] › 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#L101
1) [chromium] › functional/detailed/common.test.ts:79:4 › Tests on evidences item › Tests on evidences item details › user can edit evidences item
Error: locator.waitFor: Test timeout of 50000ms exceeded.
Call log:
- waiting for getByTestId('attachment-name-title') to be visible
99 | //wait fore the file to load to prevent crashing
100 | page.url().includes('evidences')
> 101 | ? await pages[key].page.getByTestId('attachment-name-title').waitFor({ state: 'visible' })
| ^
102 | : null;
103 |
104 | await pages[key].itemDetail.verifyItem(editedValues);
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/detailed/common.test.ts:101:67
|
[chromium] › 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#L1
1) [chromium] › functional/detailed/common.test.ts:79:4 › Tests on evidences item › Tests on evidences item details › user can edit evidences item
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 50000ms exceeded.
|
[chromium] › 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#L101
1) [chromium] › functional/detailed/common.test.ts:79:4 › Tests on evidences item › Tests on evidences item details › user can edit evidences item
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.waitFor: Test timeout of 50000ms exceeded.
Call log:
- waiting for getByTestId('attachment-name-title') to be visible
99 | //wait fore the file to load to prevent crashing
100 | page.url().includes('evidences')
> 101 | ? await pages[key].page.getByTestId('attachment-name-title').waitFor({ state: 'visible' })
| ^
102 | : null;
103 |
104 | await pages[key].itemDetail.verifyItem(editedValues);
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/detailed/common.test.ts:101:67
|
[chromium] › functional/detailed/login.test.ts:27:1 › redirect to the right page after login:
frontend/tests/functional/detailed/login.test.ts#L31
2) [chromium] › functional/detailed/login.test.ts:27:1 › redirect to the right page after login ──
Error: Timed out 10000ms waiting for expect(locator).toHaveURL(expected)
Locator: locator(':root')
Expected string: "http://localhost:4173/calendar"
Received string: "http://localhost:4173/analytics"
Call log:
- expect.toHaveURL with timeout 10000ms
- waiting for locator(':root')
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/login?next=/calendar"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/login?next=/calendar"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/login?next=/calendar"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/login?next=/calendar"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/login?next=/calendar"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/analytics"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/analytics"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/analytics"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/analytics"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/analytics"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/analytics"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/analytics"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/analytics"
29 | await loginPage.hasUrl(1);
30 | await loginPage.login();
> 31 | await expect(page).toHaveURL('/calendar');
| ^
32 | });
33 |
34 | test('login invalid message is showing properly', async ({ loginPage, page }) => {
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/detailed/login.test.ts:31:21
|
[chromium] › functional/detailed/login.test.ts:27:1 › redirect to the right page after login:
frontend/tests/functional/detailed/login.test.ts#L31
2) [chromium] › functional/detailed/login.test.ts:27:1 › redirect to the right page after login ──
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 10000ms waiting for expect(locator).toHaveURL(expected)
Locator: locator(':root')
Expected string: "http://localhost:4173/calendar"
Received string: "http://localhost:4173/analytics"
Call log:
- expect.toHaveURL with timeout 10000ms
- waiting for locator(':root')
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/login?next=/calendar"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/login?next=/calendar"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/login?next=/calendar"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/login?next=/calendar"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/login?next=/calendar"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/analytics"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/analytics"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/analytics"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/analytics"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/analytics"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/analytics"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/analytics"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/analytics"
29 | await loginPage.hasUrl(1);
30 | await loginPage.login();
> 31 | await expect(page).toHaveURL('/calendar');
| ^
32 | });
33 |
34 | test('login invalid message is showing properly', async ({ loginPage, page }) => {
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/frontend/tests/functional/detailed/login.test.ts:31:21
|
functional-tests (3.11, chromium)
Process completed with exit code 1.
|
[chromium] › functional/detailed/common.test.ts:79:4 › Tests on evidences item › Tests on evidences item details › user can edit evidences item:
enterprise/frontend/.build/frontend/tests/functional/detailed/common.test.ts#L1
1) [chromium] › 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.
|
[chromium] › functional/detailed/common.test.ts:79:4 › Tests on evidences item › Tests on evidences item details › user can edit evidences item:
enterprise/frontend/.build/frontend/tests/functional/detailed/common.test.ts#L101
1) [chromium] › functional/detailed/common.test.ts:79:4 › Tests on evidences item › Tests on evidences item details › user can edit evidences item
Error: locator.waitFor: Test timeout of 50000ms exceeded.
Call log:
- waiting for getByTestId('attachment-name-title') to be visible
99 | //wait fore the file to load to prevent crashing
100 | page.url().includes('evidences')
> 101 | ? await pages[key].page.getByTestId('attachment-name-title').waitFor({ state: 'visible' })
| ^
102 | : null;
103 |
104 | await pages[key].itemDetail.verifyItem(editedValues);
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/functional/detailed/common.test.ts:101:67
|
[chromium] › functional/detailed/common.test.ts:79:4 › Tests on evidences item › Tests on evidences item details › user can edit evidences item:
enterprise/frontend/.build/frontend/tests/functional/detailed/common.test.ts#L1
1) [chromium] › functional/detailed/common.test.ts:79:4 › Tests on evidences item › Tests on evidences item details › user can edit evidences item
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 50000ms exceeded.
|
[chromium] › functional/detailed/common.test.ts:79:4 › Tests on evidences item › Tests on evidences item details › user can edit evidences item:
enterprise/frontend/.build/frontend/tests/functional/detailed/common.test.ts#L101
1) [chromium] › functional/detailed/common.test.ts:79:4 › Tests on evidences item › Tests on evidences item details › user can edit evidences item
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.waitFor: Test timeout of 50000ms exceeded.
Call log:
- waiting for getByTestId('attachment-name-title') to be visible
99 | //wait fore the file to load to prevent crashing
100 | page.url().includes('evidences')
> 101 | ? await pages[key].page.getByTestId('attachment-name-title').waitFor({ state: 'visible' })
| ^
102 | : null;
103 |
104 | await pages[key].itemDetail.verifyItem(editedValues);
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/functional/detailed/common.test.ts:101:67
|
[chromium] › functional/detailed/login.test.ts:27:1 › redirect to the right page after login:
enterprise/frontend/.build/frontend/tests/functional/detailed/login.test.ts#L31
2) [chromium] › functional/detailed/login.test.ts:27:1 › redirect to the right page after login ──
Error: Timed out 10000ms waiting for expect(locator).toHaveURL(expected)
Locator: locator(':root')
Expected string: "http://localhost:4173/calendar"
Received string: "http://localhost:4173/analytics"
Call log:
- expect.toHaveURL with timeout 10000ms
- waiting for locator(':root')
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/login?next=/calendar"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/login?next=/calendar"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/login?next=/calendar"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/login?next=/calendar"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/login?next=/calendar"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/analytics"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/analytics"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/analytics"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/analytics"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/analytics"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/analytics"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/analytics"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/analytics"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/analytics"
29 | await loginPage.hasUrl(1);
30 | await loginPage.login();
> 31 | await expect(page).toHaveURL('/calendar');
| ^
32 | });
33 |
34 | test('login invalid message is showing properly', async ({ loginPage, page }) => {
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/functional/detailed/login.test.ts:31:21
|
[chromium] › functional/detailed/login.test.ts:27:1 › redirect to the right page after login:
enterprise/frontend/.build/frontend/tests/functional/detailed/login.test.ts#L31
2) [chromium] › functional/detailed/login.test.ts:27:1 › redirect to the right page after login ──
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 10000ms waiting for expect(locator).toHaveURL(expected)
Locator: locator(':root')
Expected string: "http://localhost:4173/calendar"
Received string: "http://localhost:4173/analytics"
Call log:
- expect.toHaveURL with timeout 10000ms
- waiting for locator(':root')
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/login?next=/calendar"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/login?next=/calendar"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/login?next=/calendar"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/login?next=/calendar"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/login?next=/calendar"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/analytics"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/analytics"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/analytics"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/analytics"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/analytics"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/analytics"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/analytics"
- locator resolved to <html lang="en">…</html>
- unexpected value "http://localhost:4173/analytics"
29 | await loginPage.hasUrl(1);
30 | await loginPage.login();
> 31 | await expect(page).toHaveURL('/calendar');
| ^
32 | });
33 |
34 | test('login invalid message is showing properly', async ({ loginPage, page }) => {
at /home/runner/work/ciso-assistant-community/ciso-assistant-community/enterprise/frontend/.build/frontend/tests/functional/detailed/login.test.ts:31:21
|
enterprise-functional-tests (3.11, chromium)
Process completed with exit code 1.
|
functional-tests (3.11, chromium)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-python@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Slow Test:
frontend/[chromium] › functional/user-permissions.test.ts#L1
frontend/[chromium] › functional/user-permissions.test.ts took 3.9m
|
Slow Test:
frontend/[chromium] › fuzz/open-redirect/open-redirect.test.ts#L1
frontend/[chromium] › fuzz/open-redirect/open-redirect.test.ts took 1.7m
|
Slow Test:
frontend/[chromium] › functional/nav.test.ts#L1
frontend/[chromium] › functional/nav.test.ts took 56.5s
|
Slow Test:
frontend/[chromium] › functional/user-route.test.ts#L1
frontend/[chromium] › functional/user-route.test.ts took 46.8s
|
Slow Test:
frontend/[chromium] › functional/detailed/compliance-assessments.test.ts#L1
frontend/[chromium] › functional/detailed/compliance-assessments.test.ts took 26.4s
|
Slow Test:
enterprise/frontend/.build/frontend/[chromium] › functional/user-permissions.test.ts#L1
enterprise/frontend/.build/frontend/[chromium] › functional/user-permissions.test.ts took 4.1m
|
Slow Test:
enterprise/frontend/.build/frontend/[chromium] › fuzz/open-redirect/open-redirect.test.ts#L1
enterprise/frontend/.build/frontend/[chromium] › fuzz/open-redirect/open-redirect.test.ts took 2.3m
|
Slow Test:
enterprise/frontend/.build/frontend/[chromium] › functional/nav.test.ts#L1
enterprise/frontend/.build/frontend/[chromium] › functional/nav.test.ts took 57.5s
|
Slow Test:
enterprise/frontend/.build/frontend/[chromium] › functional/user-route.test.ts#L1
enterprise/frontend/.build/frontend/[chromium] › functional/user-route.test.ts took 48.1s
|
Slow Test:
enterprise/frontend/.build/frontend/[chromium] › functional/detailed/compliance-assessments.test.ts#L1
enterprise/frontend/.build/frontend/[chromium] › functional/detailed/compliance-assessments.test.ts took 27.2s
|
🎭 Playwright Run Summary
2 failed
[chromium] › functional/detailed/common.test.ts:79:4 › Tests on evidences item › Tests on evidences item details › user can edit evidences item
[chromium] › functional/detailed/login.test.ts:27:1 › redirect to the right page after login ───
2 skipped
6 did not run
223 passed (17.7m)
|
🎭 Playwright Run Summary
2 failed
[chromium] › functional/detailed/common.test.ts:79:4 › Tests on evidences item › Tests on evidences item details › user can edit evidences item
[chromium] › functional/detailed/login.test.ts:27:1 › redirect to the right page after login ───
2 skipped
6 did not run
223 passed (19.1m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
enterprise-functional-tests-report-chromium
Expired
|
42.6 MB |
|
functional-tests-report-chromium
Expired
|
42.2 MB |
|