Configuring Tests
To configure your tests, follow these steps:
Click on the 'Configure' button on the Project page. You can later access this button from the menu on the top right.
On the Project Configuration page, you will see the branches you had selected.
Choose a Trigger for your tests. You can choose between two options:
Pull Request: Every time you raise a Pull Request in your GitHub repository against your selected Master and Develop branches, ContextQA will automatically trigger a test. It will scan the PR to identify impacted flows and generate test cases accordingly.
Slack: If you have the Slack integration set up, you can use Slack commands to trigger a test when a PR is raised. (Slack integration setup is discussed in the 'Other Integrations' section.)
Configure Test Execution as either 'Auto-run' or 'Review and Proceed':
Auto-run: ContextQA will execute the tests on your connected Device Farm as soon as the scripts and build are available.
Review and Proceed: You will need to manually start execution by clicking 'Run Test Execution' in the Test Details page.
Configure the Application Build:
Choose between manually uploading the build for each test or allowing ContextQA to automatically build it from the PR/branch being tested.
Select your Device Farm and the devices on which the tests should run. The available devices depend on your subscription and plan with the selected Device Farm.
Optionally, provide Key-Value pairs for test execution (e.g., specific username and password for login testing). If not specified, ContextQA will use default generated values.
Click 'Save' on the top right of the screen to confirm your settings.
Return to the Project page. After scanning and configuration, you can use the selected trigger to run tests within the Project.
Last updated