1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-22 09:23:13 +01:00

Small fixes for visual regression tests

This commit is contained in:
Brett Sun 2016-02-01 18:03:20 +01:00
parent afc7bc7735
commit fd6371e2f1
3 changed files with 4 additions and 3 deletions

View File

@ -101,7 +101,7 @@ gemini.suite('Authenticated', (suite) => {
.capture('expanded edition in collection', (actions, find) => {
actions.click(find('.ascribe-accordion-list-item .ascribe-accordion-list-item-edition-widget'));
// Wait for editions to load
actions.waitForElementToShow('.ascribe-accordion-list-item-table', 5000);
actions.waitForElementToShow('.ascribe-accordion-list-item-table', 10000);
})
gemini.suite('Collection placeholder', (collectionPlaceholderSuite) => {
@ -133,6 +133,7 @@ gemini.suite('Authenticated', (suite) => {
.capture('piece list toolbar')
.capture('piece list toolbar search filled', (actions, find) => {
actions.sendKeys(find('.ascribe-piece-list-toolbar .search-bar input[type="text"]'), 'search text');
actions.waitForElementToShow('.ascribe-piece-list-toolbar .search-bar .icon-ascribe-search', 5000);
})
gemini.suite('Order widget dropdown', (pieceListToolbarOrderWidgetSuite) => {

View File

@ -1,7 +1,7 @@
'use strict';
const gemini = require('gemini');
const environment = require('../environment');
const environment = require('../../environment');
/**
* Suite of tests against Cyland specific routes

View File

@ -1,7 +1,7 @@
'use strict';
const gemini = require('gemini');
const environment = require('../environment');
const environment = require('../../environment');
/**
* Basic suite of tests against whitelabel routes that do not require authentication.