Make test ID compatible with findByTestId() of Cypress Testing Library (#10617)
'data-test-id' is not discoverable with findByTestId() of Cypress Testing Library. Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
This commit is contained in:
parent
daad630827
commit
8a4a584ba0
11 changed files with 15 additions and 15 deletions
|
@ -23,7 +23,7 @@ describe("Location sharing", () => {
|
|||
let homeserver: HomeserverInstance;
|
||||
|
||||
const selectLocationShareTypeOption = (shareType: string): Chainable<JQuery> => {
|
||||
return cy.get(`[data-test-id="share-location-option-${shareType}"]`);
|
||||
return cy.get(`[data-testid="share-location-option-${shareType}"]`);
|
||||
};
|
||||
|
||||
const submitShareLocation = (): void => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue