Skip to content

Commit

Permalink
fix: Try change syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Jekabs Karklins authored and Jekabs Karklins committed Feb 19, 2023
1 parent 6f25c67 commit 1f725ad
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -675,19 +675,18 @@ context('Proposal tests', () => {
});

it('Should be able to redeem proposal invite user information', () => {
cy.login('user3');
cy.login('user2');
cy.visit('/');
cy.finishedLoading();
cy.get('[data-cy="proposal-table"]').should(
'not.contain.text',
'not.contain',
initialDBData.proposal.shortCode
);
cy.get('[data-cy="join-proposal-btn"]').click();
cy.get('#code').clear();
cy.get('#code').type(initialDBData.redeemCodes.validRedeemCode.code);
cy.get('[data-cy="invitation-submit"]').click();
cy.get('[data-cy="proposal-table"]').should(
'contain.text',
cy.get('[data-cy="proposal-table"]').contains(
initialDBData.proposal.shortCode
);
});
Expand Down

0 comments on commit 1f725ad

Please sign in to comment.