diff options
author | Paul Frazee <pfrazee@gmail.com> | 2024-03-19 17:54:40 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-19 17:54:40 -0700 |
commit | 54f424d0476f7da221b890c9096886b3ca3ac472 (patch) | |
tree | c45d1ee2ef89978b8bf064cec0d94f9e37b53185 /__e2e__/tests/profile-screen.test.ts | |
parent | a90566d86439a96509967f522069a4be729dfc1b (diff) | |
download | voidsky-54f424d0476f7da221b890c9096886b3ca3ac472.tar.zst |
Various e2e test fixes (#3284)
* Just use the first picture every time * Add missing testIDs * Various test fixes * Use simplified link fetcher for e2e * Disable tests for now-n * Update test-env creation
Diffstat (limited to '__e2e__/tests/profile-screen.test.ts')
-rw-r--r-- | __e2e__/tests/profile-screen.test.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/__e2e__/tests/profile-screen.test.ts b/__e2e__/tests/profile-screen.test.ts index 7ff43642f..13d0fa8ef 100644 --- a/__e2e__/tests/profile-screen.test.ts +++ b/__e2e__/tests/profile-screen.test.ts @@ -70,10 +70,10 @@ describe('Profile screen', () => { await element(by.id('profileHeaderEditProfileButton')).tap() await expect(element(by.id('editProfileModal'))).toBeVisible() await element(by.id('changeBannerBtn')).tap() - await element(by.text('Library')).tap() + await element(by.text('Upload from Library')).tap() await sleep(3e3) await element(by.id('changeAvatarBtn')).tap() - await element(by.text('Library')).tap() + await element(by.text('Upload from Library')).tap() await sleep(3e3) await element(by.id('editProfileSaveBtn')).tap() await expect(element(by.id('editProfileModal'))).not.toBeVisible() @@ -87,9 +87,9 @@ describe('Profile screen', () => { await element(by.id('profileHeaderEditProfileButton')).tap() await expect(element(by.id('editProfileModal'))).toBeVisible() await element(by.id('changeBannerBtn')).tap() - await element(by.text('Remove')).tap() + await element(by.text('Remove Banner')).tap() await element(by.id('changeAvatarBtn')).tap() - await element(by.text('Remove')).tap() + await element(by.text('Remove Avatar')).tap() await element(by.id('editProfileSaveBtn')).tap() await expect(element(by.id('editProfileModal'))).not.toBeVisible() await expect(element(by.id('userBannerFallback'))).toExist() |