docbrown/cypress
Ridhwana 25dd42704e
Validate the color contrast ratio before submitting the Creator Settings Form (#15444)
* feat: add a color contrast utility

* feat: add an error when the color contrast is low

* feat: add form validations

* refactor: treat WCAGColorContrast as a library that can be intercanged at any time

* fix: styling

* test: add a test for the contrast

* feat: add test for WCAGColorContrast

* feat: update cypress tests for brand color and color contrast ratios

* feat: update the message to read better

* chore: update the styling

* refactor: address all feedback/suggestions

* Update cypress/integration/creatorOnboardingFlows/creatorSettings.spec.js

Co-authored-by: Nick Taylor <nick@iamdeveloper.com>

* Replaced other .trigger('change')s with .blur()

Co-authored-by: Nick Taylor <nick@iamdeveloper.com>
Co-authored-by: Nick Taylor <nick@dev.to>
2021-12-01 18:49:11 +02:00
..
fixtures ✂✂✂ Remove Connect (#14734) 2021-11-18 08:21:00 -06:00
integration Validate the color contrast ratio before submitting the Creator Settings Form (#15444) 2021-12-01 18:49:11 +02:00
plugins Added support for running E2E tests without seeded data (#14285) 2021-07-22 08:45:37 -04:00
support Creator Onboarding: Creator Setup View (#14728) 2021-11-01 15:50:08 -04:00
util ✂✂✂ Remove Connect (#14734) 2021-11-18 08:21:00 -06:00
.eslintrc.js Bump eslint-plugin-no-only-tests from 2.5.0 to 2.6.0 (#13616) 2021-05-03 11:16:29 -05:00
jsconfig.json Enabled Intellisense for the Cypress API (#14970) 2021-10-06 16:36:11 -04:00