bok-choy
Introduction
Installation
Tutorial
Folder structure
Round 1 - The framework of a test
Round 2 - Interacting with a page
Round 3 - Search and verify results
Take it from here!
Test-Design Guidelines
Put browser interactions in the page object, not the test
Put assertions in the test, not the page object
Never use
time.sleep()
Always make pages wait for actions to complete
Wait for JavaScript to load
Performing Accessibility Audits
Define the Accessibility Rules to Check for a Page
(Optional) Define the Scope of Accessibility Auditing for a Page
Trigger an Audit Actively and Assert on the Results Returned
Leverage Your Existing Tests and Fail on Accessibility Errors
Visual Diff Testing
Write Your Page Object and Test Case Code to Navigate the System Under Test
Add the Call to assertScreenshot
Create the Initial Baseline Screenshot
Execute Your Test Cases After Changes to the System Under Test
Advanced Features
Performing XSS Vulnerability Audits
Trigger XSS Vulnerability Audits in Existing Tests
Browser Customization
Firefox Profile Preferences
Firefox Profile Directory
Testing Environment Configuration
Testing via TravisCI
Testing via tox
API Reference
browser
javascript
page_object
accessibility
promise
query
web_app_test
bok-choy
Table of Contents
»
Overview: module code
Give Doc Feedback
All modules for which code is available
abc
bok_choy.a11y.a11y_audit
bok_choy.a11y.axe_core_ruleset
bok_choy.a11y.axs_ruleset
bok_choy.browser
bok_choy.javascript
bok_choy.page_object
bok_choy.promise
bok_choy.query
bok_choy.web_app_test