Skip to content

chore(ui5-wizard): migrate wdio tests to cypress #11752

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

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

StefanDimitrov04
Copy link
Contributor

No description provided.

@StefanDimitrov04 StefanDimitrov04 marked this pull request as ready for review June 24, 2025 13:13
Copy link
Contributor

@nnaydenow nnaydenow left a comment

Choose a reason for hiding this comment

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

  • use real events.

  • select by [custom-tag] instead of id where it's possible

  • cleanup template where it's possible

.as("disabledStep");

cy.get("@disabledStep")
.click({ force: true });
Copy link
Contributor

Choose a reason for hiding this comment

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

realClick

);

cy.get("[ui5-button]")
.then($button => {
Copy link
Contributor

Choose a reason for hiding this comment

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

do you need that click?

cy.mount(
<Wizard id="asd">
<WizardStep icon="sap-icon://product" selected titleText="Product type">
<MessageStrip>
Copy link
Contributor

Choose a reason for hiding this comment

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

remove message strip since it's nto part of the test


it("move to next step by click", () => {
cy.mount(
<Wizard id="asd">
Copy link
Contributor

Choose a reason for hiding this comment

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

do we need the id?

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.

2 participants