d16c8aedfb
* Add e2e debug support for AA * Remove dup tap call * Update dev-env
113 lines
2.4 KiB
YAML
113 lines
2.4 KiB
YAML
appId: xyz.blueskyweb.app
|
|
---
|
|
- runScript:
|
|
file: ../setupServer.js
|
|
env:
|
|
SERVER_PATH: "?users&follows"
|
|
- runFlow:
|
|
file: ../setupApp.yml
|
|
|
|
# Login, create a thread, and log out
|
|
- tapOn:
|
|
id: "e2eSignInAlice"
|
|
- extendedWaitUntil:
|
|
visible:
|
|
id: "viewHeaderHomeFeedPrefsBtn"
|
|
- assertVisible:
|
|
id: "composeFAB"
|
|
- tapOn:
|
|
id: "composeFAB"
|
|
- inputText: "Test thread"
|
|
- tapOn:
|
|
id: "composerPublishBtn"
|
|
|
|
# Login, reply to the thread, and log out
|
|
- tapOn:
|
|
id: "e2eSignOut"
|
|
- tapOn:
|
|
id: "e2eSignInBob"
|
|
- extendedWaitUntil:
|
|
visible:
|
|
id: "viewHeaderHomeFeedPrefsBtn"
|
|
- tapOn:
|
|
id: "replyBtn"
|
|
- inputText: "Reply 1"
|
|
- tapOn:
|
|
id: "composerPublishBtn"
|
|
|
|
# Login, confirm notification exists, mute thread, and log out
|
|
- tapOn:
|
|
id: "e2eSignOut"
|
|
- tapOn:
|
|
id: "e2eSignInAlice"
|
|
- extendedWaitUntil:
|
|
visible:
|
|
id: "viewHeaderHomeFeedPrefsBtn"
|
|
- tapOn:
|
|
id: "bottomBarNotificationsBtn"
|
|
- assertVisible:
|
|
id: "feedItem-by-bob.test"
|
|
- tapOn:
|
|
id: "feedItem-by-bob.test"
|
|
- tapOn:
|
|
id: "postDropdownBtn"
|
|
childOf:
|
|
id: "postThreadItem-by-bob.test"
|
|
- tapOn: "Mute thread"
|
|
|
|
# Login, reply to the thread twice, and log out
|
|
- tapOn:
|
|
id: "e2eSignOut"
|
|
- tapOn:
|
|
id: "e2eSignInBob"
|
|
- extendedWaitUntil:
|
|
visible:
|
|
id: "viewHeaderHomeFeedPrefsBtn"
|
|
- tapOn:
|
|
id: "bottomBarProfileBtn"
|
|
- tapOn:
|
|
id: "profilePager-selector-1"
|
|
- tapOn:
|
|
id: "replyBtn"
|
|
- inputText: "Reply 2"
|
|
- tapOn:
|
|
id: "composerPublishBtn"
|
|
- tapOn:
|
|
id: "replyBtn"
|
|
- inputText: "Reply 3"
|
|
- tapOn:
|
|
id: "composerPublishBtn"
|
|
|
|
# Login, confirm notifications dont exist, unmute the thread, ~~confirm notifications exist~~
|
|
# Mute thread behaviour no longer change old notifications after muting/unmuting a thread -sfn
|
|
- tapOn:
|
|
id: "e2eSignOut"
|
|
- tapOn:
|
|
id: "e2eSignInAlice"
|
|
- extendedWaitUntil:
|
|
visible:
|
|
id: "viewHeaderHomeFeedPrefsBtn"
|
|
- tapOn:
|
|
id: "bottomBarNotificationsBtn"
|
|
- assertVisible: ".*Reply 1.*"
|
|
- assertNotVisible: ".*Reply 2.*"
|
|
- assertNotVisible: ".*Reply 3.*"
|
|
- assertVisible:
|
|
id: "feedItem-by-bob.test"
|
|
- tapOn:
|
|
id: "feedItem-by-bob.test"
|
|
- tapOn:
|
|
id: "postDropdownBtn"
|
|
childOf:
|
|
id: "postThreadItem-by-bob.test"
|
|
- tapOn: "Unmute thread"
|
|
- tapOn:
|
|
id: "bottomBarNotificationsBtn"
|
|
- swipe:
|
|
from:
|
|
id: "notifsFeed"
|
|
direction: DOWN
|
|
- assertVisible: ".*Reply 1.*"
|
|
- assertNotVisible: ".*Reply 2.*"
|
|
- assertNotVisible: ".*Reply 3.*"
|