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

Dom widget playwright tests #540

Merged
merged 27 commits into from
Aug 20, 2024
Merged

Dom widget playwright tests #540

merged 27 commits into from
Aug 20, 2024

Conversation

mcmonkey4eva
Copy link
Contributor

@mcmonkey4eva mcmonkey4eva commented Aug 19, 2024

Playwright tests for dom widget proper handling - implements request @ #475 (review)

PR is opened early so I can get the github actions bot to run, not yet ready for merge Ready to go.

I apologize for the mess. Please use github squash button when merging lol.

panned image being slightly changed is intentional, made a change to how positional offsets are calculated for the pan function (to be relative)

Includes a temporary hackaround for a bug with the node search menu -- it will open any time the mouse is pressed twice rapidly, even if the mouse was actively doing things in that time (eg panning the canvas) - I was able to easily replicate this in the regular UI, not just confined to testing, so that needs to be fixed (at which point that hack can be removed)

@mcmonkey4eva mcmonkey4eva added the New Browser Test Expectations New browser test screenshot should be set by github action label Aug 19, 2024
@mcmonkey4eva mcmonkey4eva added New Browser Test Expectations New browser test screenshot should be set by github action and removed New Browser Test Expectations New browser test screenshot should be set by github action labels Aug 19, 2024
@mcmonkey4eva mcmonkey4eva added New Browser Test Expectations New browser test screenshot should be set by github action and removed New Browser Test Expectations New browser test screenshot should be set by github action labels Aug 19, 2024
@mcmonkey4eva mcmonkey4eva added New Browser Test Expectations New browser test screenshot should be set by github action and removed New Browser Test Expectations New browser test screenshot should be set by github action labels Aug 19, 2024
@mcmonkey4eva mcmonkey4eva added New Browser Test Expectations New browser test screenshot should be set by github action and removed New Browser Test Expectations New browser test screenshot should be set by github action labels Aug 19, 2024
@mcmonkey4eva mcmonkey4eva added New Browser Test Expectations New browser test screenshot should be set by github action and removed New Browser Test Expectations New browser test screenshot should be set by github action labels Aug 19, 2024
@mcmonkey4eva mcmonkey4eva added New Browser Test Expectations New browser test screenshot should be set by github action and removed New Browser Test Expectations New browser test screenshot should be set by github action labels Aug 19, 2024
@mcmonkey4eva mcmonkey4eva removed the New Browser Test Expectations New browser test screenshot should be set by github action label Aug 19, 2024
@mcmonkey4eva mcmonkey4eva added the New Browser Test Expectations New browser test screenshot should be set by github action label Aug 19, 2024
@mcmonkey4eva mcmonkey4eva added New Browser Test Expectations New browser test screenshot should be set by github action and removed New Browser Test Expectations New browser test screenshot should be set by github action labels Aug 19, 2024
@mcmonkey4eva mcmonkey4eva added New Browser Test Expectations New browser test screenshot should be set by github action and removed New Browser Test Expectations New browser test screenshot should be set by github action labels Aug 19, 2024
@mcmonkey4eva mcmonkey4eva added New Browser Test Expectations New browser test screenshot should be set by github action and removed New Browser Test Expectations New browser test screenshot should be set by github action labels Aug 19, 2024
@mcmonkey4eva mcmonkey4eva added New Browser Test Expectations New browser test screenshot should be set by github action and removed New Browser Test Expectations New browser test screenshot should be set by github action labels Aug 19, 2024
github-actions and others added 3 commits August 19, 2024 22:42
this function is never called so it's fine
otherwise it's a double click
@mcmonkey4eva mcmonkey4eva added New Browser Test Expectations New browser test screenshot should be set by github action and removed New Browser Test Expectations New browser test screenshot should be set by github action labels Aug 19, 2024
@mcmonkey4eva mcmonkey4eva changed the title [Experimental] Dom widget playwright tests Dom widget playwright tests Aug 19, 2024
Copy link
Member

@huchenlei huchenlei left a comment

Choose a reason for hiding this comment

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

LGTM!

@@ -34,6 +34,7 @@ tests-ui/workflows/examples
/playwright-report/
/blob-report/
/playwright/.cache/
browser_tests/*/*-win32.png
Copy link
Member

Choose a reason for hiding this comment

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

I should probably batch remove the win32 expectations as they are no longer maintained.

@huchenlei huchenlei merged commit 339e201 into main Aug 20, 2024
2 checks passed
@huchenlei huchenlei deleted the dom-widget-playwright-tests branch August 20, 2024 00:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
New Browser Test Expectations New browser test screenshot should be set by github action
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants