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(#9233): clean up and organize e2e tests: folder /upgrade #9289

Merged
merged 8 commits into from
Aug 7, 2024

Conversation

lorerod
Copy link
Contributor

@lorerod lorerod commented Jul 30, 2024

Description

Closes #9233

Code review checklist

  • Readable: Concise, well named, follows the style guide, documented if necessary.
  • Documented: Configuration and user documentation on cht-docs
  • Tested: Unit and/or e2e where appropriate
  • Internationalised: All user facing text
  • Backwards compatible: Works with existing data and configuration or includes a migration. Any breaking changes documented in the release notes.

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.

@lorerod lorerod requested a review from tatilepizs August 1, 2024 13:52
Copy link
Contributor

@tatilepizs tatilepizs left a 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

Comment on lines 6 to 12
const adminUser = {
username: 'admin2',
password: 'medic.123',
roles: [ 'admin' ],
roles: ['admin'],
contact: { name: 'Philip' },
place: { name: 'place', type: 'district_hospital' },
};
Copy link
Contributor

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' },
    });

tests/e2e/upgrade/webapp.wdio-spec.js Outdated Show resolved Hide resolved
tests/e2e/upgrade/webapp.wdio-spec.js Outdated Show resolved Hide resolved
@lorerod lorerod marked this pull request as ready for review August 1, 2024 21:33
@lorerod lorerod requested a review from tatilepizs August 2, 2024 18:35
Copy link
Contributor

@tatilepizs tatilepizs left a 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! 🌟

Maria Lorena Rodriguez Viruel and others added 8 commits August 7, 2024 11:46
Co-authored-by: Tatiana Lépiz Soto <94494491+tatilepizs@users.noreply.github.com>
Co-authored-by: Tatiana Lépiz Soto <94494491+tatilepizs@users.noreply.github.com>
@lorerod lorerod force-pushed the 9233-clean-up-and-organize-upgrade-e2e-folder branch from 16773a9 to 87253e8 Compare August 7, 2024 15:46
@lorerod lorerod merged commit 6dabd10 into master Aug 7, 2024
45 checks passed
@lorerod lorerod deleted the 9233-clean-up-and-organize-upgrade-e2e-folder branch August 7, 2024 20:48
sugat009 pushed a commit that referenced this pull request Aug 12, 2024
Co-authored-by: Maria Lorena Rodriguez Viruel <marialorenarodriguezviruel@mbp-de-maria.lan>
Co-authored-by: Tatiana Lépiz Soto <94494491+tatilepizs@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Clean up and organize e2e tests: folder /upgrade
2 participants