File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
modal-navigation-ng/e2e/screens Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 1- --timeout 140000
1+ --timeout 60000
22--recursive e2e
33--reporter mocha-multi
44--reporter-options spec=-,mocha-junit-reporter=test-results.xml
Original file line number Diff line number Diff line change 1- import { AppiumDriver } from "nativescript-dev-appium" ;
1+ import { AppiumDriver , SearchOptions } from "nativescript-dev-appium" ;
22import { assert } from "chai" ;
33
44const home = "Home Component"
@@ -166,7 +166,7 @@ export class Screen {
166166 }
167167
168168 private showSharedModalPresentationStyle = async ( ) => {
169- const btnTap = await this . _driver . waitForElement ( "Show shared ' popover' modal" ) ;
169+ const btnTap = await this . _driver . findElementByText ( " popover" , SearchOptions . contains ) ;
170170 await btnTap . click ( ) ;
171171 }
172172
@@ -217,6 +217,7 @@ export class Screen {
217217 }
218218
219219 loadedModalNoFrame = async ( ) => {
220+ await this . _driver . wait ( 2000 ) ;
220221 const btnShowDialogConfirm = await this . _driver . waitForElement ( showDialog ) ;
221222 const btnCloseModal = await this . _driver . waitForElement ( closeModal ) ;
222223 assert . isTrue ( await btnShowDialogConfirm . isDisplayed ( ) ) ;
You can’t perform that action at this time.
0 commit comments