Skip to content

Optimize Projects #7693

Optimize Projects

Optimize Projects #7693

Triggered via pull request January 24, 2025 04:52
Status Failure
Total duration 3m 6s
Artifacts

run-tests.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 1 warning
src/tests/pages/ProjectDetailPage/ProjectViewContainer.test.tsx > Rendering Project View Container > renders the provided project: src/frontend/src/tests/pages/ProjectDetailPage/ProjectViewContainer.test.tsx#L41
TestingLibraryElementError: Unable to find an element with the text: 1.1.0 - Impact Attenuator. 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> <div class="_loaderWrapper_97282c" > <span class="_loader_97282c" data-testid="loader" > <span class="_loaderInner_97282c" /> </span> </div> </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/tests/pages/ProjectDetailPage/ProjectViewContainer.test.tsx:41:19
src/tests/pages/ProjectDetailPage/ProjectViewContainer.test.tsx > Rendering Project View Container > disables the buttons for guest users: src/frontend/src/tests/pages/ProjectDetailPage/ProjectViewContainer.test.tsx#L51
TestingLibraryElementError: Unable to find an element with the text: Actions. 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> <div class="_loaderWrapper_97282c" > <span class="_loader_97282c" data-testid="loader" > <span class="_loaderInner_97282c" /> </span> </div> </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/tests/pages/ProjectDetailPage/ProjectViewContainer.test.tsx:51:28
src/tests/pages/ProjectDetailPage/ProjectViewContainer.test.tsx > Rendering Project View Container > enables the buttons for admin users: src/frontend/src/tests/pages/ProjectDetailPage/ProjectViewContainer.test.tsx#L58
TestingLibraryElementError: Unable to find an element with the text: Actions. 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> <div class="_loaderWrapper_97282c" > <span class="_loader_97282c" data-testid="loader" > <span class="_loaderInner_97282c" /> </span> </div> </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/tests/pages/ProjectDetailPage/ProjectViewContainer.test.tsx:58:28
src/tests/pages/ProjectDetailPage/ProjectViewContainer.test.tsx > Rendering Project View Container > Work Package Preview > renders the work package names: src/frontend/src/tests/pages/ProjectDetailPage/ProjectViewContainer.test.tsx#L68
TestingLibraryElementError: Unable to find an element with the text: Bodywork Concept of Design. 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> <div class="_loaderWrapper_97282c" > <span class="_loader_97282c" data-testid="loader" > <span class="_loaderInner_97282c" /> </span> </div> </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/tests/pages/ProjectDetailPage/ProjectViewContainer.test.tsx:68:23 ❯ src/tests/pages/ProjectDetailPage/ProjectViewContainer.test.tsx:67:36
src/tests/pages/ProjectDetailPage/ProjectViewContainer.test.tsx > Rendering Project View Container > Work Package Preview > renders the work package statuses: src/frontend/src/tests/pages/ProjectDetailPage/ProjectViewContainer.test.tsx#L86
TestingLibraryElementError: Unable to find an element with the text: Research. 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> <div class="_loaderWrapper_97282c" > <span class="_loader_97282c" data-testid="loader" > <span class="_loaderInner_97282c" /> </span> </div> </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/tests/pages/ProjectDetailPage/ProjectViewContainer.test.tsx:86:23 ❯ src/tests/pages/ProjectDetailPage/ProjectViewContainer.test.tsx:84:36
run-tests
Process completed with exit code 1.
run-tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636