Fix the test for check Email verification system (#4071)

Co-authored-by: dvkruchinin <dvkruchinin@gmail.com>
main
Dmitry Kruchinin 4 years ago committed by GitHub
parent 4708b5ecf8
commit 7468df869c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -28,7 +28,7 @@ context('Check email verification system', () => {
describe(`Case: "${caseId}"`, () => {
it('Register user. Notification exist. The response status is successful.', () => {
cy.intercept('POST', '/api/v1/auth/register').as('userRegister');
cy.intercept('POST', '/api/v1/auth/register?**').as('userRegister');
cy.userRegistration(firstName, lastName, userName, emailAddr, password);
cy.get('.ant-notification-topRight')
.contains(`We have sent an email with a confirmation link to ${emailAddr}.`)

Loading…
Cancel
Save