You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, when using the GoogleMap component with a data-testid attribute, the attribute is not being passed through to the rendered DOM element. This makes it difficult to select the map container element in testing environments.
Example of current usage:
<GoogleMapdata-testid="google-map"// other props.../>
Expected behavior:
The data-testid attribute should be passed to the underlying map container div element
Current behavior:
The data-testid attribute is not being passed through and is missing from the rendered DOM
This affects the ability to select the map element in testing frameworks like Cypress, Jest, or Playwright that rely on data-testid attributes for element selection.
Proposed solution:
Could you please add support for passing through HTML attributes (including data-* attributes) to the underlying container element?
The text was updated successfully, but these errors were encountered:
Currently, when using the GoogleMap component with a data-testid attribute, the attribute is not being passed through to the rendered DOM element. This makes it difficult to select the map container element in testing environments.
Example of current usage:
Expected behavior:
The data-testid attribute should be passed to the underlying map container div element
Current behavior:
The data-testid attribute is not being passed through and is missing from the rendered DOM
This affects the ability to select the map element in testing frameworks like Cypress, Jest, or Playwright that rely on data-testid attributes for element selection.
Proposed solution:
Could you please add support for passing through HTML attributes (including data-* attributes) to the underlying container element?
The text was updated successfully, but these errors were encountered: