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

Chore: add Mouse test util + update tests #975

Open
wants to merge 7 commits into
base: v1/contrib
Choose a base branch
from

Conversation

madsrasmussen
Copy link
Contributor

Description

This PR adds a Mouse test util to make it easier to click on an element. When using the sendMouse helper from playwright we have to pass in the location coordinates. I have made a wrapper that takes an element and finds the center of the element instead.

This is how it currently works:

const mouse = new UUITestMouse();
await mouse.leftClick(someElement);
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Chore (minor updates related to the tooling or maintenance of the repository, does not impact compiled assets)

Copy link

Azure Static Web Apps: Your stage site is ready! Visit it here: https://delightful-beach-055ecb503-975.westeurope.azurestaticapps.net

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.

1 participant