Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[UI] Drop the solution page and related test #3167

Merged
Merged
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,11 @@
Salt dependencies from "base" RHEL 7 repository
(PR [#3083](https://github.com/scality/metalk8s/pull/3083))

### Deprecations and Removals

- [#3168](https://github.com/scality/metalk8s/issues/3168) - [UI] Remove the environment page
(PR [#3167](https://github.com/scality/metalk8s/pull/3167))

## Release 2.7.4 (in development)

## Release 2.7.3
Expand Down
24 changes: 0 additions & 24 deletions eve/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2521,30 +2521,6 @@ stages:
env:
<<: *_env_bastion_tests
PYTEST_FILTERS: "solution"
- SetPropertyFromCommand: *set_bootstrap_cp_ip_ssh
- ShellCommand: &import_solution_archive_ssh
name: Import Solution example-solution archive
env:
SOLUTION_ARCHIVE: /var/tmp/example-solution.iso
command: >
ssh -F ssh_config bootstrap
sudo /var/tmp/metalk8s/solutions.sh
import --archive "$SOLUTION_ARCHIVE"
workdir: build/eve/workers/openstack-terraform/terraform/
haltOnFailure: true
- ShellCommand:
<<: *import_solution_archive_ssh
name: Import Solution next example-solution archive
env:
SOLUTION_ARCHIVE: /var/tmp/example-solution-next.iso
- ShellCommand:
<<: *bastion_ui_tests
name: Run Solutions UI tests
env:
<<: *_env_bastion_ui_tests
TEST_FILTER: "e2esolutions"
- ShellCommand: *collect_cypress_result_ssh
- Upload: *upload_cypress_artifacts
- ShellCommand: *generate_report_over_ssh
- ShellCommand:
<<: *collect_report_over_ssh
Expand Down
50 changes: 0 additions & 50 deletions ui/cypress/integration/e2e/Solutions.feature

This file was deleted.

169 changes: 0 additions & 169 deletions ui/cypress/integration/e2e/Solutions/steps.js

This file was deleted.

6 changes: 0 additions & 6 deletions ui/cypress/integration/sidebar.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,6 @@ describe('Sidebar', () => {
cy.get('@historyPush').should('be.calledWith', '/volumes');
});

it('brings me to the environment page', () => {
cy.get('[data-cy="sidebar_item_environments"]').click();

cy.get('@historyPush').should('be.calledWith', '/environments');
});

it('can be expanded', () => {
cy.window()
.its('localStorage')
Expand Down
3 changes: 1 addition & 2 deletions ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@
"eject": "react-scripts eject",
"test:nowatch": "CI=true react-app-rewired test --env=jsdom --reporters=default --reporters=jest-junit",
"test:integration": "cypress run --spec 'cypress/integration/**/*.spec.js'",
"test:e2e": "cypress run --spec 'cypress/integration/e2e/**/!(Solutions).feature'",
"test:e2esolutions": "cypress run --spec 'cypress/integration/e2e/Solutions.feature'",
"test:e2e": "cypress run --spec 'cypress/integration/e2e/**/*.feature'",
"flow": "flow check"
},
"eslintConfig": {
Expand Down
Loading