+
Skip to content

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.

👀

@samanthajayasinghe samanthajayasinghe added the stale Issues that have not had any recent activity label Mar 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stale Issues that have not had any recent activity

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载