test: fix merge issues
This commit is contained in:
parent
cda6caccec
commit
b85bd71918
@ -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';
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user