forked from bluesky-social/social-app
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace e2e tests with Maestro (bluesky-social#3983)
* Setup maestro tests and convert some initial tests * Remove detox * Replace all tests with maestro
- Loading branch information
Showing
41 changed files
with
882 additions
and
1,730 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
flows: | ||
- "flows/*" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
appId: xyz.blueskyweb.app | ||
--- | ||
- runScript: | ||
file: ../setupServer.js | ||
env: | ||
SERVER_PATH: ?users | ||
- runFlow: | ||
file: ../setupApp.yml | ||
- tapOn: | ||
id: "e2eSignInAlice" | ||
|
||
# Post an image with the porn label | ||
- tapOn: | ||
id: "composeFAB" | ||
- inputText: "Post with an image" | ||
- tapOn: | ||
id: "openGalleryBtn" | ||
- tapOn: | ||
id: "labelsBtn" | ||
- tapOn: | ||
label: "Tap on porn" | ||
point: 78%,67% | ||
- tapOn: | ||
label: "Tap on confirm" | ||
point: 51%,92% | ||
- tapOn: | ||
id: "composerPublishBtn" | ||
- tapOn: | ||
id: "e2eRefreshHome" | ||
- assertVisible: "Adult Content" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
appId: xyz.blueskyweb.app | ||
--- | ||
- runScript: | ||
file: ../setupServer.js | ||
env: | ||
SERVER_PATH: ?users | ||
- runFlow: | ||
file: ../setupApp.yml | ||
- tapOn: | ||
id: "e2eSignInAlice" | ||
- tapOn: | ||
id: "composeFAB" | ||
- inputText: "Post text only" | ||
- tapOn: | ||
id: "composerPublishBtn" | ||
- assertVisible: | ||
id: "composeFAB" | ||
- tapOn: | ||
id: "composeFAB" | ||
- inputText: "Post with an image" | ||
- tapOn: | ||
id: "openGalleryBtn" | ||
- tapOn: | ||
id: "composerPublishBtn" | ||
- assertVisible: | ||
id: "composeFAB" | ||
- tapOn: | ||
id: "composeFAB" | ||
- inputText: "Post with a https://example.com link card" | ||
- tapOn: | ||
id: "composerPublishBtn" | ||
- assertVisible: | ||
id: "composeFAB" | ||
- tapOn: | ||
id: "e2eRefreshHome" | ||
- tapOn: | ||
id: "replyBtn" | ||
- inputText: "Reply text only" | ||
- tapOn: | ||
id: "composerPublishBtn" | ||
- assertVisible: | ||
id: "composeFAB" | ||
- tapOn: | ||
id: "replyBtn" | ||
- inputText: "Reply with an image" | ||
- tapOn: | ||
id: "openGalleryBtn" | ||
- tapOn: | ||
id: "composerPublishBtn" | ||
- assertVisible: | ||
id: "composeFAB" | ||
- tapOn: | ||
id: "replyBtn" | ||
- inputText: "Reply with a https://example.com link card" | ||
- tapOn: | ||
id: "composerPublishBtn" | ||
- assertVisible: | ||
id: "composeFAB" | ||
- tapOn: | ||
id: "repostBtn" | ||
- tapOn: | ||
id: "quoteBtn" | ||
- inputText: "QP text only" | ||
- tapOn: | ||
id: "composerPublishBtn" | ||
- assertVisible: | ||
id: "composeFAB" | ||
- tapOn: | ||
id: "repostBtn" | ||
- tapOn: | ||
id: "quoteBtn" | ||
- inputText: "QP with an image" | ||
- tapOn: | ||
id: "openGalleryBtn" | ||
- tapOn: | ||
id: "composerPublishBtn" | ||
- assertVisible: | ||
id: "composeFAB" | ||
- tapOn: | ||
id: "repostBtn" | ||
- tapOn: | ||
id: "quoteBtn" | ||
- inputText: "QP with a https://example.com link card" | ||
- tapOn: | ||
id: "composerPublishBtn" | ||
- assertVisible: | ||
id: "composeFAB" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
appId: xyz.blueskyweb.app | ||
--- | ||
- runScript: | ||
file: ../setupServer.js | ||
env: | ||
SERVER_PATH: "" | ||
- runFlow: | ||
file: ../setupApp.yml | ||
- tapOn: | ||
id: "e2eOpenLoggedOutView" | ||
- tapOn: | ||
id: "createAccountButton" | ||
- tapOn: | ||
id: "selectServiceButton" | ||
- tapOn: | ||
id: "customSelectBtn" | ||
- tapOn: | ||
id: "customServerTextInput" | ||
- inputText: "http://localhost:3000" | ||
- pressKey: Enter | ||
- tapOn: | ||
id: "doneBtn" | ||
- tapOn: | ||
id: "emailInput" | ||
- inputText: "[email protected]" | ||
- tapOn: | ||
id: "passwordInput" | ||
- inputText: "hunter2" | ||
- pressKey: Enter | ||
- tapOn: | ||
id: "nextBtn" | ||
- tapOn: | ||
id: "handleInput" | ||
- inputText: "e2e-test" | ||
- tapOn: | ||
id: "nextBtn" | ||
|
Oops, something went wrong.