eAPD icon indicating copy to clipboard operation
eAPD copied to clipboard

[Quality] Cypress + LaunchDarkly Testing

Open mirano-darren opened this issue 2 years ago • 0 comments

Describe the task here and link or add dependencies to any applicable issues...

With the addition of LaunchDarkly, There is a way to turn on/off feature flags within a Cypress test. Research this feature and determine weather we should make a Cypress + LaunchDarkly test. The first instance of LaunchDarkly will be the Admin check help panel, so use the tests from #4075 to try out Cypress + LaunchDarkly.

Article: https://glebbahmutov.com/blog/cypress-and-launchdarkly/ https://docs.launchdarkly.com/guides/flags/testing-code?site=federal https://docs.launchdarkly.com/sdk/features/flags-from-files?site=federal

This task is done when...

  • [ ] Research has been done on Cypress + LaunchDarkly
  • [ ] Add LaunchDarkly features to the admin check help panel cypress tests
  • [ ] Cypress can mock flag values with a JSON file
  • [ ] Cypress tests should pass on Circle when validation flag is off. (previously they needed to be on to all pass)

mirano-darren avatar Sep 27 '22 17:09 mirano-darren