simplify AIPlayers: get rid of Intellect, AIPlayer class #707
web_CICD.yml
on: push
Build and Deploy
1m 28s
Lint
35s
Close Pull Request
0s
Test
1m 15s
Annotations
10 errors
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#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/delegate_to_ai/DelegateToAI1Turn.test.tsx:11: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#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/delegate_to_ai/DelegateToAI1Turn.test.tsx:11:18
|
test/delegate_to_ai/DelegateToAI1Turn.test.tsx > Test suite for "Delegate 1 turn to AI" > Delegate 1 turn to AI from initialized game session:
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
❯ test/delegate_to_ai/DelegateToAI1Turn.test.tsx:19:18
|
test/delegate_to_ai/DelegateToAI1Turn.test.tsx > Test suite for "Delegate 1 turn to AI" > Delegate 1 turn to AI from initialized game session:
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
❯ test/delegate_to_ai/DelegateToAI1Turn.test.tsx:19:18
|
test/delegate_to_ai/DelegateToAITurns.test.tsx > Test suite for delegating turns to AI > Delegate turns 1 to 5 from uninitialized game session:
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/DelegateToAITurns.test.tsx > Test suite for delegating turns to AI > Delegate turns 1 to 5 from uninitialized game session:
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/DelegateToAITurns.test.tsx:10:5
|
test/delegate_to_ai/DelegateToAITurns.test.tsx > Test suite for delegating turns to AI > Delegate turns 2 to 5 from uninitialized game session:
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/DelegateToAITurns.test.tsx > Test suite for delegating turns to AI > Delegate turns 2 to 5 from uninitialized game session:
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/DelegateToAITurns.test.tsx:15:5
|
test/delegate_to_ai/DelegateToAITurns.test.tsx > Test suite for delegating turns to AI > Delegate turns 1 to 5 from initialized game session:
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/DelegateToAITurns.test.tsx:21:5
|
test/delegate_to_ai/DelegateToAITurns.test.tsx > Test suite for delegating turns to AI > Delegate turns 1 to 5 from initialized game session:
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
|