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
8cb9536187
commit
27ebf9d711
@ -15,10 +15,10 @@
|
|||||||
"test": "npm run sauce-test",
|
"test": "npm run sauce-test",
|
||||||
"sauce-test": "mocha ./test/integration/tests/",
|
"sauce-test": "mocha ./test/integration/tests/",
|
||||||
"tunnel": "node ./test/integration/tunnel.js",
|
"tunnel": "node ./test/integration/tunnel.js",
|
||||||
"vi-clean": "rm -rf gemini-report",
|
"vi-clean": "rm -rf ./gemini-report",
|
||||||
"vi-phantom": "phantomjs --webdriver=4444",
|
"vi-phantom": "phantomjs --webdriver=4444",
|
||||||
"vi-update": "gemini update",
|
"vi-update": "gemini update -c ./test/gemini/.gemini.yml",
|
||||||
"vi-test": "npm run vi-clean && gemini test --reporter html --reporter vflat || true",
|
"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:all": "npm run vi-test",
|
||||||
"vi-test:main": "npm run vi-test -- --browser MainDesktop --browser MainMobile",
|
"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",
|
"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:
|
sets:
|
||||||
main:
|
main:
|
||||||
files:
|
files:
|
||||||
- gemini/main
|
- tests/main
|
||||||
browsers:
|
browsers:
|
||||||
- MainDesktop
|
- MainDesktop
|
||||||
- MainMobile
|
- MainMobile
|
||||||
cc:
|
cc:
|
||||||
files:
|
files:
|
||||||
- gemini/whitelabel/shared
|
- tests/whitelabel/shared
|
||||||
browsers:
|
browsers:
|
||||||
- CcDesktop
|
- CcDesktop
|
||||||
- CcMobile
|
- CcMobile
|
||||||
|
|
||||||
cyland:
|
cyland:
|
||||||
files:
|
files:
|
||||||
- gemini/whitelabel/shared
|
- tests/whitelabel/shared
|
||||||
- gemini/whitelabel/cyland
|
- tests/whitelabel/cyland
|
||||||
browsers:
|
browsers:
|
||||||
- CylandDesktop
|
- CylandDesktop
|
||||||
- CylandMobile
|
- CylandMobile
|
||||||
|
|
||||||
ikonotv:
|
ikonotv:
|
||||||
files:
|
files:
|
||||||
- gemini/whitelabel/shared
|
- tests/whitelabel/shared
|
||||||
- gemini/whitelabel/ikonotv
|
- tests/whitelabel/ikonotv
|
||||||
browsers:
|
browsers:
|
||||||
- IkonotvDesktop
|
- IkonotvDesktop
|
||||||
- IkonotvMobile
|
- IkonotvMobile
|
||||||
|
|
||||||
lumenus:
|
lumenus:
|
||||||
files:
|
files:
|
||||||
- gemini/whitelabel/shared
|
- tests/whitelabel/shared
|
||||||
- gemini/whitelabel/lumenus
|
- tests/whitelabel/lumenus
|
||||||
browsers:
|
browsers:
|
||||||
- LumenusDesktop
|
- LumenusDesktop
|
||||||
- LumenusMobile
|
- LumenusMobile
|
||||||
|
|
||||||
23vivi:
|
23vivi:
|
||||||
files:
|
files:
|
||||||
- gemini/whitelabel/shared
|
- tests/whitelabel/shared
|
||||||
- gemini/whitelabel/23vivi
|
- tests/whitelabel/23vivi
|
||||||
browsers:
|
browsers:
|
||||||
- 23viviDesktop
|
- 23viviDesktop
|
||||||
- 23viviMobile
|
- 23viviMobile
|
@ -24,6 +24,7 @@ Then, install [PhantomJS2](https://www.npmjs.com/package/phantomjs2):
|
|||||||
```bash
|
```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)
|
# 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 -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:
|
# If using OSX, you may have to install upx and decompress the binary downloaded by npm manually:
|
||||||
brew install upx
|
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
|
actions](https://github.com/gemini-testing/gemini/blob/master/doc/tests.md#available-actions) for what scripted actions
|
||||||
are available.
|
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.**
|
**It would be nice if we kept the whitelabels up to date.**
|
||||||
|
|
Loading…
Reference in New Issue
Block a user