-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* get started * wip * it is working * cleanup * lint and cleanup * navigate to setting on pc and phone (different views) * more settings test, remove Sharedtransfermodal * Update packages/files-ui/cypress/integration/settings.ts * Update packages/files-ui/cypress/support/commands.ts Co-authored-by: Michael Yankelev <12774278+FSM1@users.noreply.github.com> Co-authored-by: Thibaut Sardan <hi@thib.top> Co-authored-by: Michael Yankelev <12774278+FSM1@users.noreply.github.com>
- Loading branch information
1 parent
ffe435e
commit dcfd3d8
Showing
14 changed files
with
155 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
describe("Settings", () => { | ||
it("can navigate to the settings profile page", () => { | ||
cy.web3Login() | ||
cy.get("[data-cy=settings-nav]").click() | ||
cy.get("[data-cy=settings-profile-header").should("be.visible") | ||
cy.url().should("include", "/settings") | ||
cy.get(".profile").click() | ||
cy.url().should("include", "/settings/profile") | ||
cy.get("[data-cy=settings-profile-header]").should("be.visible") | ||
cy.get(".security").click() | ||
cy.url().should("include", "/settings/security") | ||
cy.get("[data-cy=settings-security-header").should("be.visible") | ||
}) | ||
|
||
it("can navigate to the settings security page on a phone", () => { | ||
cy.viewport("iphone-6") | ||
cy.web3Login() | ||
cy.get(".hamburger-menu").click() | ||
cy.get("[data-cy=settings-nav]").click() | ||
cy.get("[data-cy=settings-profile-header]").should("not.exist") | ||
cy.url().should("include", "/settings") | ||
cy.get(".profile").click() | ||
cy.url().should("include", "/settings/profile") | ||
cy.get("[data-cy=settings-profile-header").should("be.visible") | ||
cy.go("back") | ||
cy.get(".security").click() | ||
cy.url().should("include", "/settings/security") | ||
cy.get("[data-cy=settings-security-header").should("be.visible") | ||
}) | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters