Adapting tests
This commit is contained in:
		
							parent
							
								
									08f2287def
								
							
						
					
					
						commit
						afbced3f4d
					
				@ -1,6 +1,6 @@
 | 
				
			|||||||
describe('Bisq', () => {
 | 
					describe('Bisq', () => {
 | 
				
			||||||
    const baseModule = Cypress.env("BASE_MODULE");
 | 
					    const baseModule = Cypress.env("BASE_MODULE");
 | 
				
			||||||
    const basePath = (baseModule === 'bisq') ? '' : '/bisq';
 | 
					    const basePath = '';
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    beforeEach(() => {
 | 
					    beforeEach(() => {
 | 
				
			||||||
        cy.intercept('/sockjs-node/info*').as('socket');
 | 
					        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', () => {
 | 
					        it('loads the dashboard', () => {
 | 
				
			||||||
            cy.visit(`${basePath}`);
 | 
					            cy.visit(`${basePath}`);
 | 
				
			||||||
 | 
				
			|||||||
@ -1,6 +1,6 @@
 | 
				
			|||||||
describe('Liquid', () => {
 | 
					describe('Liquid', () => {
 | 
				
			||||||
    const baseModule = Cypress.env("BASE_MODULE");
 | 
					    const baseModule = Cypress.env("BASE_MODULE");
 | 
				
			||||||
    const basePath = (baseModule === 'liquid') ? '' : '/liquid';
 | 
					    const basePath = '';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    beforeEach(() => {
 | 
					    beforeEach(() => {
 | 
				
			||||||
        cy.intercept('/liquid/api/block/**').as('block');
 | 
					        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', () => {
 | 
					        it('check first mempool block after skeleton loads', () => {
 | 
				
			||||||
            cy.visit(`${basePath}`);
 | 
					            cy.visit(`${basePath}`);
 | 
				
			||||||
 | 
				
			|||||||
@ -296,9 +296,7 @@ describe('Mainnet', () => {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
            cy.changeNetwork("testnet");
 | 
					            cy.changeNetwork("testnet");
 | 
				
			||||||
            cy.changeNetwork("signet");
 | 
					            cy.changeNetwork("signet");
 | 
				
			||||||
            cy.changeNetwork("liquid");
 | 
					 | 
				
			||||||
            cy.changeNetwork("mainnet");
 | 
					            cy.changeNetwork("mainnet");
 | 
				
			||||||
            cy.changeNetwork("bisq");
 | 
					 | 
				
			||||||
        });
 | 
					        });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        it.skip('loads the dashboard with the skeleton blocks', () => {
 | 
					        it.skip('loads the dashboard with the skeleton blocks', () => {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user