Skip to content

Commit

Permalink
tentatively fix content blocking UI test (#3141)
Browse files Browse the repository at this point in the history
  • Loading branch information
brindy authored Jul 30, 2024
1 parent b1dc390 commit 94895ea
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .maestro/release_tests/content-blocking.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,13 @@ tags:
- tapOn: "Don't Send"

- tapOn: "Refresh Page"
- extendedWaitUntil:
notVisible: "Nonsense text that won't exist"
timeout: 2000

- assertVisible: "1 major tracker loaded via script src"

- tapOn:
id: PrivacyIcon
- assertVisible: "Protections are OFF for this site"

4 changes: 2 additions & 2 deletions .maestro/setup_ui_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ check_maestro() {
local known_version="1.36.0"

if command -v $command_name > /dev/null 2>&1; then
local version_output=$($command_name -v 2>&1)
local version_output=$($command_name -v 2>&1 | tail -n 1)

local command_version=$(echo $version_output | grep -oE '[0-9]+\.[0-9]+\.[0-9]+')

if [[ $command_version == $known_version ]]; then
Expand Down

0 comments on commit 94895ea

Please sign in to comment.