-
Notifications
You must be signed in to change notification settings - Fork 423
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
60 additions
and
0 deletions.
There are no files selected for viewing
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,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" | ||
|
||
|