web_CICD.yml
on: push
Build and Deploy
1m 30s
Lint
31s
Close Pull Request
0s
Test
58s
Annotations
11 errors
Lint
Process completed with exit code 1.
|
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#L124
Error: expect(element).toBeDisabled()
Received element is not disabled:
<button
class="MuiButtonBase-root MuiButton-root MuiButton-outlined MuiButton-outlinedError MuiButton-sizeMedium MuiButton-outlinedSizeMedium MuiButton-colorError MuiButton-root MuiButton-outlined MuiButton-outlinedError MuiButton-sizeMedium MuiButton-outlinedSizeMedium MuiButton-colorError css-180lf2n-MuiButtonBase-root-MuiButton-root"
tabindex="0"
type="button"
/>
❯ expectButtonsToBe test/test_lib/testUtils.ts:124:27
❯ Module.expectButtonsToBeDisabled test/test_lib/testUtils.ts:114:3
❯ GameSessionControlPanelFixture.assertNoGameSession test/test_fixtures/GameSessionControlPanelFixture.ts:77:5
❯ test/component_tests/App.test.tsx:26: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#L124
Error: expect(element).toBeDisabled()
Received element is not disabled:
<button
class="MuiButtonBase-root MuiButton-root MuiButton-outlined MuiButton-outlinedError MuiButton-sizeMedium MuiButton-outlinedSizeMedium MuiButton-colorError MuiButton-root MuiButton-outlined MuiButton-outlinedError MuiButton-sizeMedium MuiButton-outlinedSizeMedium MuiButton-colorError css-180lf2n-MuiButtonBase-root-MuiButton-root"
tabindex="0"
type="button"
/>
❯ expectButtonsToBe test/test_lib/testUtils.ts:124:27
❯ Module.expectButtonsToBeDisabled test/test_lib/testUtils.ts:114:3
❯ GameSessionControlPanelFixture.assertNoGameSession test/test_fixtures/GameSessionControlPanelFixture.ts:77:5
❯ test/component_tests/App.test.tsx:26:18
|
test/component_tests/GameSessionData.test.tsx > Test suite for GameSessionData.ts > Reset to beginning of current turn:
web/test/test_lib/testUtils.ts#L124
Error: expect(element).toBeDisabled()
Received element is not disabled:
<button
class="MuiButtonBase-root MuiButton-root MuiButton-outlined MuiButton-outlinedError MuiButton-sizeMedium MuiButton-outlinedSizeMedium MuiButton-colorError MuiButton-root MuiButton-outlined MuiButton-outlinedError MuiButton-sizeMedium MuiButton-outlinedSizeMedium MuiButton-colorError css-180lf2n-MuiButtonBase-root-MuiButton-root"
tabindex="0"
type="button"
/>
❯ expectButtonsToBe test/test_lib/testUtils.ts:124:27
❯ Module.expectButtonsToBeDisabled test/test_lib/testUtils.ts:114:3
❯ GameSessionControlPanelFixture.assertNoGameSession test/test_fixtures/GameSessionControlPanelFixture.ts:77:5
❯ test/component_tests/GameSessionData.test.tsx:10:18
|
test/component_tests/GameSessionData.test.tsx > Test suite for GameSessionData.ts > Reset to beginning of current turn:
web/test/test_lib/testUtils.ts#L124
Error: expect(element).toBeDisabled()
Received element is not disabled:
<button
class="MuiButtonBase-root MuiButton-root MuiButton-outlined MuiButton-outlinedError MuiButton-sizeMedium MuiButton-outlinedSizeMedium MuiButton-colorError MuiButton-root MuiButton-outlined MuiButton-outlinedError MuiButton-sizeMedium MuiButton-outlinedSizeMedium MuiButton-colorError css-180lf2n-MuiButtonBase-root-MuiButton-root"
tabindex="0"
type="button"
/>
❯ expectButtonsToBe test/test_lib/testUtils.ts:124:27
❯ Module.expectButtonsToBeDisabled test/test_lib/testUtils.ts:114:3
❯ GameSessionControlPanelFixture.assertNoGameSession test/test_fixtures/GameSessionControlPanelFixture.ts:77:5
❯ test/component_tests/GameSessionData.test.tsx:10: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#L124
Error: expect(element).toBeDisabled()
Received element is not disabled:
<button
class="MuiButtonBase-root MuiButton-root MuiButton-outlined MuiButton-outlinedError MuiButton-sizeMedium MuiButton-outlinedSizeMedium MuiButton-colorError MuiButton-root MuiButton-outlined MuiButton-outlinedError MuiButton-sizeMedium MuiButton-outlinedSizeMedium MuiButton-colorError css-180lf2n-MuiButtonBase-root-MuiButton-root"
tabindex="0"
type="button"
/>
❯ expectButtonsToBe test/test_lib/testUtils.ts:124:27
❯ Module.expectButtonsToBeDisabled test/test_lib/testUtils.ts:114:3
❯ GameSessionControlPanelFixture.assertNoGameSession test/test_fixtures/GameSessionControlPanelFixture.ts:77:5
❯ test/component_tests/GameSessionData.test.tsx:24: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#L124
Error: expect(element).toBeDisabled()
Received element is not disabled:
<button
class="MuiButtonBase-root MuiButton-root MuiButton-outlined MuiButton-outlinedError MuiButton-sizeMedium MuiButton-outlinedSizeMedium MuiButton-colorError MuiButton-root MuiButton-outlined MuiButton-outlinedError MuiButton-sizeMedium MuiButton-outlinedSizeMedium MuiButton-colorError css-180lf2n-MuiButtonBase-root-MuiButton-root"
tabindex="0"
type="button"
/>
❯ expectButtonsToBe test/test_lib/testUtils.ts:124:27
❯ Module.expectButtonsToBeDisabled test/test_lib/testUtils.ts:114:3
❯ GameSessionControlPanelFixture.assertNoGameSession test/test_fixtures/GameSessionControlPanelFixture.ts:77:5
❯ test/component_tests/GameSessionData.test.tsx:24:18
|
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#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/delegate_to_ai/DelegateToAI1Turn.test.tsx > Test suite for "Delegate 1 turn to AI" > Delegate 1 turn to AI from uninitialized game session:
web/test/test_lib/testUtils.ts#L124
Error: expect(element).toBeDisabled()
Received element is not disabled:
<button
class="MuiButtonBase-root MuiButton-root MuiButton-outlined MuiButton-outlinedError MuiButton-sizeMedium MuiButton-outlinedSizeMedium MuiButton-colorError MuiButton-root MuiButton-outlined MuiButton-outlinedError MuiButton-sizeMedium MuiButton-outlinedSizeMedium MuiButton-colorError css-180lf2n-MuiButtonBase-root-MuiButton-root"
tabindex="0"
type="button"
/>
❯ expectButtonsToBe test/test_lib/testUtils.ts:124:27
❯ Module.expectButtonsToBeDisabled test/test_lib/testUtils.ts:114:3
❯ GameSessionControlPanelFixture.assertNoGameSession test/test_fixtures/GameSessionControlPanelFixture.ts:77:5
❯ setupTest test/delegate_to_ai/DelegateToAI1Turn.test.tsx:25:16
❯ test/delegate_to_ai/DelegateToAI1Turn.test.tsx:9:26
|
test/delegate_to_ai/DelegateToAI1Turn.test.tsx > Test suite for "Delegate 1 turn to AI" > Delegate 1 turn to AI from uninitialized game session:
web/test/test_lib/testUtils.ts#L124
Error: expect(element).toBeDisabled()
Received element is not disabled:
<button
class="MuiButtonBase-root MuiButton-root MuiButton-outlined MuiButton-outlinedError MuiButton-sizeMedium MuiButton-outlinedSizeMedium MuiButton-colorError MuiButton-root MuiButton-outlined MuiButton-outlinedError MuiButton-sizeMedium MuiButton-outlinedSizeMedium MuiButton-colorError css-180lf2n-MuiButtonBase-root-MuiButton-root"
tabindex="0"
type="button"
/>
❯ expectButtonsToBe test/test_lib/testUtils.ts:124:27
❯ Module.expectButtonsToBeDisabled test/test_lib/testUtils.ts:114:3
❯ GameSessionControlPanelFixture.assertNoGameSession test/test_fixtures/GameSessionControlPanelFixture.ts:77:5
❯ setupTest test/delegate_to_ai/DelegateToAI1Turn.test.tsx:25:16
❯ test/delegate_to_ai/DelegateToAI1Turn.test.tsx:9:26
|