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
2
2
--recursive e2e
3
3
--reporter mocha-multi
4
4
--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" ;
2
2
import { assert } from "chai" ;
3
3
4
4
const home = "Home Component"
@@ -166,7 +166,7 @@ export class Screen {
166
166
}
167
167
168
168
private showSharedModalPresentationStyle = async ( ) => {
169
- const btnTap = await this . _driver . waitForElement ( "Show shared ' popover' modal" ) ;
169
+ const btnTap = await this . _driver . findElementByText ( " popover" , SearchOptions . contains ) ;
170
170
await btnTap . click ( ) ;
171
171
}
172
172
@@ -217,6 +217,7 @@ export class Screen {
217
217
}
218
218
219
219
loadedModalNoFrame = async ( ) => {
220
+ await this . _driver . wait ( 2000 ) ;
220
221
const btnShowDialogConfirm = await this . _driver . waitForElement ( showDialog ) ;
221
222
const btnCloseModal = await this . _driver . waitForElement ( closeModal ) ;
222
223
assert . isTrue ( await btnShowDialogConfirm . isDisplayed ( ) ) ;
You can’t perform that action at this time.
0 commit comments