Skip to content

Commit

Permalink
Changes to test cumulus is working on a 5.1 feature
Browse files Browse the repository at this point in the history
  • Loading branch information
KateChuen authored Jan 26, 2023
1 parent 75e903b commit 570c4d1
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 12 deletions.
3 changes: 3 additions & 0 deletions cumulus-configuration.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"backlogIds": ["CXSPA"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -24,27 +24,27 @@ context('B2B - User Registration', () => {
cy.visit('/');
});

it('should navigate to organization user registration page', () => {
it('should navigate to organization user registration page (CXSPA-215)', () => {
navigateToOrganizationUserRegisterPage();
});

it('should fill registration form and register user', () => {
it('should fill registration form and register user (CXSPA-215)', () => {
fillOrganizationUserRegistrationForm(
getSampleUser(),
'Please register my account'
);
});

it('should verify tabbing order', () => {
it('should verify tabbing order (CXSPA-215)', () => {
// Accessibility
verifyTabbingOrder();
});

it('should submit the form filled with data', () => {
it('should submit the form filled with data (CXSPA-215)', () => {
submitOrganizationUserRegistrationForm();
});

it('should verify global message after successful registration', () => {
it('should verify global message after successful registration (CXSPA-215)', () => {
const message =
'Thank you for registering! A representative will contact you shortly and confirm your access information.';
verifyGlobalMessageAfterRegistration(message);
Expand All @@ -57,7 +57,7 @@ context('B2B - User Registration', () => {
cy.visit('/');
});

it('should display validation errors if form is empty', () => {
it('should display validation errors if form is empty (CXSPA-215)', () => {
navigateToOrganizationUserRegisterPage();

/*
Expand All @@ -67,7 +67,7 @@ context('B2B - User Registration', () => {
verifyFormErrors();
});

it('should display error global message if user exists', () => {
it('should display error global message if user exists (CXSPA-215)', () => {
let user = getSampleUser();
user.email = myCompanyAdminUser.registrationData?.email;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,27 +21,27 @@ context('B2B - User Registration', () => {
cy.visit('/');
});

it('should navigate to organization user registration page', () => {
it('should navigate to organization user registration page (CXSPA-215)', () => {
navigateToOrganizationUserRegisterPage();
});

it('should fill registration form and register user', () => {
it('should fill registration form and register user (CXSPA-215)', () => {
fillOrganizationUserRegistrationForm(
getSampleUser(),
'Please register my account'
);
});

it('should verify tabbing order', () => {
it('should verify tabbing order (CXSPA-215)', () => {
// Accessibility
verifyTabbingOrder();
});

it('should submit the form filled with data', () => {
it('should submit the form filled with data (CXSPA-215)', () => {
submitOrganizationUserRegistrationForm();
});

it('should verify global message after successful registration', () => {
it('should verify global message after successful registration (CXSPA-215)', () => {
const message =
'Thank you for registering! A representative will contact you shortly and confirm your access information.';
verifyGlobalMessageAfterRegistration(message);
Expand Down

0 comments on commit 570c4d1

Please sign in to comment.