PowerIncrease -> PowerClimb #658
web_CICD.yml
on: push
Build and Deploy
1m 26s
Lint
32s
Close Pull Request
0s
Test
1m 10s
Annotations
4 errors
test/component_tests/GameSessionData.test.tsx:
web/test/test_lib/testUtils.ts#L33
AssertionError: Backend API host 'https://game-api1.azurewebsites.net' is not reachable
❯ Module.verifyBackendApiIsReachable test/test_lib/testUtils.ts:33:12
❯ test/vitest.setup.ts:7:3
|
test/component_tests/OutroDialog.test.tsx > Test suite for OutroDialog.tsx > Outro dialog and setting:
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/OutroDialog.test.tsx:63:18
|
test/component_tests/OutroDialog.test.tsx > Test suite for OutroDialog.tsx > Outro dialog and setting:
web/test/test_lib/testUtils.ts#L122
Error: expect(element).toBeEnabled()
Received element is not enabled:
<button
class="MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeMedium MuiButton-textSizeMedium MuiButton-colorPrimary Mui-disabled MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeMedium MuiButton-textSizeMedium MuiButton-colorPrimary css-6x90rf-MuiButtonBase-root-MuiButton-root"
disabled=""
tabindex="-1"
type="button"
/>
❯ expectButtonsToBe test/test_lib/testUtils.ts:122:27
❯ expectButtonsToBeEnabled test/test_lib/testUtils.ts:106:3
❯ expectButtonToBeEnabled test/test_lib/testUtils.ts:102:3
❯ Module.clickButton test/test_lib/testUtils.ts:133:3
❯ AgentsDataGridFixture.hire10Agents test/test_fixtures/AgentsDataGridFixture.ts:11:11
❯ test/component_tests/OutroDialog.test.tsx:31:5
|
Test
Process completed with exit code 1.
|