GSA / notifications-admin

The UI of Notify.gov
https://notify.gov
Other
11 stars 2 forks source link

e2e test for best practice content pages #2074

Closed heyitsmebev closed 1 day ago

heyitsmebev commented 3 weeks ago

As part of the end2end epic, this issue is to create testing for the new Best Practice content pages side nav

In my implementation, I'm using an endpoint to retrieve feature flags in E2E tests because Playwright runs in a browser environment and can't access Flask's server-side configuration (current_app.config). This endpoint allows Playwright to check feature flags dynamically, enabling conditional tests based on the feature's state.