diff --git a/.maestro/release_tests/content-blocking.yaml b/.maestro/release_tests/content-blocking.yaml index c4e4795260..cf34397a0c 100644 --- a/.maestro/release_tests/content-blocking.yaml +++ b/.maestro/release_tests/content-blocking.yaml @@ -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" + diff --git a/.maestro/setup_ui_tests.sh b/.maestro/setup_ui_tests.sh index ae8fdead11..50cc291db7 100755 --- a/.maestro/setup_ui_tests.sh +++ b/.maestro/setup_ui_tests.sh @@ -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