1
0
mirror of https://github.com/ascribe/onion.git synced 2024-06-17 10:03:16 +02:00
onion/test/gemini/tests/whitelabel/23vivi/23vivi.js

28 lines
825 B
JavaScript

'use strict';
const environment = require('../../environment');
const TIMEOUTS = environment.TIMEOUTS;
/**
* Suite of tests against 23vivi specific routes
*/
gemini.suite('23vivi', (suite) => {
suite
.setCaptureElements('.ascribe-body')
.before((actions) => {
// This will be called before every nested suite begins
actions.waitForElementToShow('.ascribe-app', TIMEOUTS.NORMAL);
});
gemini.suite('Landing', (landingSuite) => {
landingSuite
.setUrl('/')
.capture('landing', (actions) => {
// Wait for the logo to appear
actions.waitForElementToShow('.vivi23-landing--header-logo', TIMEOUTS.LONG);
});
});
// TODO: add more tests for market specific pages after authentication
});