Adapting tests

This commit is contained in:
softsimon 2022-01-08 20:44:45 +04:00
parent 08f2287def
commit afbced3f4d
No known key found for this signature in database
GPG Key ID: 488D7DCFB5A430D7
3 changed files with 4 additions and 6 deletions

View File

@ -1,6 +1,6 @@
describe('Bisq', () => {
const baseModule = Cypress.env("BASE_MODULE");
const basePath = (baseModule === 'bisq') ? '' : '/bisq';
const basePath = '';
beforeEach(() => {
cy.intercept('/sockjs-node/info*').as('socket');
@ -23,7 +23,7 @@ describe('Bisq', () => {
});
});
if (baseModule === 'mempool' || baseModule === 'bisq') {
if (baseModule === 'bisq') {
it('loads the dashboard', () => {
cy.visit(`${basePath}`);

View File

@ -1,6 +1,6 @@
describe('Liquid', () => {
const baseModule = Cypress.env("BASE_MODULE");
const basePath = (baseModule === 'liquid') ? '' : '/liquid';
const basePath = '';
beforeEach(() => {
cy.intercept('/liquid/api/block/**').as('block');
@ -16,7 +16,7 @@ describe('Liquid', () => {
});
});
if (baseModule === 'mempool' || baseModule === 'liquid') {
if (baseModule === 'liquid') {
it('check first mempool block after skeleton loads', () => {
cy.visit(`${basePath}`);

View File

@ -296,9 +296,7 @@ describe('Mainnet', () => {
cy.changeNetwork("testnet");
cy.changeNetwork("signet");
cy.changeNetwork("liquid");
cy.changeNetwork("mainnet");
cy.changeNetwork("bisq");
});
it.skip('loads the dashboard with the skeleton blocks', () => {