about summary refs log tree commit diff
path: root/__e2e__/tests/shell.test.ts
diff options
context:
space:
mode:
Diffstat (limited to '__e2e__/tests/shell.test.ts')
-rw-r--r--__e2e__/tests/shell.test.ts7
1 files changed, 3 insertions, 4 deletions
diff --git a/__e2e__/tests/shell.test.ts b/__e2e__/tests/shell.test.ts
index 5cfd4277f..69619dd81 100644
--- a/__e2e__/tests/shell.test.ts
+++ b/__e2e__/tests/shell.test.ts
@@ -1,16 +1,15 @@
 /* eslint-env detox/detox */
 
-import {openApp, login, createServer} from '../util'
+import {openApp, loginAsAlice, createServer} from '../util'
 
 describe('Shell', () => {
-  let service: string
   beforeAll(async () => {
-    service = await createServer('?users')
+    await createServer('?users')
     await openApp({permissions: {notifications: 'YES'}})
   })
 
   it('Login', async () => {
-    await login(service, 'alice', 'hunter2')
+    await loginAsAlice()
     await element(by.id('homeScreenFeedTabs-Following')).tap()
   })