diff options
Diffstat (limited to '__e2e__/flows/thread-muting.yml')
-rw-r--r-- | __e2e__/flows/thread-muting.yml | 47 |
1 files changed, 38 insertions, 9 deletions
diff --git a/__e2e__/flows/thread-muting.yml b/__e2e__/flows/thread-muting.yml index e588805c2..2724833fe 100644 --- a/__e2e__/flows/thread-muting.yml +++ b/__e2e__/flows/thread-muting.yml @@ -3,13 +3,16 @@ appId: xyz.blueskyweb.app - runScript: file: ../setupServer.js env: - SERVER_PATH: "?users&follows" + 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: @@ -20,7 +23,12 @@ appId: xyz.blueskyweb.app # Login, reply to the thread, and log out - tapOn: + id: "e2eSignOut" +- tapOn: id: "e2eSignInBob" +- extendedWaitUntil: + visible: + id: "viewHeaderHomeFeedPrefsBtn" - tapOn: id: "replyBtn" - inputText: "Reply 1" @@ -29,7 +37,12 @@ appId: xyz.blueskyweb.app # Login, confirm notification exists, mute thread, and log out - tapOn: + id: "e2eSignOut" +- tapOn: id: "e2eSignInAlice" +- extendedWaitUntil: + visible: + id: "viewHeaderHomeFeedPrefsBtn" - tapOn: id: "bottomBarNotificationsBtn" - assertVisible: @@ -39,12 +52,17 @@ appId: xyz.blueskyweb.app - tapOn: id: "postDropdownBtn" childOf: - id: "postThreadItem-by-bob.test" + 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: @@ -60,24 +78,35 @@ appId: xyz.blueskyweb.app - tapOn: id: "composerPublishBtn" - -# Login, confirm notifications dont exist, unmute the thread, confirm notifications exist +# 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" -- assertNotVisible: +- assertVisible: ".*Reply 1.*" +- assertNotVisible: ".*Reply 2.*" +- assertNotVisible: ".*Reply 3.*" +- assertVisible: id: "feedItem-by-bob.test" - tapOn: - id: "bottomBarHomeBtn" + id: "feedItem-by-bob.test" - tapOn: id: "postDropdownBtn" + childOf: + id: "postThreadItem-by-bob.test" - tapOn: "Unmute thread" - tapOn: id: "bottomBarNotificationsBtn" - swipe: from: - id: "notifsFeed" + id: "notifsFeed" direction: DOWN -- assertVisible: - id: "feedItem-by-bob.test" +- assertVisible: ".*Reply 1.*" +- assertNotVisible: ".*Reply 2.*" +- assertNotVisible: ".*Reply 3.*" |