Skip to content

Commit

Permalink
Merge branch 'improvement/remove-the-solution-test-and-drop-the-page'…
Browse files Browse the repository at this point in the history
… into tmp/octopus/w/2.9/improvement/remove-the-solution-test-and-drop-the-page
  • Loading branch information
bert-e committed Mar 9, 2021
2 parents 5f54dfe + 88602f5 commit 78183bd
Show file tree
Hide file tree
Showing 18 changed files with 6 additions and 2,187 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,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

0 comments on commit 78183bd

Please sign in to comment.