Skip to content

chore(ui5-responsive-popover): migrate wdio tests to cypress #11701

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 4 commits into
base: main
Choose a base branch
from

Conversation

duygu-rmdn
Copy link
Contributor

@duygu-rmdn duygu-rmdn requested a review from a team June 11, 2025 13:01
</>
);

cy.get("#respPopover").invoke("attr", "open", true);
Copy link
Contributor

Choose a reason for hiding this comment

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

there is custom command for responsive popover which checks whether the component is open and to open it

</>
);

cy.get("#respPopover").invoke("attr", "open", true);
Copy link
Contributor

Choose a reason for hiding this comment

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

i would switch the id selector to [custom-tag] selector as there is only 1 RP on the page.

</>
);

cy.get("#btnOpen3").realClick();
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 to click on the button since RP is programatically opened? same applies for the following tests

it("header and footer are hidden on desktop", () => {
cy.mount(
<>
<Button id="btnOpen3" />
Copy link
Contributor

Choose a reason for hiding this comment

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

remove {}


describe("Acc", () => {
it("tests accessible-role", () => {
cy.mount(
Copy link
Contributor

Choose a reason for hiding this comment

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

split these 3 test into 3 smaller ones and add description in the test title what exactly is tested. like: tests accessible-role=AlertDialog

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