Skip to content

Commit

Permalink
e2e: fixt tests, settings in resources is not visible anymore, object…
Browse files Browse the repository at this point in the history
…-storage has a new url path
  • Loading branch information
andypf committed May 7, 2024
1 parent 8edb9d1 commit 739c8ec
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
2 changes: 0 additions & 2 deletions e2e/cypress/integration/admin/resources.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,5 @@ describe("resource management - project level", () => {
cy.visit(`/${Cypress.env("TEST_DOMAIN")}/admin/resources/project`)
cy.contains("[data-test=page-title]", "Manage Project Resources")
cy.contains("div", "Members per Server Group")
cy.get('a[href*="#/compute/settings"]').click()
cy.contains("h4", "Project Settings")
})
})
9 changes: 5 additions & 4 deletions e2e/cypress/integration/member/shared_object_storage.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@ describe("shared object storage", () => {
})

it("open object storage and see that I need one of the respective roles", () => {
cy.visit(`/${Cypress.env("TEST_DOMAIN")}/test/object-storage/`)
cy.contains('[data-test=page-title]','Object Storage')
cy.contains('Object Storage can only be used when your user account has the admin or objectstore_admin or objectstore_viewer role for this project.')
cy.visit(`/${Cypress.env("TEST_DOMAIN")}/test/object-storage/swift`)
cy.contains("[data-test=page-title]", "Object Storage")
cy.contains(
"Object Storage can only be used when your user account has the admin or objectstore_admin or objectstore_viewer role for this project."
)
})

})

0 comments on commit 739c8ec

Please sign in to comment.