Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OHRM5X - 1996 : Test Automation: Admin - Organization structure #1619

Open
wants to merge 1 commit into
base: 5.4
Choose a base branch
from

Conversation

Ravindu-Bhagya
Copy link

No description provided.

@Super-Chama Super-Chama changed the base branch from main to 5.4 February 16, 2023 04:41
Copy link
Member

@Super-Chama Super-Chama left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use form and field label where possible

cy.getOXD('switch').click();
cy.getOXD('button').contains(' Add ').click();
cy.wait('@getOrgStructure');
cy.get(':nth-child(1) > .oxd-input-group > :nth-child(2) > .oxd-input')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not use form?

cy.getOXD('form').within(() => {
  cy.getOXDInput('Unit Id').type(this.strings.chars120.text).isInvalid('Should not exceed 100 characters');
 });

cy.wait('@postOrgStructure');
cy.toast('success', 'Successfully Saved');
// eslint-disable-next-line cypress/no-unnecessary-waiting
cy.wait(3000);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants