Skip to content

Commit

Permalink
navigate to NFTs page test (#2248)
Browse files Browse the repository at this point in the history
  • Loading branch information
juans-chainsafe authored Aug 22, 2022
1 parent 029c24b commit e18948a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ export const navigationMenu = {
homeNavButton: () => cy.get("[data-cy=home-nav]"),
cidsNavButton: () => cy.get("[data-cy=cids-nav]"),
bucketsNavButton: () => cy.get("[data-cy=buckets-nav]"),
nftsNavButton: () => cy.get("[data-cy=nfts-nav]"),
apiKeysNavButton: () => cy.get("[data-cy=api-keys-nav]"),
// settingsNavButton: () => cy.get("[data-cy=settings-nav]"),
// docsNavButton: () => cy.get("[data-cy=docs-nav]"),
Expand Down
10 changes: 10 additions & 0 deletions packages/storage-ui/cypress/tests/main-navigation.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ describe("Main Navigation", () => {
cy.url().should("include", "/buckets")
})

it.skip("can navigate to the NFTs page", () => {
navigationMenu.nftsNavButton().click()
cy.url().should("include", "/nfts")
})

it("can navigate to the API keys page", () => {
navigationMenu.apiKeysNavButton().click()
cy.url().should("include", "/api-keys")
Expand Down Expand Up @@ -53,6 +58,11 @@ describe("Main Navigation", () => {
cy.url().should("include", "/buckets")
})

it.skip("can navigate to the NFTs page", () => {
navigationMenu.nftsNavButton().click()
cy.url().should("include", "/nfts")
})

it("can navigate to the API keys page", () => {
navigationMenu.apiKeysNavButton().click()
cy.url().should("include", "/api-keys")
Expand Down

0 comments on commit e18948a

Please sign in to comment.