Additional options are provided for running the same test against multiple environments as well as overriding existing behavior.
After recording a test, you have a number of options to modify the test’s behavior to suit your requirements.
Often times you’ll record your tests against a dedicated QA environment, but will want to run all or a subset of those tests against another environment such as Staging or Prod. In Reflect, you can run the same tests against multiple environments without having to duplicate the test or re-record any existing behavior.
To run tests against a different environment:
Another type of Request Override Reflect supports is Query Parameter overrides. One common use-case for this type of overrides is bypassing authentication flows. Infrastructure providers such as Firebase support the notion of auth tokens which are short-lived shared secrets that allow you to immediately authenticate as a specific user without entering a username or password.
To add or override a query parameter to all tests:
This parameter will be appended to the start URL of each test when test execution begins. If the parameter already is present in the start URL, the parameter’s existing value will be overwritten.