Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content

test: added app install test with maestro

Hasib Prince requested to merge 1157-maestro_script into main

Description

This MR added a mechanism to test app installs with 100s of apps through Maestro.

Tests

We can configure the installation flow in the following way. For example:

SEARCH_STRING: "notes" // search keyword.
SEARCH_SUGGESTION_STRING: "notes app" // text from the suggestion.
NUMBER_OF_MAX_CATEGORY: 5 // Maximum number of categories will be considered to explore.
APP_INSTALL_CATEGORY_PAGE: 15 // Number of app installation from category page.
APP_INSTALL_PER_CATEGORY: 3 // Number of app installations from each category.
APP_INSTALL_SEARCH_PAGE: 5 // Number of app installations from search page.

run this command from the maestro directory of the project.

Debug:

maestro test -e APP_ID=foundation.e.apps.debug maestro-apps-install.yaml

Release:

maestro test -e APP_ID=foundation.e.apps maestro-apps-install.yaml

Issues

backlog/-/issues/1157

10 commandments of code reviews

👪 https://gitlab.e.foundation/internal/wiki/-/wikis/mobile-team/guidelines/Code-review

Summary by CodeRabbit

  • New Features

    • Enhanced application installation flow with new environment variables for improved search and navigation.
    • Added functionality for repeated installations based on specified limits and conditions.
    • Integrated error handling to manage installation processes effectively.
    • New sections in the README for installation and testing instructions.
  • Bug Fixes

    • Improved handling of UI elements during installation to ensure smoother user experience.
Edited by Hasib Prince

Merge request reports

Loading