Prepared statements #48182
ci.yml
on: pull_request
Matrix: playwright
Generate tests matrix
3s
E2E and web tests using latest PHP and MariaDB versions
16m 14s
Matrix: lint
Merge Playwright reports
52s
Matrix: tests
Annotations
15 errors and 1 warning
|
Lint on PHP 8.3
Process completed with exit code 1.
|
|
Lint on PHP 8.5
Process completed with exit code 1.
|
|
Playwright tests (2/2)
Process completed with exit code 1.
|
|
Playwright tests (2/2)
Process completed with exit code 1.
|
|
Playwright tests (1/2)
Process completed with exit code 1.
|
|
Playwright tests (1/2)
Process completed with exit code 1.
|
|
E2E and web tests using latest PHP and MariaDB versions
Process completed with exit code 24.
|
|
E2E and web tests using latest PHP and MariaDB versions
Process completed with exit code 2.
|
|
Failed Test: Can't inject XSS into an item name:
/var/www/glpi/tests/e2e/specs/Security/xss.spec.ts#L0
Can't inject XSS into an item name: Error: expect(locator).toHaveCount(expected) failed
Locator: getByText('51e875ba-eab1-4edb-8ffd-e7c30bc5e60c<script>throw new Error("XSS");</script>')
Expected: 2
Received: 0
Timeout: 5000ms
Call log:
- Expect "toHaveCount" with timeout 5000ms
- waiting for getByText('51e875ba-eab1-4edb-8ffd-e7c30bc5e60c<script>throw new Error("XSS");</script>')
9 × locator resolved to 0 elements
- unexpected value "0"
- Error: expect(locator).toHaveCount(expected) failed
Locator: getByText('51e875ba-eab1-4edb-8ffd-e7c30bc5e60c<script>throw new Error("XSS");</script>')
Expected: 2
Received: 0
Timeout: 5000ms
Call log:
- Expect "toHaveCount" with timeout 5000ms
- waiting for getByText('51e875ba-eab1-4edb-8ffd-e7c30bc5e60c<script>throw new Error("XSS");</script>')
9 × locator resolved to 0 elements
- unexpected value "0"
at /var/www/glpi/tests/e2e/specs/Security/xss.spec.ts:65:44
|
|
Failed Test: Search engine accessibility:
/var/www/glpi/tests/e2e/specs/Search/search_engine.spec.ts#L0
Search engine accessibility: Error: expect(locator).toBeVisible() failed
Locator: getByTestId('search-page')
Expected: visible
Timeout: 5000ms
Error: element(s) not found
Call log:
- Expect "toBeVisible" with timeout 5000ms
- waiting for getByTestId('search-page')
- Error: expect(locator).toBeVisible() failed
Locator: getByTestId('search-page')
Expected: visible
Timeout: 5000ms
Error: element(s) not found
Call log:
- Expect "toBeVisible" with timeout 5000ms
- waiting for getByTestId('search-page')
at /var/www/glpi/tests/e2e/specs/Search/search_engine.spec.ts:42:50
|
|
Failed Test: Page layout accessibility:
/var/www/glpi/tests/e2e/specs/Layout/page_layout.spec.ts#L0
Page layout accessibility: Error: frame.evaluate: Error: No elements found for include in page Context
at validateContext (eval at evaluate (:302:30), <anonymous>:18986:15)
at new Context (eval at evaluate (:302:30), <anonymous>:18967:7)
at Object._getFrameContexts (eval at evaluate (:302:30), <anonymous>:19008:22)
at eval (eval at evaluate (:302:30), <anonymous>:4:27)
at UtilityScript.evaluate (<anonymous>:304:16)
at UtilityScript.<anonymous> (<anonymous>:1:44) - Error: frame.evaluate: Error: No elements found for include in page Context
at validateContext (eval at evaluate (:302:30), <anonymous>:18986:15)
at new Context (eval at evaluate (:302:30), <anonymous>:18967:7)
at Object._getFrameContexts (eval at evaluate (:302:30), <anonymous>:19008:22)
at eval (eval at evaluate (:302:30), <anonymous>:4:27)
at UtilityScript.evaluate (<anonymous>:304:16)
at UtilityScript.<anonymous> (<anonymous>:1:44)
at validateContext (eval at evaluate (:302:30), <anonymous>:18986:15)
at Context (eval at evaluate (:302:30), <anonymous>:18967:7)
at Object._getFrameContexts (eval at evaluate (:302:30), <anonymous>:19008:22)
at eval (eval at evaluate (:302:30), <anonymous>:4:27)
at UtilityScript.evaluate (<anonymous>:304:16)
at UtilityScript.<anonymous> (<anonymous>:1:44)
at AxeBuilder.runPartialRecursive (/var/www/glpi/node_modules/@axe-core/playwright/dist/index.js:315:39)
at AxeBuilder.analyze (/var/www/glpi/node_modules/@axe-core/playwright/dist/index.js:245:39)
at /var/www/glpi/tests/e2e/specs/Layout/page_layout.spec.ts:43:26
|
|
Failed Test: Deleted forms are not displayed in the service catalog:
/var/www/glpi/tests/e2e/specs/Helpdesk/service_catalog.spec.ts#L0
Deleted forms are not displayed in the service catalog: Error: expect(locator).toContainText(expected) failed
Locator: getByRole('alert')
Timeout: 5000ms
- Expected substring - 1
+ Received string + 12
- Item successfully purged
+
+
+
+
+
+
+ An unexpected error occurred
+
+ Return to previous page
+
+
+
Call log:
- Expect "toContainText" with timeout 5000ms
- waiting for getByRole('alert')
6 × locator resolved to <div role="alert" class="alert alert-danger alert-important">…</div>
- unexpected value "
An unexpected error occurred
Return to previous page
"
- Error: expect(locator).toContainText(expected) failed
Locator: getByRole('alert')
Timeout: 5000ms
- Expected substring - 1
+ Received string + 12
- Item successfully purged
+
+
+
+
+
+
+ An unexpected error occurred
+
+ Return to previous page
+
+
+
Call log:
- Expect "toContainText" with timeout 5000ms
- waiting for getByRole('alert')
6 × locator resolved to <div role="alert" class="alert alert-danger alert-important">…</div>
- unexpected value "
An unexpected error occurred
Return to previous page
"
at /var/www/glpi/tests/e2e/specs/Helpdesk/service_catalog.spec.ts:278:47
|
|
Failed Test: Can open illustration picker, show forms attached to the category and go back to illustration picker:
/var/www/glpi/tests/e2e/specs/Form/category.spec.ts#L0
Can open illustration picker, show forms attached to the category and go back to illustration picker: Error: expect(locator).toBeVisible() failed
Locator: getByRole('link', { name: 'Test form', exact: true }).filter({ visible: true })
Expected: visible
Timeout: 5000ms
Error: element(s) not found
Call log:
- Expect "toBeVisible" with timeout 5000ms
- waiting for getByRole('link', { name: 'Test form', exact: true }).filter({ visible: true })
- Error: expect(locator).toBeVisible() failed
Locator: getByRole('link', { name: 'Test form', exact: true }).filter({ visible: true })
Expected: visible
Timeout: 5000ms
Error: element(s) not found
Call log:
- Expect "toBeVisible" with timeout 5000ms
- waiting for getByRole('link', { name: 'Test form', exact: true }).filter({ visible: true })
at /var/www/glpi/tests/e2e/specs/Form/category.spec.ts:84:54
|
|
Test on PHP 8.3 using mysql:8.4
Process completed with exit code 2.
|
|
Test on PHP 8.5 using mariadb:11.8
Process completed with exit code 2.
|
|
Merge Playwright reports
No files were found with the provided path: tests/e2e/output. No artifacts will be uploaded.
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
blob-report-1
Expired
|
25.4 MB |
sha256:256992886d50450145364f152a65614c1703174f96bffc4c545d65e4fca9f6bd
|
|
|
blob-report-2
Expired
|
11.4 MB |
sha256:972f9f02c9ad33266fb38ccf1a1b91637c862178bf8820efc5a864332d9c6a47
|
|
|
cypress-screenshots
|
7.28 MB |
sha256:5933c29a276facb92a339e14238d3534e4d4cb64362466ad07d675d5342a322d
|
|
|
glpi-logs
|
15.5 KB |
sha256:053efba9b9eaf1f0bd9f9b20bcb53cf0deec2a62dd12cd2dcdca47ebb6f86e1b
|
|
|
playwright-report
|
36.7 MB |
sha256:c9e9eb06a0a54d2925f1106e591c499a0ddccd6d2f01b2da25072d3a7e233af1
|
|