about summary refs log tree commit diff
path: root/__e2e__/tests/invites-and-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/invites-and-text-verification.test.ts
parentfad40dda97c4c4ecc4165524d0898494582ccac2 (diff)
downloadvoidsky-543e114877fcd00dd8c717a1116757a1a37d5aff.tar.zst
Update tests to get them passing again (#2853)
Diffstat (limited to '__e2e__/tests/invites-and-text-verification.test.ts')
-rw-r--r--__e2e__/tests/invites-and-text-verification.test.ts13
1 files changed, 4 insertions, 9 deletions
diff --git a/__e2e__/tests/invites-and-text-verification.test.ts b/__e2e__/tests/invites-and-text-verification.test.ts
index 850ca6d5c..863b31107 100644
--- a/__e2e__/tests/invites-and-text-verification.test.ts
+++ b/__e2e__/tests/invites-and-text-verification.test.ts
@@ -28,16 +28,17 @@ describe('invite-codes', () => {
     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('inviteCodeInput')).typeText(inviteCode)
     await element(by.id('emailInput')).typeText('example@test.com')
     await element(by.id('passwordInput')).typeText('hunter2')
     await device.takeScreenshot('4- entered account details')
     await element(by.id('nextBtn')).tap()
-    await element(by.id('phoneInput')).typeText('5558675309')
+    await element(by.id('phoneInput')).typeText('2345551234')
     await element(by.id('requestCodeBtn')).tap()
     await device.takeScreenshot('5- requested code')
     await element(by.id('codeInput')).typeText('000000')
@@ -46,12 +47,6 @@ describe('invite-codes', () => {
     await element(by.id('handleInput')).typeText('e2e-test')
     await device.takeScreenshot('7- entered handle')
     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()
   })
 })