-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Improve Navigation block tests #44920
Comments
@MaggieCabrera How do you feel about the state of this now? Do we need to update the Issue? |
@MaggieCabrera Did we complete the migration to Playwright? Do you recall how many tests were still needing to be written. My gut instinct is that as things stand we have a decent amount of coverage and we can add more if/when needed to:
What do you think? Also welcome opinions from other contributors - may be @scruffian @draganescu? |
There are no puppeteer navigation tests, but I don't think we wrote all the tests we initially decided to write. We didn't cover patterns, permissions, or the ones here labeled under "themes." We did include more that are not here, and we covered color switching on the overlay way more thoroughly than we mentioned on this issue, just off the top of my head. |
I think we should close this and when we see a need for more tests create an issue for them specifically. |
The current Nav block tests have grown overly complex and are flaky. These types of tests should be optimised for testing the critical paths to provide confidence that these features continue to work.
Let's rework the tests as follows to provide greater utilility:
We should end up with a small set of tests which are:
User stories
First test that we can add the block
Submenus
Tests
change how submenus open
As a user I want to style my submenus different than the menu they're in
Tests
Page creation
Multiple menu management
Patterns
Permissions
Fallbacks
Overlay
Loading states
Color handling
Themes
Developer stories:
The text was updated successfully, but these errors were encountered: