Prepared statements #48182
Annotations
5 errors and 1 warning
|
Publish test summary results:
/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
|
|
Publish test summary results:
/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
|
|
Publish test summary results:
/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
|
|
Publish test summary results:
/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
|
|
Publish test summary results:
/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
|
|
Upload output
No files were found with the provided path: tests/e2e/output. No artifacts will be uploaded.
|
background
wait
wait-all
cancel
Loading