Skip to content

Backend: add assertion over consecutive event IDs across entire game … #612

Backend: add assertion over consecutive event IDs across entire game …

Backend: add assertion over consecutive event IDs across entire game … #612

Triggered via push June 23, 2024 02:02
Status Failure
Total duration 3m 11s
Artifacts

web_CICD.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

3 errors
test/component_tests/App.test.tsx > Test suite for App.tsx > Game boot with no intro: Advance 1 turn, Revert 1 turn, Reset game: web/test/test_lib/testUtils.ts#L73
TestingLibraryElementError: Unable to find an element with the text: Current turn: 2. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible. Ignored nodes: comments, script, style ... ❯ Object.getElementError node_modules/@testing-library/dom/dist/config.js:37:19 ❯ node_modules/@testing-library/dom/dist/query-helpers.js:76:38 ❯ node_modules/@testing-library/dom/dist/query-helpers.js:52:17 ❯ node_modules/@testing-library/dom/dist/query-helpers.js:95:19 ❯ expectElementWithText test/test_lib/testUtils.ts:73:16 ❯ Module.expectParagraph test/test_lib/testUtils.ts:41:3 ❯ GameSessionControlPanelFixture.assertTurn test/test_fixtures/GameSessionControlPanelFixture.ts:98:5 ❯ GameSessionControlPanelFixture.assertTurn2 test/test_fixtures/GameSessionControlPanelFixture.ts:91:10 ❯ test/component_tests/App.test.tsx:30:18
test/component_tests/App.test.tsx > Test suite for App.tsx > Game boot with no intro: Advance 1 turn, Revert 1 turn, Reset game: web/test/test_lib/testUtils.ts#L122
Error: expect(element).toBeEnabled() Received element is not enabled: <button class="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeMedium MuiButton-containedSizeMedium MuiButton-colorPrimary Mui-disabled MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeMedium MuiButton-containedSizeMedium MuiButton-colorPrimary css-sghohy-MuiButtonBase-root-MuiButton-root" disabled="" tabindex="-1" type="button" /> Ignored nodes: comments, script, style ... ❯ expectButtonsToBe test/test_lib/testUtils.ts:122:27 ❯ expectButtonsToBeEnabled test/test_lib/testUtils.ts:106:3 ❯ expectButtonToBeEnabled test/test_lib/testUtils.ts:102:3 ❯ waitFor.timeout test/test_lib/testUtils.ts:146:7 ❯ runWithExpensiveErrorDiagnosticsDisabled node_modules/@testing-library/dom/dist/config.js:47:12 ❯ checkCallback node_modules/@testing-library/dom/dist/wait-for.js:124:77 ❯ Timeout.checkRealTimersCallback node_modules/@testing-library/dom/dist/wait-for.js:118:16
Test
Process completed with exit code 1.