-
Notifications
You must be signed in to change notification settings - Fork 168
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
[test-only] E2e. changing user #8602
Conversation
Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes. |
Results for e2e-tests oC10 https://drone.owncloud.com/owncloud/web/33582/11/1 💥 To see the trace, please open the link in the console ...
npx playwright show-trace https://cache.owncloud.com/public/owncloud/web/33582/tracing/user-should-be-able-to-read-and-dismiss-notifications-alice-2023-3-13-12-50-27.zipnpx playwright show-trace https://cache.owncloud.com/public/owncloud/web/33582/tracing/user-should-be-able-to-read-and-dismiss-notifications-brian-2023-3-13-12-50-33.zip |
badb527
to
4d3ec38
Compare
Kudos, SonarCloud Quality Gate passed!
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
const newUser = this.usersEnvironment.createUser({ | ||
key: value, | ||
user: { | ||
id: value, | ||
displayName: '', | ||
password: 'password', | ||
email: '' | ||
} | ||
}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Out of curiosity: why not call this.usersEnvironment.getUser()
here instead?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
then we get error user with key anna not found
.
https://github.com/owncloud/web/blob/master/tests/e2e/support/environment/userManagement.ts#L8-L9
We need create anna
in the store before deleting
created test for editing user