Skip to main content

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


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.9.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bpp_env_helpers-0.0.9-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file bpp_env_helpers-0.0.9.tar.gz.

File metadata

  • Download URL: bpp_env_helpers-0.0.9.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for bpp_env_helpers-0.0.9.tar.gz
Algorithm Hash digest
SHA256 75bbae9e419311bd4f6e55aa200ebd0080865b4c8032a69d38787921cede6220
MD5 889c18d3be4fa552f9964f9060f95d4f
BLAKE2b-256 206c178e8d351632909871559deacdb9f48131e316d1defd7e778b366fcfbf10

See more details on using hashes here.

File details

Details for the file bpp_env_helpers-0.0.9-py3-none-any.whl.

File metadata

File hashes

Hashes for bpp_env_helpers-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 5cf1a71f9ed33f53940784a7c50aa3381b867fa62862516390970d6b74b11404
MD5 aca2be218110bd4393e9f5883bd66c2f
BLAKE2b-256 a8f4461cacd15f5043206f5e4ef0d450891cf735d04b8e283d3d16d41f8d89d0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page