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:
parent
afc7bc7735
commit
fd6371e2f1
@ -101,7 +101,7 @@ gemini.suite('Authenticated', (suite) => {
|
|||||||
.capture('expanded edition in collection', (actions, find) => {
|
.capture('expanded edition in collection', (actions, find) => {
|
||||||
actions.click(find('.ascribe-accordion-list-item .ascribe-accordion-list-item-edition-widget'));
|
actions.click(find('.ascribe-accordion-list-item .ascribe-accordion-list-item-edition-widget'));
|
||||||
// Wait for editions to load
|
// 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) => {
|
gemini.suite('Collection placeholder', (collectionPlaceholderSuite) => {
|
||||||
@ -133,6 +133,7 @@ gemini.suite('Authenticated', (suite) => {
|
|||||||
.capture('piece list toolbar')
|
.capture('piece list toolbar')
|
||||||
.capture('piece list toolbar search filled', (actions, find) => {
|
.capture('piece list toolbar search filled', (actions, find) => {
|
||||||
actions.sendKeys(find('.ascribe-piece-list-toolbar .search-bar input[type="text"]'), 'search text');
|
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) => {
|
gemini.suite('Order widget dropdown', (pieceListToolbarOrderWidgetSuite) => {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
const gemini = require('gemini');
|
const gemini = require('gemini');
|
||||||
const environment = require('../environment');
|
const environment = require('../../environment');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Suite of tests against Cyland specific routes
|
* Suite of tests against Cyland specific routes
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
const gemini = require('gemini');
|
const gemini = require('gemini');
|
||||||
const environment = require('../environment');
|
const environment = require('../../environment');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Basic suite of tests against whitelabel routes that do not require authentication.
|
* Basic suite of tests against whitelabel routes that do not require authentication.
|
||||||
|
Loading…
Reference in New Issue
Block a user