Skip to content

test(ui5-step-input): migrate tests to cypress #11697

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

Merged
merged 9 commits into from
Jun 17, 2025
Merged

test(ui5-step-input): migrate tests to cypress #11697

merged 9 commits into from
Jun 17, 2025

Conversation

didip1000
Copy link
Contributor

@didip1000 didip1000 commented Jun 10, 2025

Migratedwdio tests to cypress for ui5-step-input.

Fixes: #11573

@didip1000 didip1000 self-assigned this Jun 10, 2025
@didip1000 didip1000 marked this pull request as ready for review June 10, 2025 22:19
@didip1000 didip1000 requested a review from NHristov-sap June 11, 2025 22:00

cy.get("@stepInput")
.then($el => {
$el[0].addEventListener(eventName, changeStub);
Copy link
Contributor

@nnaydenow nnaydenow Jun 13, 2025

Choose a reason for hiding this comment

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

FYI: for single event listeners you can directly attach the event into jsx template

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I would have had to do that for 13 tests, this felt cleaner.

@didip1000 didip1000 merged commit 26c8e1d into main Jun 17, 2025
19 of 20 checks passed
@didip1000 didip1000 deleted the cy-step-input branch June 17, 2025 12:25
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.

[StepInput] change event may not get fired if value was previously updated via re-render
2 participants