| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
A simple UI automation framework built with:
Clone this repository:
git clone <repository-url>Install required dependencies:
pip install poetry
poetry shell
poetry env info
copy `Executable: path to virtual env` -> Add Interpreter -> Poetry Environment -> Existing environment -> add Executable -> Apply
poetry installthen specify your poetry env
Create a .env file and add:
DEV_URL = "your-dev-project-url"
STAG_URL = "your-staging-project-url"
If you prefer not to use environment variables, add your references to the properties file:
class Properties:
_ENV_VARIABLES = {
"dev": ("DEV_URL", ""),
"stag": ("STAG_URL", ""),
# Add more environments and their default URLs as needed
} jobs:
selenium-tests:
runs-on: macos-latest
env:
DEV_URL: ${{ vars.DEV_URL }}
STAG_URL: ${{ vars.STAG_URL }}
The linting configuration defines rules that dictate the checks performed. Customize these rules to suit your project's coding style and requirements.
$ProjectFileDir$
path to your ruff installed /bin/ruff
$FilePathRelativeToProjectRoot$ --config .ruff.toml
To secure our passwords or sensitive data, we store them in an encrypted form. For this, we use the secure-test-automation library.
implementation on framework side: utils/crypto.py
Pay attention The encryption key is stored in /config/key.properties (this file should be added to .gitignore) for local testing.
For executing tests in remote environments (e.g., BrowserStack, Jenkins, etc.), we have integrated the Vault HashiCorp library.
@pytest.fixture
def get_password():
secure = Secure()
read = YAMLReader.read("data.yaml", to_simple_namespace=True)
password = read.users.john.details.password
return secure.decrypt_password(password)| Back | FazBrowse Home | New Git URL |