Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore: Tests with Playwright (task: ROC-31, 12-settings) #25253

Merged
merged 66 commits into from
May 17, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
64e5c41
feat: create BASE_API_URL constant
Apr 20, 2022
d293a73
test: create [API Settings Change] suite
Apr 20, 2022
ae8ce56
test: expect successfully create a session
Apr 20, 2022
db7469f
test: create Message edit suite and expect disable message editing
Apr 20, 2022
f645d3a
fix: apply lint --fix
Apr 20, 2022
a42f6d8
test: expect enable message editing
Apr 20, 2022
23c1702
test: create Message delete suite and expect disable message deleting
Apr 20, 2022
06669cb
test: expect enable message deleting
Apr 20, 2022
e9fe918
test: create block audio files suite and expect disable audio files
Apr 20, 2022
c497cbb
test: expect enable audio files
Apr 20, 2022
fc52f4e
test: create block video files suite and expect disable video files
Apr 20, 2022
d8376e2
test: expect enable video files
Apr 20, 2022
97657ba
Merge branch 'develop' into ROC-31
souzaramon Apr 25, 2022
8a9668b
test: create badwords filter suite and expect enable badwords filter
Apr 25, 2022
db3ad6f
test: expect add 'badword' to filterlist
Apr 25, 2022
be27916
test: disable badwords filter
Apr 25, 2022
3f4d701
test: create message pin suite and expect disable message pinning
Apr 25, 2022
8d57029
test: expect enable message pinning
Apr 25, 2022
0a191b4
fix: value should be true to enable badword filter settings
Apr 25, 2022
25633bc
refactor: remove prefix 'block' from suites
Apr 25, 2022
e6d40d4
test: create message starring suite and expect disable message starring
Apr 25, 2022
88e309d
test: expect enable message starring
Apr 25, 2022
ebcdc04
test: create file upload suite and expect disable file upload
Apr 25, 2022
df27a2a
test: expect enable file upload
Apr 25, 2022
3f16502
test: create profile > profile change suite and expect disable profil…
Apr 25, 2022
e933779
test: expect enable profile change
Apr 25, 2022
a5a3c15
test: avatar change suite and expect disable avatar change
Apr 25, 2022
f1f3d91
test: expect enable avatar change
Apr 25, 2022
504f510
fix: remove colon from suite names
Apr 25, 2022
2fadb3a
test: manual approve new users suite and expect enable manual approve…
Apr 25, 2022
9010fed
test: expect disable manual new users approve
Apr 25, 2022
e957cbe
fix: apply lint --fix
Apr 25, 2022
89ce8ff
fix: set API prefix
Apr 25, 2022
efa4d33
tests: should login(UI) beforeAll
Apr 25, 2022
8a9464e
refactor: rename to apiSessionHeaders
Apr 25, 2022
e14b1c3
tests: create UI suites
Apr 25, 2022
615fd7c
fix: fixes MainContent selectors
Apr 26, 2022
c0e225a
test: UI login as a validUser, expect option(edit) not be visible
Apr 26, 2022
edc9b62
test: expect option(edit) be visible
Apr 26, 2022
881738b
test: UI expect option(delete) not be visible
Apr 26, 2022
23b3188
test: UI expect option(delete) be visible
Apr 26, 2022
9b11b68
test: expect option(upload audio) not be visible
Apr 26, 2022
a2633a1
test: expect option(upload audio) be visible
Apr 26, 2022
1de9b4e
fix: add awaitForLoadState after a page reload
Apr 26, 2022
382bc46
test: expect option(upload video) not be visible
Apr 26, 2022
36a4739
test: expect option(upload video) be visible
Apr 26, 2022
034e803
refactor: page reload and wait calls
Apr 26, 2022
f8f01c1
test: expect badword be censored, expect badword not be censored
Apr 26, 2022
2ff7579
fix: add waitForSelector
Apr 26, 2022
9d97806
test: expect option(pin message) be visible, expect option(pin messa…
Apr 26, 2022
dc25056
test: expect option(star message) be visible, expect option(star mes…
Apr 26, 2022
278c554
fix: add waitForSelector to message-box and popup
Apr 26, 2022
4458ba8
test: expect option(upload file) be visible, expect option(upload fi…
Apr 26, 2022
9d59173
fix: add awaitForLoadState for popup on File upload
Apr 26, 2022
13c551f
tests: add profile suite
Apr 26, 2022
87bc6f5
fix: prevent empty test lint error
Apr 26, 2022
198fb15
Merge branch 'develop' into ROC-31
May 5, 2022
a858ee8
test: remove unrelated test
May 4, 2022
0678f7b
refactor: upgrade message edit suite
May 5, 2022
46c6636
refactor: upgrade message delete suite
May 5, 2022
b4d1460
refactor: upgrade audio files suite
May 5, 2022
9889056
refactor: create openMoreActionMenu and start using openMessageAction…
May 5, 2022
7e99158
test: split settings tests between admin and user, create userInTable…
May 6, 2022
604dccf
test: add settings admin tests
May 10, 2022
79443da
Merge branch 'develop' into ROC-31
May 13, 2022
bb0dfb8
chore: apply eslint:fix
May 17, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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