Created CI/CD Pipeline #10
CICDPipeline.yml
on: pull_request
Annotations
5 errors and 1 warning
|
React Lint & Test
Process completed with exit code 1.
|
|
src/components/charts/__tests__/test_getTopContributorsAndRepos.test.js > getTopContributorsAndRepos > counts repository activity and sorts correctly:
Frontend/src/components/charts/__tests__/test_getTopContributorsAndRepos.test.js#L41
AssertionError: expected [] to deeply equal [ { name: 'repo1', count: 2 }, …(1) ]
- Expected
+ Received
- [
- {
- "count": 2,
- "name": "repo1",
- },
- {
- "count": 1,
- "name": "repo2",
- },
- ]
+ []
❯ src/components/charts/__tests__/test_getTopContributorsAndRepos.test.js:41:22
|
|
src/components/charts/__tests__/test_getTopContributorsAndRepos.test.js > getTopContributorsAndRepos > counts contributor activity and sorts correctly:
Frontend/src/components/charts/__tests__/test_getTopContributorsAndRepos.test.js#L24
AssertionError: expected [] to deeply equal [ { name: 'alice', count: 2 }, …(1) ]
- Expected
+ Received
- [
- {
- "count": 2,
- "name": "alice",
- },
- {
- "count": 1,
- "name": "bob",
- },
- ]
+ []
❯ src/components/charts/__tests__/test_getTopContributorsAndRepos.test.js:24:29
|
|
src/components/charts/__tests__/test_VolumeChart.test.jsx > VolumeCharts Component > displays correct data for Organization level:
Frontend/src/components/charts/__tests__/test_VolumeChart.test.jsx#L24
TestingLibraryElementError: Unable to find an element with the text: Organization Level Volume Data. 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="chart-container"
style="height: 100%; display: flex; flex-direction: column;"
>
<h3
class="text-center font-semibold mb-4"
>
Volume-Based Data
</h3>
<div
style="position: relative; flex: 1 1 0%; min-height: 0;"
>
<div
data-testid="mock-bar-chart"
>
<span />
<div>
["Avg Issues Opened","Avg Issues Closed","Avg PRs Opened","Avg Commits"]
</div>
</div>
</div>
</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/components/charts/__tests__/test_VolumeChart.test.jsx:24:23
|
|
src/components/charts/__tests__/test_TimeBased.test.jsx > TimeBased chart > renders chart title:
Frontend/src/components/charts/__tests__/test_TimeBased.test.jsx#L15
TestingLibraryElementError: Unable to find an element with the text: Org Average Time to Close. 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="chart-container"
>
<h3
class="text-center font-semibold mb-4"
>
Time-Based Data
</h3>
<div
class="recharts-responsive-container"
style="width: 100%; height: 300px; min-width: 0;"
>
<div
style="width: 0px; overflow-x: visible;"
/>
</div>
</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/components/charts/__tests__/test_TimeBased.test.jsx:15:14
|
|
Python Backend Tests
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/setup-python@v5. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|