|
|
|
@ -28,7 +28,7 @@ context('Check email verification system', () => {
|
|
|
|
|
|
|
|
|
|
|
|
describe(`Case: "${caseId}"`, () => {
|
|
|
|
describe(`Case: "${caseId}"`, () => {
|
|
|
|
it('Register user. Notification exist. The response status is successful.', () => {
|
|
|
|
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.userRegistration(firstName, lastName, userName, emailAddr, password);
|
|
|
|
cy.get('.ant-notification-topRight')
|
|
|
|
cy.get('.ant-notification-topRight')
|
|
|
|
.contains(`We have sent an email with a confirmation link to ${emailAddr}.`)
|
|
|
|
.contains(`We have sent an email with a confirmation link to ${emailAddr}.`)
|
|
|
|
|