Skip to content

Commit

Permalink
Chore: Tests with Playwright (task: ROC-31, 12-settings) (#25253)
Browse files Browse the repository at this point in the history
  • Loading branch information
souzaramon authored May 17, 2022
1 parent 72db7a2 commit 88710b2
Show file tree
Hide file tree
Showing 10 changed files with 544 additions and 29 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

{{#if canSend}}
{{> messageBoxAudioMessage rid=rid tmid=tmid}}
<span class="rc-message-box__action-menu js-action-menu" data-desktop aria-haspopup="true">
<span class="rc-message-box__action-menu js-action-menu" data-desktop aria-haspopup="true" data-qa-id="menu-more-actions">
{{#if actions}}
<span class="rc-message-box__icon">
{{> icon block="rc-input__icon-svg" icon="plus"}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<div class="rc-message-box__icon rc-message-box__audio-message-done js-audio-message-done">
{{> icon block="rc-input__icon-svg" icon="checkmark-circled"}}
</div>
<div class="rc-message-box__icon rc-message-box__audio-message-mic js-audio-message-record">
<div class="rc-message-box__icon rc-message-box__audio-message-mic js-audio-message-record" data-qa-id="audio-record">
{{> icon block="rc-input__icon-svg" icon="mic"}}
</div>
<div class="rc-message-box__icon rc-message-box__audio-message-loading js-audio-message-loading">
Expand Down
2 changes: 1 addition & 1 deletion apps/meteor/client/views/admin/users/UserInfoActions.js
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ export const UserInfoActions = ({ username, _id, isActive, isAdmin, onChange, on
}, [actionsDefinition, menu]);

return (
<ButtonGroup flexGrow={0} justifyContent='center'>
<ButtonGroup flexGrow={0} justifyContent='center' data-qa-id='UserInfoActions'>
{actions}
</ButtonGroup>
);
Expand Down
2 changes: 1 addition & 1 deletion apps/meteor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"@babel/preset-env": "^7.14.7",
"@babel/preset-react": "^7.14.5",
"@babel/register": "^7.14.5",
"@faker-js/faker": "6.1.2",
"@faker-js/faker": "^6.3.1",
"@playwright/test": "^1.21.0",
"@rocket.chat/eslint-config": "workspace:^",
"@rocket.chat/livechat": "workspace:^",
Expand Down
Loading

0 comments on commit 88710b2

Please sign in to comment.