Skip to content

Commit

Permalink
oct-2230: allocation fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jmikolajczyk committed Dec 19, 2024
1 parent d017e70 commit 2605407
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions client/cypress/e2e/_16allocationAWOpen.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -384,8 +384,9 @@ Object.values(viewports).forEach(
.invoke('text')
.should('eq', 'Personal allocation');

cy.get('[data-test=TransactionsListItem]').eq(0).click();
cy.wait(1000);
cy.get('[data-test=TransactionsListItem__DoubleValue__primary]').should('exist');
cy.get('[data-test=TransactionsListItem]').eq(0).click();
cy.get('[data-test=ModalTransactionDetails]').should('be.visible');
cy.get('[data-test=TransactionDetailsAllocation__personal]').should('be.visible');
cy.get('[data-test=TransactionDetailsAllocation__personal--value__primary]')
Expand Down Expand Up @@ -496,6 +497,8 @@ Object.values(viewports).forEach(
.invoke('text')
.should('eq', 'Allocated rewards');

cy.wait(1000);
cy.get('[data-test=TransactionsListItem__DoubleValue__primary]').should('exist');
cy.get('[data-test=TransactionsListItem]').eq(0).click();
cy.get('[data-test=ModalTransactionDetails]').should('be.visible');
cy.get('[data-test=TransactionDetailsAllocation__personal]').should('be.visible');
Expand Down Expand Up @@ -605,8 +608,9 @@ Object.values(viewports).forEach(
.invoke('text')
.should('eq', 'Allocated rewards');

cy.get('[data-test=TransactionsListItem]').eq(0).click();
cy.wait(1000);
cy.get('[data-test=TransactionsListItem__DoubleValue__primary]').should('exist');
cy.get('[data-test=TransactionsListItem]').eq(0).click();
cy.get('[data-test=ModalTransactionDetails]').should('be.visible');
cy.get('[data-test=TransactionDetailsAllocation__personal]').should('be.visible');
cy.get('[data-test=TransactionDetailsAllocation__personal--value__primary]')
Expand Down

0 comments on commit 2605407

Please sign in to comment.