Edit room-header.spec.ts to check apps button (#10934)

* Edit room-header.spec.ts to check apps button

* Check aria-checked status instead

* Edit a comment
This commit is contained in:
Suguru Hirahara 2023-05-18 12:54:53 +00:00 committed by GitHub
parent fabfae172b
commit 7d0c68aa29
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 100 additions and 0 deletions

View file

@ -591,6 +591,7 @@ export default class RoomHeader extends React.Component<IProps, IState> {
})}
onClick={this.props.onAppsClick}
title={this.props.appsShown ? _t("Hide Widgets") : _t("Show Widgets")}
aria-checked={this.props.appsShown}
alignment={Alignment.Bottom}
key="apps"
/>,