2024-05-13 17:43:13 +02:00
|
|
|
appId: xyz.blueskyweb.app
|
|
|
|
---
|
|
|
|
- runScript:
|
|
|
|
file: ../setupServer.js
|
|
|
|
env:
|
|
|
|
SERVER_PATH: "?users&follows&thread"
|
|
|
|
- runFlow:
|
|
|
|
file: ../setupApp.yml
|
|
|
|
- tapOn:
|
|
|
|
id: "e2eSignInAlice"
|
|
|
|
|
|
|
|
|
|
|
|
# Navigate to thread
|
2024-09-07 22:52:00 +02:00
|
|
|
- extendedWaitUntil:
|
|
|
|
visible: "Thread root"
|
2024-05-13 17:43:13 +02:00
|
|
|
- tapOn: "Thread root"
|
|
|
|
- assertVisible: "Thread reply"
|
|
|
|
|
|
|
|
# Can like the root post
|
|
|
|
- tapOn:
|
|
|
|
id: "likeBtn"
|
|
|
|
childOf:
|
|
|
|
id: "postThreadItem-by-bob.test"
|
2024-09-14 01:55:01 +02:00
|
|
|
- assertVisible: "1 like"
|
2024-05-13 17:43:13 +02:00
|
|
|
- tapOn:
|
|
|
|
id: "likeBtn"
|
|
|
|
childOf:
|
|
|
|
id: "postThreadItem-by-bob.test"
|
2024-09-14 01:55:01 +02:00
|
|
|
- assertNotVisible: "1 like"
|
2024-05-13 17:43:13 +02:00
|
|
|
|
|
|
|
# Can like a reply post
|
|
|
|
- tapOn:
|
|
|
|
id: "likeBtn"
|
|
|
|
childOf:
|
|
|
|
id: "postThreadItem-by-carla.test"
|
|
|
|
- tapOn:
|
|
|
|
id: "likeBtn"
|
|
|
|
childOf:
|
|
|
|
id: "postThreadItem-by-carla.test"
|
|
|
|
|
|
|
|
# Can repost the root post
|
|
|
|
- tapOn:
|
|
|
|
id: "repostBtn"
|
|
|
|
childOf:
|
|
|
|
id: "postThreadItem-by-bob.test"
|
|
|
|
- tapOn: "Repost"
|
|
|
|
- assertVisible:
|
|
|
|
id: "repostCount-expanded"
|
|
|
|
- tapOn:
|
|
|
|
id: "repostBtn"
|
|
|
|
childOf:
|
|
|
|
id: "postThreadItem-by-bob.test"
|
2024-06-12 01:20:26 +02:00
|
|
|
- tapOn: "Remove repost"
|
2024-05-13 17:43:13 +02:00
|
|
|
- assertNotVisible:
|
|
|
|
id: "repostCount-expanded"
|
|
|
|
|
|
|
|
|
|
|
|
# Can repost a reply post
|
|
|
|
- tapOn:
|
|
|
|
id: "repostBtn"
|
|
|
|
childOf:
|
|
|
|
id: "postThreadItem-by-carla.test"
|
|
|
|
- tapOn: "Repost"
|
|
|
|
- assertVisible:
|
|
|
|
id: "repostCount"
|
|
|
|
childOf:
|
|
|
|
id: "postThreadItem-by-carla.test"
|
|
|
|
- tapOn:
|
|
|
|
id: "repostBtn"
|
|
|
|
childOf:
|
|
|
|
id: "postThreadItem-by-carla.test"
|
2024-06-12 01:20:26 +02:00
|
|
|
- tapOn: "Remove repost"
|
2024-05-13 17:43:13 +02:00
|
|
|
- assertNotVisible:
|
|
|
|
id: "repostCount"
|
|
|
|
childOf:
|
|
|
|
id: "postThreadItem-by-carla.test"
|