Skip to content

Commit

Permalink
add tab switcher test
Browse files Browse the repository at this point in the history
  • Loading branch information
brindy committed Jul 30, 2024
1 parent 60214b9 commit 29934c3
Showing 1 changed file with 60 additions and 0 deletions.
60 changes: 60 additions & 0 deletions .maestro/release_tests/tabswitcher.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
# tabswitcher.yaml
appId: com.duckduckgo.mobile.ios
tags:
- release

---

# Set up
- runFlow:
file: ../shared/setup.yaml

# Load Site
- assertVisible:
id: "searchEntry"
- tapOn:
id: "searchEntry"
- inputText: "https://privacy-test-pages.site"
- pressKey: Enter

# Manage onboarding
- runFlow:
file: ../shared/onboarding_browsing.yaml

- assertVisible: ".*Privacy Test Pages.*"

# Add tab
- assertVisible: Tab Switcher
- tapOn: Tab Switcher
- assertVisible: ".*Privacy Test Pages.*"
- assertVisible:
id: "Add"
- tapOn:
id: "Add"
- assertVisible:
id: "searchEntry"
- tapOn:
id: "searchEntry"
- inputText: "https://www.search-company.site"
- pressKey: Enter
- assertVisible: "Search engine"

# Bookmark all
- assertVisible: Tab Switcher
- tapOn: Tab Switcher
- tapOn: "Add all tabs as bookmarks"
- assertVisible: "Bookmark All Tabs?"
- tapOn: "Bookmark"

# can't really tell if it works, but at least it won't crash
- tapOn: "Toggle between grid and list view"

# Check bookmarks were added
- tapOn: "Done"

- tapOn: "Browsing menu"
- tapOn: "Bookmarks"
- assertVisible: "Privacy Test Pages - Home"
- assertVisible: "Ad Click Flow"


0 comments on commit 29934c3

Please sign in to comment.