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
|
@ -69,7 +69,7 @@ const LiveTimeRemaining: React.FC<{ beacon: Beacon }> = ({ beacon }) => {
|
|||
const liveTimeRemaining = _t(`%(timeRemaining)s left`, { timeRemaining });
|
||||
|
||||
return (
|
||||
<span data-test-id="room-live-share-expiry" className="mx_LiveTimeRemaining">
|
||||
<span data-testid="room-live-share-expiry" className="mx_LiveTimeRemaining">
|
||||
{liveTimeRemaining}
|
||||
</span>
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue