test: fix merge issues

This commit is contained in:
AndyWhiteVega 2022-07-01 13:42:38 +01:00
parent cda6caccec
commit b85bd71918
2 changed files with 2 additions and 7 deletions

View File

@ -1,4 +1,3 @@
import navigation from '../locators/navigation.locators'; import navigation from '../locators/navigation.locators';
import home from '../locators/home.locators'; import home from '../locators/home.locators';
import vegaToken from '../fixtures/vegaToken.json'; import vegaToken from '../fixtures/vegaToken.json';

View File

@ -1,14 +1,10 @@
import '@vegaprotocol/cypress'; import '@vegaprotocol/cypress';
// Hide fetch/XHR requests - They create a lot of noise in command log // Hide fetch/XHR requests - They create a lot of noise in command log
const app = window.top; const app = window.top;
if (!app.document.head.querySelector('[data-hide-command-log-request]')) { if (!app.document.head.querySelector('[data-hide-command-log-request]')) {
const style = app.document.createElement('style'); const style = app.document.createElement('style');
style.innerHTML = style.innerHTML = '.command-name-request, .command-name-xhr { display: none }';
'.command-name-request, .command-name-xhr { display: none }';
style.setAttribute('data-hide-command-log-request', ''); style.setAttribute('data-hide-command-log-request', '');
app.document.head.appendChild(style); app.document.head.appendChild(style);
} }