medic / cht-core

The CHT Core Framework makes it faster to build responsive, offline-first digital health apps that equip health workers to provide better care in their communities. It is a central resource of the Community Health Toolkit.
https://communityhealthtoolkit.org
GNU Affero General Public License v3.0
469 stars 217 forks source link

chore(#9660): update e2e sync function #9659

Open dianabarsan opened 1 day ago

dianabarsan commented 1 day ago

Description

When we sync, and an update comes, the update modal can appear before we see the sync status update to successful, and it will close the sidebar menu when it shows up. This made e2e sync function retry and spend time on unnecessary waits. Adds reloadSession common page function.

9660

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.