> job-tracker-ui@0.1.0 test > jest --runInBand --runTestsByPath src/jobs-view-integration.test.tsx -t localised matching count node.exe : FAIL src/jobs-view-integration.test.tsx (21.384 s) At line:1 char:1 + & "C:\Program Files\nodejs/node.exe" "C:\Program Files\nodejs/node_mo ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (FAIL src/jobs-v....tsx (21.384 s):String) [], RemoteException + FullyQualifiedErrorId : NativeCommandError ● localised matching count: en table 1 retains membership when language changes Unable to find an element with the text: 1 matching job. 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  
   /jobs ?view=table         Table   Board  
  1 matching jobs 

     Search     ​          Search        Status  ); 49 | const label = (locale: 'en' | 'nb') => locale === 'en' ? `${count} matching ${count === 1 ? 'job' : 'jobs'}` : `${count} ${count === 1 ? 'jobb' : 'jobber'} samsvarer`; > 50 | await screen.findByText(label(language)); | ^ 51 | fireEvent.click(screen.getByRole('button', { name: 'Change language' })); 52 | await screen.findByText(label(language === 'en' ? 'nb' : 'en')); 53 | expect(reads(view === 'board' ? '/jobapplications' : '/jobapplications/board')).toHaveLength(0); at waitForWrapper (node_modules/@testing-library/dom/dist/wait-for.js:163:27) at node_modules/@testing-library/dom/dist/query-helpers.js:86:33 at findByText (src/jobs-view-integration.test.tsx:50:16) ● localised matching count: en board 1 retains membership when language changes Unable to find an element with the text: 1 matching job. 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  
   /jobs ?view=board         Table   Board  
  1 matching jobs 

     Search     ​          Search        Status  ); 49 | const label = (locale: 'en' | 'nb') => locale === 'en' ? `${count} matching ${count === 1 ? 'job' : 'jobs'}` : `${count} ${count === 1 ? 'jobb' : 'jobber'} samsvarer`; > 50 | await screen.findByText(label(language)); | ^ 51 | fireEvent.click(screen.getByRole('button', { name: 'Change language' })); 52 | await screen.findByText(label(language === 'en' ? 'nb' : 'en')); 53 | expect(reads(view === 'board' ? '/jobapplications' : '/jobapplications/board')).toHaveLength(0); at waitForWrapper (node_modules/@testing-library/dom/dist/wait-for.js:163:27) at node_modules/@testing-library/dom/dist/query-helpers.js:86:33 at findByText (src/jobs-view-integration.test.tsx:50:16) ● localised matching count: nb table 1 retains membership when language changes Unable to find an element with the text: 1 jobb samsvarer. 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  
   /jobs ?view=table         Tabell   Tavle  
  1 jobber samsvarer 

     Søk     ​          Søk        Status  ); 49 | const label = (locale: 'en' | 'nb') => locale === 'en' ? `${count} matching ${count === 1 ? 'job' : 'jobs'}` : `${count} ${count === 1 ? 'jobb' : 'jobber'} samsvarer`; > 50 | await screen.findByText(label(language)); | ^ 51 | fireEvent.click(screen.getByRole('button', { name: 'Change language' })); 52 | await screen.findByText(label(language === 'en' ? 'nb' : 'en')); 53 | expect(reads(view === 'board' ? '/jobapplications' : '/jobapplications/board')).toHaveLength(0); at waitForWrapper (node_modules/@testing-library/dom/dist/wait-for.js:163:27) at node_modules/@testing-library/dom/dist/query-helpers.js:86:33 at findByText (src/jobs-view-integration.test.tsx:50:16) ● localised matching count: nb board 1 retains membership when language changes Unable to find an element with the text: 1 jobb samsvarer. 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  
   /jobs ?view=board         Tabell   Tavle  
  1 jobber samsvarer 

     Søk     ​          Søk        Status  ); 49 | const label = (locale: 'en' | 'nb') => locale === 'en' ? `${count} matching ${count === 1 ? 'job' : 'jobs'}` : `${count} ${count === 1 ? 'jobb' : 'jobber'} samsvarer`; > 50 | await screen.findByText(label(language)); | ^ 51 | fireEvent.click(screen.getByRole('button', { name: 'Change language' })); 52 | await screen.findByText(label(language === 'en' ? 'nb' : 'en')); 53 | expect(reads(view === 'board' ? '/jobapplications' : '/jobapplications/board')).toHaveLength(0); at waitForWrapper (node_modules/@testing-library/dom/dist/wait-for.js:163:27) at node_modules/@testing-library/dom/dist/query-helpers.js:86:33 at findByText (src/jobs-view-integration.test.tsx:50:16) Test Suites: 1 failed, 1 total Tests: 4 failed, 6 skipped, 8 passed, 18 total Snapshots: 0 total Time: 22.419 s Ran all test suites within paths "src/jobs-view-integration.test.tsx".