Skip to content

Commit

Permalink
Fix e2e tests (#2340)
Browse files Browse the repository at this point in the history
  • Loading branch information
loremattei authored Jan 16, 2024
1 parent c4af3e7 commit bb6c67b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/end-to-end.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,34 +40,37 @@ jobs:
run: |
set -o pipefail && xcodebuild \
-scheme "DuckDuckGo" \
-destination "platform=iOS Simulator,name=iPhone 14,OS=16.4" \
-destination "platform=iOS Simulator,name=iPhone 15,OS=17.2" \
-derivedDataPath "DerivedData" \
-skipPackagePluginValidation \
| tee xcodebuild.log
- name: Release tests
uses: mobile-dev-inc/action-maestro-cloud@v1.4.1
uses: mobile-dev-inc/action-maestro-cloud@v1.8.0
with:
api-key: ${{ secrets.MAESTRO_CLOUD_API_KEY }}
app-file: DerivedData/Build/Products/Debug-iphonesimulator/DuckDuckGo.app
workspace: .maestro
include-tags: release
ios-version: 17

- name: Privacy tests
uses: mobile-dev-inc/action-maestro-cloud@v1.4.1
uses: mobile-dev-inc/action-maestro-cloud@v1.8.0
with:
api-key: ${{ secrets.MAESTRO_CLOUD_API_KEY }}
app-file: DerivedData/Build/Products/Debug-iphonesimulator/DuckDuckGo.app
workspace: .maestro
include-tags: privacy
ios-version: 17

- name: Ad Click Detection Flow tests
uses: mobile-dev-inc/action-maestro-cloud@v1.4.1
uses: mobile-dev-inc/action-maestro-cloud@v1.8.0
with:
api-key: ${{ secrets.MAESTRO_CLOUD_API_KEY }}
app-file: DerivedData/Build/Products/Debug-iphonesimulator/DuckDuckGo.app
workspace: .maestro
include-tags: adClick
ios-version: 17

- name: Create Asana task when workflow failed
if: ${{ failure() }}
Expand Down
4 changes: 2 additions & 2 deletions .maestro/release_tests/bookmarks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ tags:
# Delete bookmark
- assertVisible: "Edit"
- tapOn: "Edit"
- assertVisible: "Delete Privacy Test Pages - Home"
- tapOn: "Delete Privacy Test Pages - Home"
- assertVisible: "Remove Privacy Test Pages - Home"
- tapOn: "Remove Privacy Test Pages - Home"
- assertVisible:
text: "Delete"
index: 0
Expand Down
4 changes: 2 additions & 2 deletions .maestro/release_tests/favorites.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ tags:
- assertVisible: "Bookmarks"
- tapOn: "Bookmarks"
- assertVisible: "Privacy Test Pages - Home"
- assertVisible: "Delete Privacy Test Pages - Home"
- tapOn: "Delete Privacy Test Pages - Home"
- assertVisible: "Remove Privacy Test Pages - Home"
- tapOn: "Remove Privacy Test Pages - Home"
- assertVisible:
text: "Delete"
index: 0
Expand Down

0 comments on commit bb6c67b

Please sign in to comment.