Skip to content

Commit d753aff

Browse files
tests: update deps
1 parent c796a11 commit d753aff

File tree

2 files changed

+10
-13
lines changed

2 files changed

+10
-13
lines changed

e2e/smoke.e2e-spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ describe("smoke-tests", async function () {
3333
const animationBuilder = new AnimationBuilderPage(driver);
3434
await animationBuilder.enterExample();
3535
await animationBuilder.executeAnimation();
36-
const result = await animationBuilder.waitElementToHide(3000);
37-
assert.isFalse(result.isVisible, "The btn should disappear");
36+
const result = await animationBuilder.waitElementToHide(driver.defaultWaitTime);
37+
assert.isFalse(!result || result.isVisible, "The btn should disappear");
3838
});
3939

4040
it("external animation - visibility", async function () {

package.json

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@
55
"repository": "<fill-your-repository-here>",
66
"nativescript": {
77
"id": "org.nativescript.ng4animations",
8-
"tns-android": {
9-
"version": "latest"
10-
},
118
"tns-ios": {
129
"version": "latest"
1310
}
@@ -32,25 +29,25 @@
3229
"devDependencies": {
3330
"@angular/compiler-cli": "~7.2.0",
3431
"@ngtools/webpack": "~7.2.0",
32+
"@types/chai": "~4.1.7",
33+
"@types/mocha": "~5.2.5",
34+
"@types/node": "~10.12.18",
3535
"babel-traverse": "6.25.0",
3636
"babel-types": "6.25.0",
3737
"babylon": "6.17.4",
3838
"lazy": "1.0.11",
39+
"mocha": "~5.2.0",
40+
"mochawesome": "~3.1.2",
3941
"nativescript-css-loader": "~0.26.0",
42+
"nativescript-dev-appium": "next",
4043
"nativescript-dev-typescript": "^0.7.0",
4144
"nativescript-dev-webpack": "next",
42-
"typescript": "~3.1.1",
43-
"nativescript-dev-appium": "next",
44-
"mocha": "~5.2.0",
45-
"mochawesome": "~3.1.2",
46-
"@types/mocha": "~5.2.5",
47-
"@types/chai": "~4.1.7",
48-
"@types/node": "~10.12.18"
45+
"typescript": "~3.1.1"
4946
},
5047
"scripts": {
5148
"u": "update-ns-webpack",
5249
"e2e": "tsc -p e2e && mocha --opts ./e2e/config/mocha.opts",
5350
"e2e-watch": "tsc -p e2e --watch",
5451
"e2e-compile": "tsc -p e2e"
5552
}
56-
}
53+
}

0 commit comments

Comments
 (0)