RedHatInsights / tower-analytics-frontend

Automation Analytics provides data analytics for Ansible Tower that provides visualization and insight into how automation is used in your organization.
https://console.redhat.com/ansible/ansible-dashboard
Apache License 2.0
9 stars 28 forks source link

[PROD-test] Fix package incosistency #998

Closed ZitaNemeckova closed 1 year ago

ZitaNemeckova commented 1 year ago

Before: npm ci

npm ERR! code EUSAGE
npm ERR! 
npm ERR! `npm ci` can only install packages when your package.json and package-lock.json or npm-shrinkwrap.json are in sync. Please update your lock file with `npm install` before continuing.
npm ERR! 
npm ERR! Invalid: lock file's @patternfly/react-core@4.277.0 does not satisfy @patternfly/react-core@4.278.0
npm ERR! Invalid: lock file's @redhat-cloud-services/rbac-client@1.2.8 does not satisfy @redhat-cloud-services/rbac-client@1.2.10
npm ERR! Invalid: lock file's @scalprum/core@0.5.2 does not satisfy @scalprum/core@0.5.4
npm ERR! Invalid: lock file's @scalprum/react-core@0.5.2 does not satisfy @scalprum/react-core@0.5.4
npm ERR! Invalid: lock file's @openshift/dynamic-plugin-sdk@3.0.0 does not satisfy @openshift/dynamic-plugin-sdk@4.0.0
npm ERR! 
npm ERR! Clean install a project
npm ERR! 
npm ERR! Usage:
npm ERR! npm ci
npm ERR! 
npm ERR! Options:
npm ERR! [--install-strategy <hoisted|nested|shallow|linked>] [--legacy-bundling]
npm ERR! [--global-style] [--omit <dev|optional|peer> [--omit <dev|optional|peer> ...]]
npm ERR! [--strict-peer-deps] [--foreground-scripts] [--ignore-scripts] [--no-audit]
npm ERR! [--no-bin-links] [--no-fund] [--dry-run]
npm ERR! [-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
npm ERR! [-ws|--workspaces] [--include-workspace-root] [--install-links]
npm ERR! 
npm ERR! aliases: clean-install, ic, install-clean, isntall-clean
npm ERR! 
npm ERR! Run "npm help ci" for more info

After: npm ci

added 2025 packages, and audited 2028 packages in 31s

260 packages are looking for funding
  run `npm fund` for details

22 vulnerabilities (14 moderate, 8 high)

To address issues that do not require attention, run:
  npm audit fix

To address all issues (including breaking changes), run:
  npm audit fix --force

Run `npm audit` for details.
cypress[bot] commented 1 year ago

7 failed and 2 flaky tests on run #1654 ↗︎

7 61 2 0 Flakiness 2

Details:

Downgrade node to v17
Project: tower-analytics-frontend Commit: 58ddb9dbeb
Status: Failed Duration: 16:03 💡
Started: Oct 10, 2023 8:43 AM Ended: Oct 10, 2023 8:59 AM
Failed  AutomationCalculator.spec.js • 2 failed tests View Output Video
Test Artifacts
Automation Calculator page > can change manual cost Output Screenshots
Automation Calculator page > can change visibility Output Screenshots
Failed  Clusters.spec.js • 2 failed tests View Output Video
Test Artifacts
Clusters page > verifies number of items in API response Output Screenshots
Clusters page > has anchor clear filters link Output Screenshots
Failed  Global.spec.js • 1 failed test View Output Video
Test Artifacts
Insights smoketests > has all the AA navigation items Output Screenshots
Failed  Reports.spec.js • 1 failed test View Output Video
Test Artifacts
Reports' navigation on Reports page - smoketests > All report are accessible in preview via arrows Output Screenshots
Failed  ReportsPage.spec.js • 1 failed test View Output Video
Test Artifacts
Reports page smoketests > All report are accessible in preview via arrows Output Screenshots
Flakiness  AutomationCalculator.spec.js • 1 flaky test View Output Video
Test Artifacts
Automation Calculator page > can change automated cost Output Screenshots
Flakiness  ReportsPage.spec.js • 1 flaky test View Output Video
Test Artifacts
Reports page smoketests > All report cards can be selected for the preview with correct links Output Screenshots

Review all test suite changes for PR #998 ↗︎