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: adding new e2e test to old navigation #9360

Merged
merged 33 commits into from
Aug 22, 2024

Conversation

tatilepizs
Copy link
Contributor

@tatilepizs tatilepizs commented Aug 20, 2024

Description

Navigate to the general workflow in the CHT to test the old navigation, it covers:

  • Accessing the Messages tab, open a previously sent message and verify its content.
  • Accessing the Task tab, open an available task and verify its title
  • Accessing the Reports tab, open a pre-loaded pregnancy report and verify the patient name and the report title
  • Accessing the People tab, open the created health center and verify its name
  • Accessing the Target Aggregates section and open one target
  • Sync

A new page object was created, with all the selectors and methods from the commonPage that I think might change with the new navigation, maybe we will need to add more things to this file when we actually start updating the e2e tests

care-teams/#157

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.

@tatilepizs tatilepizs requested a review from kapelo August 20, 2024 22:13
@tatilepizs tatilepizs marked this pull request as ready for review August 21, 2024 22:31
@tatilepizs
Copy link
Contributor Author

@Benmuiruri @kapelo I think this is ready for review, please check if we need to evaluate or consider another scenario. Thanks 😊

@Benmuiruri Benmuiruri force-pushed the feature-flag-hide-old-nav branch from 20829d7 to 517eb05 Compare August 22, 2024 05:09
Copy link
Contributor

@kapelo kapelo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good work and speed @tatilepizs

Copy link
Contributor

@Benmuiruri Benmuiruri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@tatilepizs tatilepizs merged commit 08f2c81 into feature-flag-hide-old-nav Aug 22, 2024
44 checks passed
@tatilepizs tatilepizs deleted the e2e-test-old-nav branch August 22, 2024 15:24
@latin-panda
Copy link
Contributor

The first step of the automation is done 🤩 @tatilepizs @kapelo @Benmuiruri nice collaboration around timezones!
Up to the finish line 🏁

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.

4 participants