mirror of
https://github.com/standardnotes/mobile.git
synced 2026-09-08 11:26:51 -04:00
Refactor e2e helpers
This commit is contained in:
4 files changed
+13
-2
No files matched your search
@@ -0,0 +1,8 @@
|
||||
module.exports.openSettingsScreen = async () => {
|
||||
await device.reloadReactNative();
|
||||
|
||||
// Opens the settings screen
|
||||
await waitFor(element(by.id('rootView'))).toBeVisible().withTimeout(2000);
|
||||
await element(by.id('headerButton')).tap();
|
||||
await element(by.id('settingsButton')).tap();
|
||||
};
|
||||
Reference in new issue
Block a user