This repository has been archived by the owner on Jun 16, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding in files that were removed in the rebase
- Loading branch information
1 parent
f7444ec
commit ef8ee12
Showing
18 changed files
with
660 additions
and
179 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
{ | ||
"globalSetup": "./global-setup.js", | ||
"globalTeardown": "./global-teardown.js", | ||
"setupFilesAfterEnv": ["./setup.js"], | ||
"testEnvironment": "./environment", | ||
"testRunner": "jest-circus/runner", | ||
"testTimeout": 300000, | ||
"testRegex": "\\.spec\\.js$", | ||
"reporters": ["detox/runners/jest/streamlineReporter"], | ||
"verbose": true, | ||
"setupFilesAfterEnv": ["./init.js"] | ||
"verbose": true | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,12 @@ | ||
import * as testHelpers from "../helpers"; | ||
|
||
export default class PasswordEntryPage { | ||
static async enterPassword(password) { | ||
await testHelpers.typeText("password-text-input", password); | ||
} | ||
|
||
static async login() { | ||
await testHelpers.tapByText("Log in"); | ||
await testHelpers.delay(10000); | ||
} | ||
} |
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,22 @@ | ||
import * as testHelpers from "../../helpers"; | ||
|
||
export default class GeneralSettingsPage { | ||
static async togglePassword() { | ||
await testHelpers.scrollToElementById( | ||
"password-settings-toggle", | ||
"general-settings-scroll-view", | ||
200, | ||
); | ||
|
||
await testHelpers.tap("password-settings-toggle"); | ||
} | ||
|
||
static async enterNewPassword(passwordText) { | ||
await testHelpers.typeText("password-text-input", passwordText); | ||
await testHelpers.tap("Proceed"); | ||
} | ||
|
||
static async isVisible() { | ||
await testHelpers.verifyTextIsVisible("General"); | ||
} | ||
} |
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,7 @@ | ||
import * as testHelpers from "../../helpers"; | ||
|
||
export default class SettingsPage { | ||
static async navigateToGeneralSettings() { | ||
await testHelpers.tap("general-settings-card"); | ||
} | ||
} |
Oops, something went wrong.