Skip to main content

Tooling

Shared Python tooling supporting BC extension development, testing, and documentation.

Available Tools

UAT Test Plan Library

A Python-based pipeline that generates structured UAT test plans as Word documents and JSON for manual stakeholder testing. Covers 8 extensions with configurable test matrices.

BC Playwright Test Helpers

Shared Python library (tools/bc_test_helpers/) providing browser automation for BC web client testing. Includes:

  • BcPage class -- Playwright page wrapper handling BC's split-frame architecture (search in Frame 0, content in Frame 1)
  • TOTP MFA authentication
  • Field reading, action bar interaction, record navigation
  • Deep link URL generation for BC pages

Used by the Service Order Lockout and PO Email Notification automated test suites.

Report Generation Utilities

Python scripts for generating formatted PDF and HTML reports from extension data. Used for delivery reviews, code quality assessments, and status updates.

info

Documentation for BC Playwright Test Helpers and Report Generation Utilities will be expanded as these tools mature. For current usage, see the test suites in Service Order Lockout/test/ and PO Email Notification/test/.