GSA / data.gov

Main repository for the data.gov service
https://data.gov
Other
607 stars 98 forks source link

Add Playwright UI test framework to datagov-harvester #4811

Open btylerburton opened 2 months ago

btylerburton commented 2 months ago

User Story

In order to ensure reliable end-to-end testing, datagovteam wants to incorporate an end-to-end testing framework, and Playwright is an alternative to Cypress so tests can be written in Python.

Acceptance Criteria

[ACs should be clearly demoable/verifiable whenever possible. Try specifying them using BDD.]

Background

Playwright includes direct integration with pytest: https://playwright.dev/python/docs/intro#installing-playwright-pytest

Security Considerations (required)

[Any security concerns that might be implicated in the change. "None" is OK, just be explicit here!]

Sketch