misc helpers for bpp behave tests
Project description
environment-helpers
package for generalizing qa project setup
Making Queries
- function to read query file
def get_query_string(path_to_query_file) -> str:
# implementation
- function to send the request with parameters
def make_query(gql_url, query_string, query_file_path, variables) -> Response:
# implementation
Validating parameters for test runs (WIP)
Required Parameters
- faculty-admin-portal
- env = tst|stgapp
- browser = chromium|firefox|webkit
- faculty-portal
- env = tst|stgapp
- browser = chromium|firefox|webkit
- qbank-student-portal
- env = tst|stgapp
- browser = chromium|firefox|webkit
- qbank-admin-portal
- env = tst|stgapp
- browser = chromium|firefox|webkit
- cf-student-portal
- env = tst|stgapp|beta
- browser = chrome
- cf-admin-portal
- env = tst|stgapp|beta
- browser = chrome
- mcat/lsat-admin-portal
- env = tst|stgapp
- browser = chrome
- course = mcat|lsat
- mcat-student-portal
- env = tst|stgapp|beta|prod
- browser = chrome
- lsat-student-portal
- env = tst|stgapp|beta|prod
- browser = chrome
- rev-tech
- env = tst|stgapp
- browser = chrome
Booleans to Set Up
check if there's user/password, if so, tell the run to log in with that data
- create a boolean called
log_in_with_cookie = False
Reading and returning environment data (WIP)
Reading and returning account data (WIP)
Triggering functions (WIP)
Properties (maybe) (WIP)
Resetting (maybe) (WIP)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
bpp_env_helpers-0.0.5.tar.gz
(2.5 kB
view hashes)
Built Distribution
Close
Hashes for bpp_env_helpers-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08bf04d31c5e9a45093fae5a99bc784966edb3c9f21a016d1d39b5f9f7f1ce5a |
|
MD5 | a0a0aa12cb18ec387dbf24a425bc4b45 |
|
BLAKE2b-256 | 059300a34cece094661e01f307e47b766993138d51ffcda67882260ffb54f7a3 |