Commit 993566bc authored by Ben Hayward's avatar Ben Hayward

Updated data attributes for e2e

1 merge request!480[Sprint/KiltedKoala](feat): Added in boost e2e tests
Pipeline #81405438 running with stages
......@@ -73,7 +73,7 @@ context('Boost Creation', () => {
expect(xhr.response.body.status).to.deep.equal("error");
});
cy.get('[data-cy=error]')
cy.get('[data-cy=boost-creation-error]')
.contains(duplicateError);
});
......@@ -94,7 +94,7 @@ context('Boost Creation', () => {
.first()
.click({force: true});
cy.get('[data-cy=error]')
cy.get('[data-cy=boost-creation-error]')
.contains(nonParticipationError);
});
......
......@@ -370,7 +370,7 @@
class="m-boost--creator--submit-error"
>
<i class="material-icons">close</i>
<span data-cy="error">{{ error }}</span>
<span data-cy="boost-creation-error">{{ error }}</span>
</div>
</div>
</section>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment