Skip to content

Commit

Permalink
Restore host before running the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
arbulu89 committed Jun 27, 2024
1 parent 94b1965 commit b1c9775
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .photofinish.toml
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,12 @@ files = [
"./test/fixtures/scenarios/hana-cluster-details/b767b3e9-e802-587e-a442-541d093b86b9_ha_cluster_discovery_nutanix_provider.json",
]

[host-details-vmhdbprd01]

files = [
"./test/fixtures/scenarios/healthy-27-node-SAP-cluster/9cd46919-5f19-59aa-993e-cf3736c71053_host_discovery.json",
]

[host-details-azure]

files = [
Expand Down
4 changes: 4 additions & 0 deletions test/e2e/cypress/e2e/host_details.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -477,6 +477,10 @@ context('Host Details', () => {
describe('Forbidden actions', () => {
const password = 'password';

before(() => {
cy.loadScenario(`host-details-${selectedHost.hostName}`);
})

beforeEach(() => {
cy.deleteAllUsers();
cy.logout();
Expand Down

0 comments on commit b1c9775

Please sign in to comment.