fix tests #572
web_CICD.yml
on: push
Build and Deploy
1m 28s
Lint
39s
Close Pull Request
0s
Test
1m 9s
Annotations
3 errors
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: 4. 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:19: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#L73
TestingLibraryElementError: Unable to find an element with the text: Current turn: 4. 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:19:5
|
Test
Process completed with exit code 1.
|