Skip to content

Feature: Template flows #4322

Feature: Template flows

Feature: Template flows #4322

Triggered via pull request July 12, 2024 07:21
Status Failure
Total duration 3m 59s
Artifacts

unit-testing.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 2 warnings
src/containers/Form/FormLayout.test.tsx > cancel button should redirect to flowlist page: src/containers/Form/FormLayout.test.tsx#L80
TestingLibraryElementError: Unable to find an element with the text: Flows. 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 <html> <head /> <body> <div /> </body> </html>... ❯ Proxy.waitForWrapper node_modules/@testing-library/dom/dist/wait-for.js:163:27 ❯ src/containers/Form/FormLayout.test.tsx:80:9
src/containers/Flow/FlowList/FlowList.test.tsx > <FlowList /> > should search flow and check if flow keywprds are present below the name: src/containers/Flow/FlowList/FlowList.test.tsx#L81
TestingLibraryElementError: Unable to find an element by: [data-testid="searchInput"] Ignored nodes: comments, script, style <body> <div /> </body> Ignored nodes: comments, script, style <html> <head /> <body> <div /> </body> </html>... ❯ Proxy.waitForWrapper node_modules/@testing-library/dom/dist/wait-for.js:163:27 ❯ src/containers/Flow/FlowList/FlowList.test.tsx:81:11
src/containers/Flow/FlowList/FlowList.test.tsx > <FlowList /> > click on Make a copy: src/containers/Flow/FlowList/FlowList.test.tsx#L109
TestingLibraryElementError: Unable to find an element by: [data-testid="MoreIcon"] Ignored nodes: comments, script, style <body> <div /> </body> Ignored nodes: comments, script, style <html> <head /> <body> <div /> </body> </html>... ❯ Proxy.waitForWrapper node_modules/@testing-library/dom/dist/wait-for.js:163:27 ❯ src/containers/Flow/FlowList/FlowList.test.tsx:109:11
src/containers/Flow/FlowList/FlowList.test.tsx > <FlowList /> > should import flow using json file: src/containers/Flow/FlowList/FlowList.test.tsx#L133
TestingLibraryElementError: Unable to find an element by: [data-testid="import-icon"] Ignored nodes: comments, script, style <body> <div /> </body> ❯ 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:109:15 ❯ src/containers/Flow/FlowList/FlowList.test.tsx:133:37
src/containers/Flow/FlowList/FlowList.test.tsx > <FlowList /> > should export flow to json file: src/containers/Flow/FlowList/FlowList.test.tsx#L161
TestingLibraryElementError: Unable to find an element by: [data-testid="MoreIcon"] Ignored nodes: comments, script, style <body> <div /> </body> Ignored nodes: comments, script, style <html> <head /> <body> <div /> </body> </html>... ❯ Proxy.waitForWrapper node_modules/@testing-library/dom/dist/wait-for.js:163:27 ❯ src/containers/Flow/FlowList/FlowList.test.tsx:161:11
src/containers/Flow/FlowList/FlowList.test.tsx > Template flows > it opens and closes dialog box: src/containers/Flow/FlowList/FlowList.test.tsx#L183
TestingLibraryElementError: Unable to find an element by: [data-testid="newItemButton"] Ignored nodes: comments, script, style <body> <div /> </body> ❯ 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 ❯ src/containers/Flow/FlowList/FlowList.test.tsx:183:28
src/containers/Flow/FlowList/FlowList.test.tsx > Template flows > it shows and creates a template flows: src/containers/Flow/FlowList/FlowList.test.tsx#L207
TestingLibraryElementError: Unable to find an element by: [data-testid="newItemButton"] Ignored nodes: comments, script, style <body> <div /> </body> ❯ 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 ❯ src/containers/Flow/FlowList/FlowList.test.tsx:207:28
CI
Process completed with exit code 1.
CI
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
CI
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/