Add E2E test: invite-dialog.spec.ts
(#10693)
* Add `invite-dialog.spec.ts` Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com> * Apply the latest status The ARIA role of the buttons in 'mx_HeaderButtons' was recently changed from 'tab' to 'button' Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com> --------- Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
This commit is contained in:
parent
9fc4410ee9
commit
0d2af83dbe
2 changed files with 181 additions and 2 deletions
|
@ -1337,7 +1337,7 @@ export default class InviteDialog extends React.PureComponent<Props, IInviteDial
|
|||
<div className="mx_InviteDialog_footer">
|
||||
<h3>{_t("Or send invite link")}</h3>
|
||||
<CopyableText getTextToCopy={() => makeUserPermalink(MatrixClientPeg.get().getUserId()!)}>
|
||||
<a href={link} onClick={this.onLinkClick}>
|
||||
<a className="mx_InviteDialog_footer_link" href={link} onClick={this.onLinkClick}>
|
||||
{link}
|
||||
</a>
|
||||
</CopyableText>
|
||||
|
@ -1385,7 +1385,12 @@ export default class InviteDialog extends React.PureComponent<Props, IInviteDial
|
|||
{},
|
||||
{
|
||||
userId: () => (
|
||||
<a href={makeUserPermalink(userId)} rel="noreferrer noopener" target="_blank">
|
||||
<a
|
||||
className="mx_InviteDialog_helpText_userId"
|
||||
href={makeUserPermalink(userId)}
|
||||
rel="noreferrer noopener"
|
||||
target="_blank"
|
||||
>
|
||||
{userId}
|
||||
</a>
|
||||
),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue