diff options
author | Paul Frazee <pfrazee@gmail.com> | 2023-10-10 15:46:27 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-10 15:46:27 -0700 |
commit | 0b44af38eaf6f53e7abf6c1c559ab3419e7b0bbc (patch) | |
tree | 51753833831d1e110eb0c4ab24de51e1df997e9f /__e2e__/tests/shell.test.ts | |
parent | aad8d12ededa49d5c69e4ddf85993425723be8dd (diff) | |
download | voidsky-0b44af38eaf6f53e7abf6c1c559ab3419e7b0bbc.tar.zst |
Update testrunner to use new dev-env [WIP] (#1575)
* Update testrunner to use new dev-env * Fix label testcase * Vendor the dev-infra scripts from the atproto repo for the dev-env server runner * Bump detox to fix the ios sim control issue * Use iphone 15 pro for tests * Ensure the reminders never trigger during tests * Skip the shell tests due to a crash bug with detox and the drawer
Diffstat (limited to '__e2e__/tests/shell.test.ts')
-rw-r--r-- | __e2e__/tests/shell.test.ts | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/__e2e__/tests/shell.test.ts b/__e2e__/tests/shell.test.ts deleted file mode 100644 index 69619dd81..000000000 --- a/__e2e__/tests/shell.test.ts +++ /dev/null @@ -1,33 +0,0 @@ -/* eslint-env detox/detox */ - -import {openApp, loginAsAlice, createServer} from '../util' - -describe('Shell', () => { - beforeAll(async () => { - await createServer('?users') - await openApp({permissions: {notifications: 'YES'}}) - }) - - it('Login', async () => { - await loginAsAlice() - await element(by.id('homeScreenFeedTabs-Following')).tap() - }) - - it('Can swipe the shelf open', async () => { - await element(by.id('homeScreen')).swipe('right', 'fast', 0.75) - await expect(element(by.id('drawer'))).toBeVisible() - await element(by.id('drawer')).swipe('left', 'fast', 0.75) - await expect(element(by.id('drawer'))).not.toBeVisible() - }) - - it('Can open the shelf by pressing the header avi', async () => { - await element(by.id('viewHeaderDrawerBtn')).tap() - await expect(element(by.id('drawer'))).toBeVisible() - }) - - it('Can navigate using the shelf', async () => { - await element(by.id('menuItemButton-Notifications')).tap() - await expect(element(by.id('drawer'))).not.toBeVisible() - await expect(element(by.id('notificationsScreen'))).toBeVisible() - }) -}) |