Adapting tests
This commit is contained in:
		
							parent
							
								
									08f2287def
								
							
						
					
					
						commit
						afbced3f4d
					
				@ -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}`);
 | 
			
		||||
 | 
			
		||||
@ -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}`);
 | 
			
		||||
 | 
			
		||||
@ -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', () => {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user