refactor(react): make the promise hack explicit for older React versions #4902
test-multiple-versions.yml
on: pull_request
test
1m 9s
Matrix: test_matrix
Annotations
12 errors
test_matrix (18.1.0)
Process completed with exit code 1.
|
test_matrix (18.1.0):
tests/react/async2.test.tsx#L90
TestingLibraryElementError: Unable to find an element with the text: count: 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
<body>
<div />
</body>
Ignored nodes: comments, script, style
<body>
<div />
</body>
❯ waitForWrapper node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:163:27
❯ findByText node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:86:33
❯ tests/react/async2.test.tsx:90:18
|
test_matrix (18.3.1)
Process completed with exit code 1.
|
test_matrix (18.3.1):
tests/react/async2.test.tsx#L90
TestingLibraryElementError: Unable to find an element with the text: count: 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
<body>
<div />
</body>
Ignored nodes: comments, script, style
<body>
<div />
</body>
❯ waitForWrapper node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:163:27
❯ findByText node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:86:33
❯ tests/react/async2.test.tsx:90:18
|
test_matrix (17.0.0)
Process completed with exit code 1.
|
test_matrix (17.0.0):
tests/react/async2.test.tsx#L90
TestingLibraryElementError: Unable to find an element with the text: count: 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
<body>
<div />
</body>
Ignored nodes: comments, script, style
<body>
<div />
</body>
❯ waitForWrapper node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:166:27
❯ findByText node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:86:33
❯ tests/react/async2.test.tsx:90:18
|
test_matrix (16.14.0)
Process completed with exit code 1.
|
test_matrix (16.14.0):
tests/react/async2.test.tsx#L90
TestingLibraryElementError: Unable to find an element with the text: count: 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
<body>
<div />
</body>
Ignored nodes: comments, script, style
<body>
<div />
</body>
❯ waitForWrapper node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:166:27
❯ findByText node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:86:33
❯ tests/react/async2.test.tsx:90:18
|
test_matrix (18.2.0)
Process completed with exit code 1.
|
test_matrix (18.2.0):
tests/react/async2.test.tsx#L90
TestingLibraryElementError: Unable to find an element with the text: count: 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
<body>
<div />
</body>
Ignored nodes: comments, script, style
<body>
<div />
</body>
❯ waitForWrapper node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:163:27
❯ findByText node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:86:33
❯ tests/react/async2.test.tsx:90:18
|
test_matrix (18.0.0)
Process completed with exit code 1.
|
test_matrix (18.0.0):
tests/react/async2.test.tsx#L90
TestingLibraryElementError: Unable to find an element with the text: count: 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
<body>
<div />
</body>
Ignored nodes: comments, script, style
<body>
<div />
</body>
❯ waitForWrapper node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:163:27
❯ findByText node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:86:33
❯ tests/react/async2.test.tsx:90:18
|