It seems that the should not exist assertion does not properly work for findByRole.
It retried the assertion and returned an AssertionError in the end due to the element not being found.
Timed out retrying after 120000ms: Unable to find an accessible element with the role "tab" and name "ForDeleteRegularRole"
cypress-testing-library
version: 10.0.1node
version: 18.0.1npm
(oryarn
) version: 10.2.0Relevant code or config
Problem description:
It seems that the should not exist assertion does not properly work for findByRole. It retried the assertion and returned an AssertionError in the end due to the element not being found.