-
-
Notifications
You must be signed in to change notification settings - Fork 218
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(#9233): clean up and organize e2e tests: folder /upgrade #9289
Conversation
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.
It looks really good @lorerod, thank you 🌟
I just left a couple of suggestions
const adminUser = { | ||
username: 'admin2', | ||
password: 'medic.123', | ||
roles: [ 'admin' ], | ||
roles: ['admin'], | ||
contact: { name: 'Philip' }, | ||
place: { name: 'place', type: 'district_hospital' }, | ||
}; |
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.
Please use factory to create the user.
It can be like this:
const adminUser = userFactory.build({
roles: ['admin'],
contact: { name: 'Philip' },
place: { name: 'place', type: 'district_hospital' },
});
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.
It looks good, thank you Lore! 🌟
Co-authored-by: Tatiana Lépiz Soto <[email protected]>
Co-authored-by: Tatiana Lépiz Soto <[email protected]>
16773a9
to
87253e8
Compare
Co-authored-by: Maria Lorena Rodriguez Viruel <[email protected]> Co-authored-by: Tatiana Lépiz Soto <[email protected]>
Description
Closes #9233
Code review checklist
Compose URLs
If Build CI hasn't passed, these may 404:
License
The software is provided under AGPL-3.0. Contributions to this project are accepted under the same license.