diff --git a/frontend/cypress/e2e/liquid/liquid.spec.ts b/frontend/cypress/e2e/liquid/liquid.spec.ts index e22a9b94e..325a2ad0c 100644 --- a/frontend/cypress/e2e/liquid/liquid.spec.ts +++ b/frontend/cypress/e2e/liquid/liquid.spec.ts @@ -158,10 +158,10 @@ describe('Liquid', () => { it('show empty unblinded TX', () => { cy.visit(`${basePath}/tx/f2f41c0850e8e7e3f1af233161fd596662e67c11ef10ed15943884186fbb7f46#blinded=`); cy.waitForSkeletonGone(); - cy.get('.table-tx-vin tr:nth-child(1)').should('have.class', ''); + cy.get('.table-tx-vin tr:nth-child(1)').should('have.class', 'ng-star-inserted'); cy.get('.table-tx-vin tr:nth-child(1) .amount').should('contain.text', 'Confidential'); - cy.get('.table-tx-vout tr:nth-child(1)').should('have.class', ''); - cy.get('.table-tx-vout tr:nth-child(2)').should('have.class', ''); + cy.get('.table-tx-vout tr:nth-child(1)').should('have.class', 'ng-star-inserted'); + cy.get('.table-tx-vout tr:nth-child(2)').should('have.class', 'ng-star-inserted'); cy.get('.table-tx-vout tr:nth-child(1) .amount').should('contain.text', 'Confidential'); cy.get('.table-tx-vout tr:nth-child(2) .amount').should('contain.text', 'Confidential'); }); @@ -169,8 +169,8 @@ describe('Liquid', () => { it('show invalid unblinded TX hex', () => { cy.visit(`${basePath}/tx/f2f41c0850e8e7e3f1af233161fd596662e67c11ef10ed15943884186fbb7f46#blinded=123`); cy.waitForSkeletonGone(); - cy.get('.table-tx-vin tr').should('have.class', ''); - cy.get('.table-tx-vout tr').should('have.class', ''); + cy.get('.table-tx-vin tr').should('have.class', 'ng-star-inserted'); + cy.get('.table-tx-vout tr').should('have.class', 'ng-star-inserted'); cy.get('.error-unblinded').contains('Error: Invalid blinding data (invalid hex)'); }); diff --git a/frontend/cypress/e2e/liquidtestnet/liquidtestnet.spec.ts b/frontend/cypress/e2e/liquidtestnet/liquidtestnet.spec.ts index e1172e51a..1f959dd3a 100644 --- a/frontend/cypress/e2e/liquidtestnet/liquidtestnet.spec.ts +++ b/frontend/cypress/e2e/liquidtestnet/liquidtestnet.spec.ts @@ -109,10 +109,10 @@ describe('Liquid Testnet', () => { it('show empty unblinded TX', () => { cy.visit(`${basePath}/tx/c3d908ab77891e4c569b0df71aae90f4720b157019ebb20db176f4f9c4d626b8#blinded=`); cy.waitForSkeletonGone(); - cy.get('.table-tx-vin tr:nth-child(1)').should('have.class', ''); + cy.get('.table-tx-vin tr:nth-child(1)').should('have.class', 'ng-star-inserted'); cy.get('.table-tx-vin tr:nth-child(1) .amount').should('contain.text', 'Confidential'); - cy.get('.table-tx-vout tr:nth-child(1)').should('have.class', ''); - cy.get('.table-tx-vout tr:nth-child(2)').should('have.class', ''); + cy.get('.table-tx-vout tr:nth-child(1)').should('have.class', 'ng-star-inserted'); + cy.get('.table-tx-vout tr:nth-child(2)').should('have.class', 'ng-star-inserted'); cy.get('.table-tx-vout tr:nth-child(1) .amount').should('contain.text', 'Confidential'); cy.get('.table-tx-vout tr:nth-child(2) .amount').should('contain.text', 'Confidential'); }); @@ -120,8 +120,8 @@ describe('Liquid Testnet', () => { it('show invalid unblinded TX hex', () => { cy.visit(`${basePath}/tx/2477f220eef1d03f8ffa4a2861c275d155c3562adf0d79523aeeb0c59ee611ba#blinded=5000`); cy.waitForSkeletonGone(); - cy.get('.table-tx-vin tr').should('have.class', ''); - cy.get('.table-tx-vout tr').should('have.class', ''); + cy.get('.table-tx-vin tr').should('have.class', 'ng-star-inserted'); + cy.get('.table-tx-vout tr').should('have.class', 'ng-star-inserted'); cy.get('.error-unblinded').contains('Error: Invalid blinding data (invalid hex)'); });