Skip to content

Focus visible test #109

Focus visible test

Focus visible test #109

Triggered via pull request August 1, 2023 11:59
Status Success
Total duration 15m 1s
Artifacts 1
print-info
1s
print-info
accessibility-test-jupyterlab
14m 47s
accessibility-test-jupyterlab
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 1 warning, and 1 notice
[chromium] › axe-violations.test.ts:37:3 › JupyterLab accessibility checks › Lorenz notebook before running all cells: testing/jupyterlab/tests/axe-violations.test.ts#L43
1) [chromium] › axe-violations.test.ts:37:3 › JupyterLab accessibility checks › Lorenz notebook before running all cells Error: expect: Property 'toBeAccessible' not found. 41 | await page.notebook.openByPath(`${tmpPath}/${LORENZ}`); 42 | try { > 43 | await expect(page).toBeAccessible(); | ^ 44 | } finally { 45 | await scrollNotebookToBottom(page); 46 | } at /home/runner/work/jupyter-a11y-testing/jupyter-a11y-testing/testing/jupyterlab/tests/axe-violations.test.ts:43:13
[chromium] › axe-violations.test.ts:37:3 › JupyterLab accessibility checks › Lorenz notebook before running all cells: testing/jupyterlab/tests/axe-violations.test.ts#L43
1) [chromium] › axe-violations.test.ts:37:3 › JupyterLab accessibility checks › Lorenz notebook before running all cells Retry #1 --------------------------------------------------------------------------------------- Error: expect: Property 'toBeAccessible' not found. 41 | await page.notebook.openByPath(`${tmpPath}/${LORENZ}`); 42 | try { > 43 | await expect(page).toBeAccessible(); | ^ 44 | } finally { 45 | await scrollNotebookToBottom(page); 46 | } at /home/runner/work/jupyter-a11y-testing/jupyter-a11y-testing/testing/jupyterlab/tests/axe-violations.test.ts:43:13
[chromium] › axe-violations.test.ts:37:3 › JupyterLab accessibility checks › Lorenz notebook before running all cells: testing/jupyterlab/tests/axe-violations.test.ts#L43
1) [chromium] › axe-violations.test.ts:37:3 › JupyterLab accessibility checks › Lorenz notebook before running all cells Retry #2 --------------------------------------------------------------------------------------- Error: expect: Property 'toBeAccessible' not found. 41 | await page.notebook.openByPath(`${tmpPath}/${LORENZ}`); 42 | try { > 43 | await expect(page).toBeAccessible(); | ^ 44 | } finally { 45 | await scrollNotebookToBottom(page); 46 | } at /home/runner/work/jupyter-a11y-testing/jupyter-a11y-testing/testing/jupyterlab/tests/axe-violations.test.ts:43:13
[chromium] › axe-violations.test.ts:49:3 › JupyterLab accessibility checks › Lorenz notebook after running all cells: testing/jupyterlab/<anonymous>#L3782
2) [chromium] › axe-violations.test.ts:49:3 › JupyterLab accessibility checks › Lorenz notebook after running all cells page.evaluate: TypeError: Cannot read properties of undefined (reading 'text') at GalataInpage.waitForCellRun (<anonymous>:3782:34) at GalataInpage.waitForNotebookRun (<anonymous>:3747:32) at eval (eval at evaluate (:191:30), <anonymous>:2:35) at UtilityScript.evaluate (<anonymous>:193:17) at UtilityScript.<anonymous> (<anonymous>:1:44) at NotebookHelper.waitForRun (/home/runner/work/jupyter-a11y-testing/jupyter-a11y-testing/testing/jupyterlab/node_modules/@jupyterlab/galata/src/helpers/notebook.ts:347:21) at NotebookHelper.run (/home/runner/work/jupyter-a11y-testing/jupyter-a11y-testing/testing/jupyterlab/node_modules/@jupyterlab/galata/src/helpers/notebook.ts:268:16) at /home/runner/work/jupyter-a11y-testing/jupyter-a11y-testing/testing/jupyterlab/tests/axe-violations.test.ts:51:5
[chromium] › axe-violations.test.ts:49:3 › JupyterLab accessibility checks › Lorenz notebook after running all cells: testing/jupyterlab/<anonymous>#L3782
2) [chromium] › axe-violations.test.ts:49:3 › JupyterLab accessibility checks › Lorenz notebook after running all cells Retry #1 --------------------------------------------------------------------------------------- page.evaluate: TypeError: Cannot read properties of undefined (reading 'text') at GalataInpage.waitForCellRun (<anonymous>:3782:34) at GalataInpage.waitForNotebookRun (<anonymous>:3747:32) at eval (eval at evaluate (:191:30), <anonymous>:2:35) at UtilityScript.evaluate (<anonymous>:193:17) at UtilityScript.<anonymous> (<anonymous>:1:44) at NotebookHelper.waitForRun (/home/runner/work/jupyter-a11y-testing/jupyter-a11y-testing/testing/jupyterlab/node_modules/@jupyterlab/galata/src/helpers/notebook.ts:347:21) at NotebookHelper.run (/home/runner/work/jupyter-a11y-testing/jupyter-a11y-testing/testing/jupyterlab/node_modules/@jupyterlab/galata/src/helpers/notebook.ts:268:16) at /home/runner/work/jupyter-a11y-testing/jupyter-a11y-testing/testing/jupyterlab/tests/axe-violations.test.ts:51:5
[chromium] › axe-violations.test.ts:49:3 › JupyterLab accessibility checks › Lorenz notebook after running all cells: testing/jupyterlab/<anonymous>#L3782
2) [chromium] › axe-violations.test.ts:49:3 › JupyterLab accessibility checks › Lorenz notebook after running all cells Retry #2 --------------------------------------------------------------------------------------- page.evaluate: TypeError: Cannot read properties of undefined (reading 'text') at GalataInpage.waitForCellRun (<anonymous>:3782:34) at GalataInpage.waitForNotebookRun (<anonymous>:3747:32) at eval (eval at evaluate (:191:30), <anonymous>:2:35) at UtilityScript.evaluate (<anonymous>:193:17) at UtilityScript.<anonymous> (<anonymous>:1:44) at NotebookHelper.waitForRun (/home/runner/work/jupyter-a11y-testing/jupyter-a11y-testing/testing/jupyterlab/node_modules/@jupyterlab/galata/src/helpers/notebook.ts:347:21) at NotebookHelper.run (/home/runner/work/jupyter-a11y-testing/jupyter-a11y-testing/testing/jupyterlab/node_modules/@jupyterlab/galata/src/helpers/notebook.ts:268:16) at /home/runner/work/jupyter-a11y-testing/jupyter-a11y-testing/testing/jupyterlab/tests/axe-violations.test.ts:51:5
[chromium] › regression-tests/visible-focus-indicator-initial-page.test.ts:66:1 › should have visible focus indicator: testing/jupyterlab/tests/regression-tests/visible-focus-indicator-initial-page.test.ts#L115
3) [chromium] › regression-tests/visible-focus-indicator-initial-page.test.ts:66:1 › should have visible focus indicator Error: expect(received).toBe(expected) // Object.is equality Expected: false Received: true 113 | // Compare the screenshots. If they are equal, the test fails. 114 | try { > 115 | expect(focus.equals(noFocus)).toBe(false); | ^ 116 | } catch (err) { 117 | console.log("Test failed at the following node:"); 118 | console.log(node.toString()); at /home/runner/work/jupyter-a11y-testing/jupyter-a11y-testing/testing/jupyterlab/tests/regression-tests/visible-focus-indicator-initial-page.test.ts:115:37
[chromium] › regression-tests/visible-focus-indicator-initial-page.test.ts:66:1 › should have visible focus indicator: testing/jupyterlab/tests/regression-tests/visible-focus-indicator-initial-page.test.ts#L115
3) [chromium] › regression-tests/visible-focus-indicator-initial-page.test.ts:66:1 › should have visible focus indicator Retry #1 --------------------------------------------------------------------------------------- Error: expect(received).toBe(expected) // Object.is equality Expected: false Received: true 113 | // Compare the screenshots. If they are equal, the test fails. 114 | try { > 115 | expect(focus.equals(noFocus)).toBe(false); | ^ 116 | } catch (err) { 117 | console.log("Test failed at the following node:"); 118 | console.log(node.toString()); at /home/runner/work/jupyter-a11y-testing/jupyter-a11y-testing/testing/jupyterlab/tests/regression-tests/visible-focus-indicator-initial-page.test.ts:115:37
[chromium] › regression-tests/visible-focus-indicator-initial-page.test.ts:66:1 › should have visible focus indicator: testing/jupyterlab/tests/regression-tests/visible-focus-indicator-initial-page.test.ts#L115
3) [chromium] › regression-tests/visible-focus-indicator-initial-page.test.ts:66:1 › should have visible focus indicator Retry #2 --------------------------------------------------------------------------------------- Error: expect(received).toBe(expected) // Object.is equality Expected: false Received: true 113 | // Compare the screenshots. If they are equal, the test fails. 114 | try { > 115 | expect(focus.equals(noFocus)).toBe(false); | ^ 116 | } catch (err) { 117 | console.log("Test failed at the following node:"); 118 | console.log(node.toString()); at /home/runner/work/jupyter-a11y-testing/jupyter-a11y-testing/testing/jupyterlab/tests/regression-tests/visible-focus-indicator-initial-page.test.ts:115:37
[regression] › regression-tests/visible-focus-indicator-initial-page.test.ts:66:1 › should have visible focus indicator: testing/jupyterlab/tests/regression-tests/visible-focus-indicator-initial-page.test.ts#L115
4) [regression] › regression-tests/visible-focus-indicator-initial-page.test.ts:66:1 › should have visible focus indicator Error: expect(received).toBe(expected) // Object.is equality Expected: false Received: true 113 | // Compare the screenshots. If they are equal, the test fails. 114 | try { > 115 | expect(focus.equals(noFocus)).toBe(false); | ^ 116 | } catch (err) { 117 | console.log("Test failed at the following node:"); 118 | console.log(node.toString()); at /home/runner/work/jupyter-a11y-testing/jupyter-a11y-testing/testing/jupyterlab/tests/regression-tests/visible-focus-indicator-initial-page.test.ts:115:37
accessibility-test-jupyterlab
Mamba support is still experimental and can result in differently solved environments!
🎭 Playwright Run Summary
4 failed [chromium] › axe-violations.test.ts:37:3 › JupyterLab accessibility checks › Lorenz notebook before running all cells [chromium] › axe-violations.test.ts:49:3 › JupyterLab accessibility checks › Lorenz notebook after running all cells [chromium] › regression-tests/visible-focus-indicator-initial-page.test.ts:66:1 › should have visible focus indicator [regression] › regression-tests/visible-focus-indicator-initial-page.test.ts:66:1 › should have visible focus indicator 2 passed (4m)

Artifacts

Produced during runtime
Name Size
jupyterlab-a11y-tests-refs-pull-33-merge-31bacbf8 Expired
47.7 MB