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.2.tar.gz (2.5 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.2-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for bpp_env_helpers-0.0.2.tar.gz
Algorithm Hash digest
SHA256 626cdf8f475ee26b9ae568476a7c6df6ec2d1ed9647c399c305c0bfc9cb1ec06
MD5 c59ca960bb798e8b89c08b36f76d3fbe
BLAKE2b-256 558c949def0377dcebc37945c97a7ab8c7e3c79f56f0c00d8f808bfceedc611d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bpp_env_helpers-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 01f87ba78ced4d35e164ed64f695edd324af6a08d850afc5f6f9580c4b19c24d
MD5 0654637b1ad1a47c6520578a442ad072
BLAKE2b-256 67b8e4fd46a879391a0cf1d000ae8176693d6704b01ed98f3f884eaefcf69158

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