-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump test dependencies, install web acceptance test deps in CI
- Loading branch information
1 parent
597b186
commit 96d901d
Showing
8 changed files
with
2,617 additions
and
1,008 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,9 @@ | ||
const path = require('path') | ||
const WEB_PATH = process.env.WEB_PATH | ||
const TEST_INFRA_DIRECTORY = process.env.TEST_INFRA_DIRECTORY | ||
|
||
const config = require(path.join(WEB_PATH, 'nightwatch.conf.js')) | ||
const config = require(path.join(TEST_INFRA_DIRECTORY, 'nightwatch.conf.js')) | ||
|
||
config.page_objects_path = [TEST_INFRA_DIRECTORY + '/acceptance/pageObjects', 'ui/tests/acceptance/pageobjects'] | ||
config.custom_commands_path = TEST_INFRA_DIRECTORY + '/acceptance/customCommands' | ||
config.page_objects_path = [TEST_INFRA_DIRECTORY + '/pageObjects', 'ui/tests/acceptance/pageobjects'] | ||
config.custom_commands_path = TEST_INFRA_DIRECTORY + '/customCommands' | ||
|
||
config.test_settings.default.globals = { ...config.test_settings.default.globals } | ||
|
||
module.exports = { | ||
...config | ||
} | ||
module.exports = config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,80 +1,85 @@ | ||
{ | ||
"private": true, | ||
"name": "ocis-hello", | ||
"version": "0.0.0", | ||
"private": true, | ||
"description": "", | ||
"homepage": "https://github.com/owncloud/ocis-hello#readme", | ||
"license": "Apache-2.0", | ||
"author": "ownCloud GmbH <devops@owncloud.com>", | ||
"repository": "https://github.com/owncloud/ocis-hello.git", | ||
"bugs": { | ||
"url": "https://github.com/owncloud/ocis-hello/issues", | ||
"email": "support@owncloud.com" | ||
}, | ||
"repository": "https://github.com/owncloud/ocis-hello.git", | ||
"license": "Apache-2.0", | ||
"author": "ownCloud GmbH <devops@owncloud.com>", | ||
"scripts": { | ||
"lint": "eslint ui/**/*.vue ui/**/*.js --color --global requirejs --global require", | ||
"acceptance-tests": "cucumber-js --require-module @babel/register --require-module @babel/polyfill --require ${TEST_INFRA_DIRECTORY}/setup.js --require ui/tests/acceptance/stepDefinitions --require ${TEST_INFRA_DIRECTORY}/stepDefinitions --format @cucumber/pretty-formatter", | ||
"build": "rollup -c", | ||
"watch": "rollup -c -w", | ||
"test": "echo 'Not implemented'", | ||
"generate-api": "node node_modules/swagger-vue-generator/bin/generate-api.js --package-version v0 --source pkg/proto/v0/hello.swagger.json --moduleName hello --destination ui/client/hello/index.js", | ||
"acceptance-tests": "cucumber-js --require-module @babel/register --require-module @babel/polyfill --require ${TEST_INFRA_DIRECTORY}/acceptance/setup.js --require ui/tests/acceptance/stepDefinitions --require ${TEST_INFRA_DIRECTORY}/acceptance/stepDefinitions --format node_modules/cucumber-pretty -t \"${TEST_TAGS:-not @skip and not @skipOnOC10}\"" | ||
"lint": "eslint ui/**/*.vue ui/**/*.js --color --global requirejs --global require", | ||
"test": "echo 'Not implemented'", | ||
"watch": "rollup -c -w" | ||
}, | ||
"browserslist": [ | ||
"> 1%", | ||
"not dead" | ||
], | ||
"dependencies": { | ||
"axios": "^0.26.0", | ||
"qs": "^6.10.1" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.7.7", | ||
"@babel/plugin-proposal-class-properties": "^7.7.4", | ||
"@babel/core": "^7.15.5", | ||
"@babel/plugin-proposal-class-properties": "^7.13.0", | ||
"@babel/plugin-proposal-export-default-from": "^7.7.4", | ||
"@babel/plugin-proposal-object-rest-spread": "^7.7.7", | ||
"@babel/plugin-proposal-object-rest-spread": "^7.15.6", | ||
"@babel/plugin-syntax-dynamic-import": "^7.7.4", | ||
"@babel/plugin-transform-runtime": "^7.8.0", | ||
"@babel/plugin-transform-runtime": "^7.15.0", | ||
"@babel/polyfill": "^7.10.1", | ||
"@babel/preset-env": "^7.7.7", | ||
"@babel/register": "^7.10.1", | ||
"@babel/preset-env": "^7.13.12", | ||
"@babel/register": "^7.14.5", | ||
"@cucumber/cucumber": "^7.3.1", | ||
"@cucumber/pretty-formatter": "^1.0.0-alpha.1", | ||
"@erquhart/rollup-plugin-node-builtins": "^2.1.5", | ||
"@rollup/plugin-commonjs": "^11.0.1", | ||
"@rollup/plugin-commonjs": "^17.1.0", | ||
"@rollup/plugin-json": "^4.0.1", | ||
"@rollup/plugin-replace": "^2.3.0", | ||
"archiver": "^4.0.1", | ||
"axios": "^0.21.1", | ||
"core-js": "3", | ||
"cross-env": "^6.0.3", | ||
"cucumber": "^6.0.5", | ||
"cucumber-pretty": ">=6.0.0", | ||
"debounce": "^1.2.0", | ||
"easygettext": "^2.7.0", | ||
"eslint": "6.8.0", | ||
"eslint-config-standard": "^14.1.0", | ||
"archiver": "^5.3.0", | ||
"chromedriver": "^93.0.1", | ||
"cross-env": "^7.0.3", | ||
"easygettext": "^2.17.0", | ||
"eslint": "7.24.0", | ||
"eslint-config-standard": "^16.0.2", | ||
"eslint-plugin-import": "^2.17.3", | ||
"eslint-plugin-node": "11.0.0", | ||
"eslint-plugin-node": "11.1.0", | ||
"eslint-plugin-promise": "^4.1.1", | ||
"eslint-plugin-standard": "^4.0.0", | ||
"eslint-plugin-vue": "^6.1.2", | ||
"fs-extra": "^9.0.1", | ||
"eslint-plugin-standard": "^5.0.0", | ||
"eslint-plugin-vue": "^7.8.0", | ||
"fs-extra": "^10.0.0", | ||
"join-path": "^1.1.1", | ||
"ldapjs": "^2.2.3", | ||
"nightwatch": "1.5.1", | ||
"nightwatch-api": "3.0.1", | ||
"nightwatch": "1.7.11", | ||
"nightwatch-api": "3.0.2", | ||
"nightwatch-vrt": "^0.2.10", | ||
"node-fetch": "^2.6.1", | ||
"qs": "^6.9.1", | ||
"qs": "^6.10.1", | ||
"rimraf": "^3.0.0", | ||
"rollup": "^1.28.0", | ||
"rollup": "^2.55.1", | ||
"rollup-plugin-babel": "^4.3.3", | ||
"rollup-plugin-eslint": "^7.0.0", | ||
"rollup-plugin-filesize": "^6.2.1", | ||
"rollup-plugin-filesize": "^9.1.0", | ||
"rollup-plugin-node-globals": "^1.4.0", | ||
"rollup-plugin-node-resolve": "^5.2.0", | ||
"rollup-plugin-terser": "^5.1.3", | ||
"rollup-plugin-terser": "^7.0.2", | ||
"rollup-plugin-vue": "^5.1.4", | ||
"swagger-vue-generator": "^1.0.6", | ||
"url-search-params-polyfill": "^8.1.0", | ||
"vue-template-compiler": "^2.6.11", | ||
"xml-js": "^1.6.11" | ||
}, | ||
"browserslist": [ | ||
"> 1%", | ||
"not dead" | ||
], | ||
"peerDependencies": { | ||
"owncloud-design-system": "^12.0.0" | ||
}, | ||
"engines": { | ||
"node": ">=14 <=16" | ||
} | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.