- Issue created by @simohell
- Status changed to Needs review
9 months ago 12:29pm 21 March 2024 - Status changed to Needs work
9 months ago 1:42pm 21 March 2024 - 🇺🇸United States smustgrave
Can we add an assertion somewhere that checks this attribute to make sure it doesn't break again?
- 🇫🇮Finland simohell
We looked at this today at the end of Drupal a11y office hours and based on that I moved the aria attribute to the correct button element. This still doesn't have a test.
- 🇨🇦Canada mgifford Ottawa, Ontario
Thanks for raising this at today's Drupal A11y Office Hour Simo!
- 🇫🇮Finland simohell
@smustgrave About tests: I don't a lot of test with themes currently. And this is theme specific f.e. Olivero does this already, but uses a different script. How would we go about testing this?
- Status changed to Needs review
8 months ago 10:00am 27 April 2024 - Status changed to Needs work
8 months ago 5:20pm 28 April 2024 - 🇺🇸United States smustgrave
So we get so few nightwatch tests wasn't sure if the test-only feature worked with nightwatch, it doesn't. And since I'm pretty sure I don't have nightwatch working locally opened a test-only branch with just the test to see it fail.
Unfortunately it didn't
What I meant in #5 was if there was an existing test that we can just put a check that the attribute exists.
- 🇫🇮Finland simohell
We agreed to add the duplicate nightwatch test as it is adding a comment with @lauriii during DrupalCamp Finland+Baltics contrib day - since locally it passed and we didn't find examples of nightwatch tests testing multiple themes/modules.
- 🇫🇮Finland simohell
Oh. Now I see that that test actually runs again an Olivero install.
So I'll need to make it run with actual Claro. My bad, need to fix it. - 🇫🇮Finland simohell
Now I have a Nightwatch test that uses Claro theme for the test site and fails against 11.x without and succeeds against this MR. So even if it's using much of the test code from Olivero it now actually tests the menu in Claro.
Attaching both the test results run locally.
- Status changed to Needs review
8 months ago 9:43pm 28 April 2024 - Status changed to RTBC
8 months ago 11:49pm 28 April 2024 - 🇺🇸United States smustgrave
Also pushed the change to the test-only branch and got https://git.drupalcode.org/issue/drupal-3432632/-/pipelines/159222
Closed the MR so the bot doesn't pick up on it.
Great job on the tests!
- Status changed to Fixed
8 months ago 10:04pm 2 May 2024