Skip to content

Selenium tests failing locally due to React error overlay #1824

@tudde

Description

@tudde

When testing locally, if a React error overlay is present, Selenium attempts to interact with elements behind the overlay, causing exceptions and failing assertions due to unexpected screen content.
Example (In FlukaConverter.test.ts):

NoSuchElementError: no such element: Unable to locate element: {"method":"xpath","selector":"//button[contains(text(),'Generate from Editor')]"}

This can be solved by disabling the overlay for testing purposes.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions