As directed by Nancy, try button role with explicit waitFor before
falling back to direct navigation. The sidebar Storage Classes item
may be a button not a link.
Co-Authored-By: Paperclip <noreply@paperclip.ing>
The sidebar click approach is flaky - the Storage Classes link is nested under
the Rook button and not reliably visible/clickable. Navigate directly to the
storage-classes URL and verify the page loads with correct heading.
Co-Authored-By: Paperclip <noreply@paperclip.ing>
Add waitForSidebar() call before clicking Rook button to ensure sidebar is fully loaded.
Add 1s explicit wait after clicking Rook button to allow sidebar animation to complete before searching for nested Storage Classes link.
Co-Authored-By: Paperclip <noreply@paperclip.ing>
The storage classes link is nested under the Rook sidebar button and
may not be visible until the Rook section is expanded. Click the Rook
button to expand before asserting visibility.
Also use .first() on heading assertions to avoid strict mode violations
when multiple headings match the regex pattern.
Co-Authored-By: Paperclip <noreply@paperclip.ing>