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:
@@ -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>
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user