1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-25 02:46:09 +01:00
onion/test/gemini/tests/whitelabel/lumenus/lumenus.js

29 lines
856 B
JavaScript
Raw Normal View History

2016-02-05 10:38:59 +01:00
'use strict';
const gemini = require('gemini');
const environment = require('../../environment');
const TIMEOUTS = environment.TIMEOUTS;
/**
* Suite of tests against lumenus specific routes
*/
gemini.suite('Lumenus', (suite) => {
suite
.setCaptureElements('.ascribe-body')
.before((actions) => {
2016-02-05 10:38:59 +01:00
// This will be called before every nested suite begins
actions.waitForElementToShow('.ascribe-app', TIMEOUTS.NORMAL);
2016-02-05 10:38:59 +01:00
});
gemini.suite('Landing', (landingSuite) => {
landingSuite
.setUrl('/')
.capture('landing', (actions) => {
2016-02-05 10:38:59 +01:00
// Wait for the logo to appear
actions.waitForElementToShow('.wp-landing-wrapper img', TIMEOUTS.LONG);
});
});
// TODO: add more tests for market specific pages after authentication
});