Port location unit tests from enzyme to react-testing-library (#10181)
* SmartMarker test to rtl * LocationPicker to rtl * LocationViewDialog to rtl * LocationShareMenu to rtl * use toBeDisabled assertion
This commit is contained in:
@@ -27,7 +27,7 @@ describe("Location sharing", () => {
|
||||
};
|
||||
|
||||
const submitShareLocation = (): void => {
|
||||
cy.get('[data-test-id="location-picker-submit-button"]').click();
|
||||
cy.get('[data-testid="location-picker-submit-button"]').click();
|
||||
};
|
||||
|
||||
beforeEach(() => {
|
||||
|
||||
Reference in New Issue
Block a user