Files
Rick 20cea87fec Automated E2E Tests on all backend environments (#5712)
* Testing maestro e2e

* Testing e2e

* Testing e2e

* Testing e2e

* Testing e2e

* Testing e2e

* Testing e2e

* Implemented Fastlane action for installing the right StoreKit config file to the simulator that will be used for maestro testing

* Made the setup simulator storekit config action a lot more stable by updating the code finding the storekit shared app group container

* Added script for generating CI.xcconfig file to be used by the CI runs

* Updated config.yml

* Updated maestro flows path

* Made the e2e test lane reusable with a test_environment argument, added storekit config file for load shedder. Setup CircleCI job for all 3 test_environments

* Fix passing load shedder api key to command

* Updated storing of test output

* Added test environment name to the e2e test runs

* Restore missing install_dependencies call

* Also store test output as artifacts

* Allow setting force_server_error_strategy from env variable, using it in the fallback e2e tests.

* Using CircleCI matrix for test_environments

* Added support for showing different E2E flows in the app depending on which maestro flow is run to avoid tests breaking if changes are made

* Using new automated sdk project. Using a single test flow and the environment is now soley based on API key and server error strategy environment variables

* Updated context and environment variables for e2e tests

* Only generate maestro workspace

* Test

* Fixed incorrect env variables being used

* Fix formatting

* Simplified env var -> xcconfig logic to avoid using wrong values

* Fix config

* Updated maestro screenshot names

* Fixed forceServerErrorStrategy

* Reusing maestro e2e test all environments

* Added fortress 2 as load_shedder_secondary test environment

* Rename test_environment to backend_environment

* use default value for force_server_error_strategy

* Updated flow names

* Added daily e2e test schedule

* Removed unused parameter

* Revert to original build and test step after testing

* Passing the api_host to the maestro test app for the load shedder backends, using the normal API key

* Renamed load_shedder_primary and load_shedder_secondary

* Renamed forceServerErrorStrategy case and removed protocl from api_host

* Small code changes

* Rename parameter target to query to align with Tuist terminology

* Small code changes to address PR feedback
2025-11-10 11:25:29 +01:00

29 lines
992 B
Plaintext

//
// Copyright RevenueCat Inc. All Rights Reserved.
//
// Licensed under the MIT License (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://opensource.org/licenses/MIT
//
// Global.xcconfig
//
// Created by Jay Shortway on 02/10/2024.
// Configuration settings file format documentation can be found at:
// https://help.apple.com/xcode/#/dev745c5c974
// ======
// README
// ======
// This file's main purpose is to be able to make Local.xcconfig an optional Configuration Settings file. Otherwise,
// builds would fail if Local.xcconfig does not exist, which we don't want. Any local build options, such as enabling
// compiler flags, should be done in Local.xcconfig. See Local.xcconfig.SAMPLE on how to create Local.xcconfig.
//
// Note that this file is read by the RevenueCat, PurchaseTester and PaywallsTester projects.
// ======
#include? "CI.xcconfig"
#include? "Local.xcconfig"