mirror of
https://github.com/ascribe/onion.git
synced 2024-12-22 09:23:13 +01:00
Move visual tests to /test/gemini folder
This commit is contained in:
parent
a51b33857e
commit
67b46fb425
@ -15,10 +15,10 @@
|
||||
"test": "npm run sauce-test",
|
||||
"sauce-test": "mocha ./test/integration/tests/",
|
||||
"tunnel": "node ./test/integration/tunnel.js",
|
||||
"vi-clean": "rm -rf gemini-report",
|
||||
"vi-clean": "rm -rf ./gemini-report",
|
||||
"vi-phantom": "phantomjs --webdriver=4444",
|
||||
"vi-update": "gemini update",
|
||||
"vi-test": "npm run vi-clean && gemini test --reporter html --reporter vflat || true",
|
||||
"vi-update": "gemini update -c ./test/gemini/.gemini.yml",
|
||||
"vi-test": "npm run vi-clean && gemini test -c ./test/gemini/.gemini.yml --reporter html --reporter vflat || true",
|
||||
"vi-test:all": "npm run vi-test",
|
||||
"vi-test:main": "npm run vi-test -- --browser MainDesktop --browser MainMobile",
|
||||
"vi-test:whitelabel": "GEMINI_BROWSERS='CcDesktop, CcMobile, CylandDesktop, CylandMobile, IkonotvDesktop, IkonotvMobile, LumenusDesktop, LumenusMobile, 23viviDesktop, 23viviMobile' npm run vi-test",
|
||||
|
@ -89,45 +89,45 @@ browsers:
|
||||
sets:
|
||||
main:
|
||||
files:
|
||||
- gemini/main
|
||||
- tests/main
|
||||
browsers:
|
||||
- MainDesktop
|
||||
- MainMobile
|
||||
cc:
|
||||
files:
|
||||
- gemini/whitelabel/shared
|
||||
- tests/whitelabel/shared
|
||||
browsers:
|
||||
- CcDesktop
|
||||
- CcMobile
|
||||
|
||||
cyland:
|
||||
files:
|
||||
- gemini/whitelabel/shared
|
||||
- gemini/whitelabel/cyland
|
||||
- tests/whitelabel/shared
|
||||
- tests/whitelabel/cyland
|
||||
browsers:
|
||||
- CylandDesktop
|
||||
- CylandMobile
|
||||
|
||||
ikonotv:
|
||||
files:
|
||||
- gemini/whitelabel/shared
|
||||
- gemini/whitelabel/ikonotv
|
||||
- tests/whitelabel/shared
|
||||
- tests/whitelabel/ikonotv
|
||||
browsers:
|
||||
- IkonotvDesktop
|
||||
- IkonotvMobile
|
||||
|
||||
lumenus:
|
||||
files:
|
||||
- gemini/whitelabel/shared
|
||||
- gemini/whitelabel/lumenus
|
||||
- tests/whitelabel/shared
|
||||
- tests/whitelabel/lumenus
|
||||
browsers:
|
||||
- LumenusDesktop
|
||||
- LumenusMobile
|
||||
|
||||
23vivi:
|
||||
files:
|
||||
- gemini/whitelabel/shared
|
||||
- gemini/whitelabel/23vivi
|
||||
- tests/whitelabel/shared
|
||||
- tests/whitelabel/23vivi
|
||||
browsers:
|
||||
- 23viviDesktop
|
||||
- 23viviMobile
|
@ -24,6 +24,7 @@ Then, install [PhantomJS2](https://www.npmjs.com/package/phantomjs2):
|
||||
```bash
|
||||
# Until phantomjs2 is updated for the new 2.1 version of PhantomJS, use the following (go to https://bitbucket.org/ariya/phantomjs/downloads to find a build for your OS)
|
||||
npm install -g phantomjs2 --phantomjs_downloadurl=https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-macosx.zip
|
||||
npm install --save-dev phantomjs2 --phantomjs_downloadurl=https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-macosx.zip
|
||||
|
||||
# If using OSX, you may have to install upx and decompress the binary downloaded by npm manually:
|
||||
brew install upx
|
||||
@ -121,7 +122,7 @@ See [the docs](https://github.com/gemini-testing/gemini/blob/master/doc/tests.md
|
||||
actions](https://github.com/gemini-testing/gemini/blob/master/doc/tests.md#available-actions) for what scripted actions
|
||||
are available.
|
||||
|
||||
Our tests are located in `onion/gemini/`.
|
||||
Our tests are located in `onion/test/gemini/tests/`.
|
||||
|
||||
**It would be nice if we kept the whitelabels up to date.**
|
||||
|
Loading…
Reference in New Issue
Block a user