about summary refs log tree commit diff
path: root/__e2e__/tests/text-verification.test.ts
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2024-02-12 18:55:19 -0800
committerGitHub <noreply@github.com>2024-02-12 18:55:19 -0800
commit543e114877fcd00dd8c717a1116757a1a37d5aff (patch)
treef2a5b6b44622c53e4891208c00434acc9e90c9b1 /__e2e__/tests/text-verification.test.ts
parentfad40dda97c4c4ecc4165524d0898494582ccac2 (diff)
downloadvoidsky-543e114877fcd00dd8c717a1116757a1a37d5aff.tar.zst
Update tests to get them passing again (#2853)
Diffstat (limited to '__e2e__/tests/text-verification.test.ts')
-rw-r--r--__e2e__/tests/text-verification.test.ts14
1 files changed, 5 insertions, 9 deletions
diff --git a/__e2e__/tests/text-verification.test.ts b/__e2e__/tests/text-verification.test.ts
index 3c556c239..79b14aeca 100644
--- a/__e2e__/tests/text-verification.test.ts
+++ b/__e2e__/tests/text-verification.test.ts
@@ -18,9 +18,10 @@ describe('Create account', () => {
     await device.takeScreenshot('1- opened create account screen')
     await element(by.id('selectServiceButton')).tap()
     await device.takeScreenshot('2- selected other server')
+    await element(by.id('customSelectBtn')).tap()
     await element(by.id('customServerTextInput')).typeText(service)
     await element(by.id('customServerTextInput')).tapReturnKey()
-    await element(by.id('customServerSelectBtn')).tap()
+    await element(by.id('doneBtn')).tap()
     await device.takeScreenshot('3- input test server URL')
     await element(by.id('emailInput')).typeText('text-verification@test.com')
     await element(by.id('passwordInput')).typeText('hunter2')
@@ -40,13 +41,7 @@ describe('Create account', () => {
 
     await element(by.id('nextBtn')).tap()
 
-    await expect(element(by.id('welcomeOnboarding'))).toBeVisible()
-    await element(by.id('continueBtn')).tap()
-    await expect(element(by.id('recommendedFeedsOnboarding'))).toBeVisible()
-    await element(by.id('continueBtn')).tap()
-    await expect(element(by.id('recommendedFollowsOnboarding'))).toBeVisible()
-    await element(by.id('continueBtn')).tap()
-    await expect(element(by.id('homeScreen'))).toBeVisible()
+    await expect(element(by.id('onboardingInterests'))).toBeVisible()
   })
 
   it('failed text verification correctly goes back to the code input screen', async () => {
@@ -57,9 +52,10 @@ describe('Create account', () => {
     await device.takeScreenshot('1- opened create account screen')
     await element(by.id('selectServiceButton')).tap()
     await device.takeScreenshot('2- selected other server')
+    await element(by.id('customSelectBtn')).tap()
     await element(by.id('customServerTextInput')).typeText(service)
     await element(by.id('customServerTextInput')).tapReturnKey()
-    await element(by.id('customServerSelectBtn')).tap()
+    await element(by.id('doneBtn')).tap()
     await device.takeScreenshot('3- input test server URL')
     await element(by.id('emailInput')).typeText('text-verification2@test.com')
     await element(by.id('passwordInput')).typeText('hunter2')