An automated testing suite for the Reactor and Skyline websites, developed with Selenium and utilizing Chrome, is designed to thoroughly test every interaction and feature, including support for MetaMask and Eternl wallets. This tool mimics user behavior and checks responses to guarantee optimal performance and reliability. By addressing all possible scenarios, this tool provides a strong foundation for identifying and fixing potential issues in the website's functionality and user interface.
-
Clone the repository:
git clone https://github.com/bane/apex-fusion-reactor-test-suite.git cd apex-fusion-reactor-test-suite
-
Set up a virtual environment (recommended):
python -m venv venv source venv/bin/activate
-
Install the required packages:
pip install -r requirements.txt
-
Copy the example configuration file:
cp environment.env.example environment.env
-
Open
environment.env
and set environment variables:SIGN_KEY= PRIME_WALLET_RECOVERY_PHRASE= VECTOR_WALLET_RECOVERY_PHRASE= NEXUS_WALLET_RECOVERY_PHRASE= PREVIEW_WALLET_RECOVERY_PHRASE= NEXUS_NETWORK_NAME= NEXUS_NETWORK_RPC_URL= NEXUS_NETWORK_CHAIN_ID= NEXUS_NETWORK_CURRENCY_SYMBOL= PARTNER_REACTOR_URL= INTERNAL_REACTOR_URL= INTERNAL_SKYLINE_URL= APEX_FUSION_FAUCET_URL=
-
Prime to Vector
dotenv -f environment.env run -- python main.py Reactor Internal Prime 5 APEX Vector APEX
-
Prime to Nexus
dotenv -f environment.env run -- python main.py Reactor Internal Prime 5 APEX Nexus APEX
-
Vector to Prime
dotenv -f environment.env run -- python main.py Reactor Internal Vector 2 APEX Prime APEX
-
Nexus to Prime
dotenv -f environment.env run -- python main.py Reactor Internal Nexus 2 APEX Prime APEX
-
Prime (APEX) to Preview (WAPEX)
dotenv -f environment.env run -- python main.py Skyline Internal Prime 5 APEX Preview WAPEX
-
Preview (Ada) to Prime (WAda)
dotenv -f environment.env run -- python main.py Skyline Internal Preview 5 Ada Prime WAda
-
Prime (WAda) to Preview (Ada)
dotenv -f environment.env run -- python main.py Skyline Internal Prime 5 WAda Preview Ada
-
Preview (WAPEX) to Prime (APEX)
dotenv -f environment.env run -- python main.py Skyline Internal Preview 5 WAPEX Prime APEX