Skip to content

Commit

Permalink
[tests] Accept iOS alerts in Mobitru healthcheck tests (#3320)
Browse files Browse the repository at this point in the history
  • Loading branch information
ikalinin1 authored Nov 3, 2022
1 parent 0a94d9d commit 529c288
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,7 @@ jobs:
run: |
if [[ -n $MOBITRU_USER && -n $MOBITRU_KEY ]]; then
./gradlew :vividus-tests:debugStories -Pvividus.configuration.environments= \
-Pvividus.configuration.suites=system/mobile_app/healthcheck/mobitru/android \
-Pvividus.configuration.suites=system/mobile_app/healthcheck/mobitru \
-Pvividus.configuration.profiles=mobitru,mobile_app/android \
-Pvividus.selenium.grid.username=${MOBITRU_USER} \
-Pvividus.selenium.grid.password=${MOBITRU_KEY} \
Expand Down Expand Up @@ -656,7 +656,7 @@ jobs:
run: |
if [[ -n $MOBITRU_USER && -n $MOBITRU_KEY ]]; then
./gradlew :vividus-tests:debugStories -Pvividus.configuration.environments= \
-Pvividus.configuration.suites=system/mobile_app/healthcheck/mobitru/ios \
-Pvividus.configuration.suites=system/mobile_app/healthcheck/mobitru \
-Pvividus.configuration.profiles=mobitru,mobile_app/ios \
-Pvividus.selenium.grid.username=${MOBITRU_USER} \
-Pvividus.selenium.grid.password=${MOBITRU_KEY} \
Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,15 @@ Scenario: Start the application
Given I start mobile application

Scenario: Decline pop-up
Meta:
@targetPlatform android
When I save number of elements located `<buttonLocator>` to scenario variable `button`
When I execute steps at most 5 times while variable `button` is = `1`:
|step |
|When I tap on element located by `<buttonLocator>`|
|step |
|When I tap on element located by `<buttonLocator>` |
|When I save number of elements located `<buttonLocator>` to scenario variable `button`|

Examples:
|buttonLocator |
|xpath(.//*[@text = 'CANCEL' or @resource-id='android:id/button2' or @content-desc='Close tips'])|
|buttonLocator |
|xpath(.//*[@text = 'CANCEL' or @resource-id='android:id/button2' or @content-desc='Close tips' or @name="Dont Allow"])|


Scenario: Validate application start
Expand Down

0 comments on commit 529c288

Please sign in to comment.