investing intel in UI now increases the amount of intel invested into… #656
web_CICD.yml
on: push
Build and Deploy
1m 28s
Lint
34s
Close Pull Request
0s
Test
1m 11s
Annotations
5 errors
test/component_tests/GameSessionData.test.tsx > Test suite for GameSessionData.ts > Reset, revert, reset to beginning of previous turn:
web/test/test_lib/testUtils.ts#L73
TestingLibraryElementError: Unable to find an element with the text: Current turn: 1. 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.assertTurn1 test/test_fixtures/GameSessionControlPanelFixture.ts:81:5
❯ test/component_tests/GameSessionData.test.tsx:26:18
|
test/component_tests/GameSessionData.test.tsx > Test suite for GameSessionData.ts > Reset, revert, reset to beginning of previous turn:
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/delegate_to_ai/DelegateToAITurnsComplex.test.tsx > Test suite for delegating turns to AI > Delegate turns to AI - boundary cases:
web/test/test_lib/testUtils.ts#L73
TestingLibraryElementError: Unable to find an element with the text: Current turn: 5. 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.delegateTurnsToAi test/test_fixtures/GameSessionControlPanelFixture.ts:50:10
❯ test/delegate_to_ai/DelegateToAITurnsComplex.test.tsx:16:5
|
test/delegate_to_ai/DelegateToAITurnsComplex.test.tsx > Test suite for delegating turns to AI > Delegate turns to AI - boundary cases:
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.
|