diff --git a/.travis.yml b/.travis.yml index 2ab0093..4f159e6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,11 @@ sudo: required language: node_js node_js: - - "node" + - 'node' +jobs: + include: + - stage: 'Tests' + name: 'Unit' + script: npm run build-and-test + - name: 'End-to-end' + script: npm run build-and-e2e diff --git a/docs/classes/extensions.html b/docs/classes/extensions.html index ee33abb..4d42079 100644 --- a/docs/classes/extensions.html +++ b/docs/classes/extensions.html @@ -1080,7 +1080,7 @@
fastForwardTime
getPropertyValue
getText
getValue
isElementFocused
resetResourceRequests
turnOffAnimations
waitFor
waitForDocumentTitle
waitForElementCount
waitForFunction
waitForLoadedWebFontCountToBe
waitForNthSelectorAttribute
waitForNthSelectorAttributeValue
waitForResource
waitForSelectorAttribute
waitForSelectorAttributeValue
waitForUrl
waitUntilExistsAndVisible
waitUntilSelectorHasVisibleContent
waitWhileExistsAndVisible
waitWhileSelectorHasVisibleContent
constructor
Parameters
@@ -1006,7 +1006,7 @@date
now
Returns number
diff --git a/docs/globals.html b/docs/globals.html index 9d2fa9b..26b22fd 100644 --- a/docs/globals.html +++ b/docs/globals.html @@ -981,7 +981,7 @@Const DEFAULT_TIMEOUT_M
DEFAULT_TIMEOUT_MS: number = 5000
@@ -998,7 +998,7 @@
Const
@@ -1033,7 +1033,7 @@
diff --git a/docs/index.html b/docs/index.html
index 1ff905c..d253334 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -982,7 +982,7 @@
serializeFunctionWithArgs
Const DEFAULT_TIMEOUT_M
DEFAULT_TIMEOUT_MS: number = 5000
@@ -999,7 +999,7 @@
Const
@@ -1034,7 +1034,7 @@
diff --git a/package.json b/package.json
index 8ef7c71..cb4ac6b 100644
--- a/package.json
+++ b/package.json
@@ -9,6 +9,8 @@
"build": "tsc && typedoc --out docs --target es6 --theme minimal --mode file src",
"test": "jest -c jest.config.js",
"e2e": "cross-env JEST_PUPPETEER_CONFIG=e2e/jest-puppeteer.config.js jest /e2e -c e2e/jest.e2e.config.js",
+ "build-and-e2e": "npm run build && npm run e2e",
+ "build-and-test": "npm run build && npm run test",
"postinstall": "node tests/setup.js",
"lint": "tslint --project tsconfig.json -t codeFrame 'src/**/*.ts'",
"precommit": "lint-staged"
serializeFunctionWithArgs