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

Add tests for DomActions.prehide() #552

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

freiondrej
Copy link
Contributor

@freiondrej freiondrej commented Nov 29, 2024

As described in the mini README, I had to split the tests into multiple files, as I didn't find any option of WTR to refresh files between runs.

I suppose potentially we could introduce such logic ourselves by using the "barebones" variant of html tests (the 2nd code snippet in this page), where runTests would be replaced by direct calls to specific test cases and we would perform a reload after each of them, but I'm not sure it's worth it, let me know if I should give it a try 🚀

EDIT: Or, we could leverage undoPrehide() to get rid of the element again. However, I'm not sure if we want to couple the tests to its implementation like that.

@freiondrej freiondrej force-pushed the dom-actions-wtr-prehide branch from 8c767e4 to c72900e Compare November 29, 2024 10:15
@sammacbeth sammacbeth requested a review from muodov December 6, 2024 10:34
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