docbrown/app/javascript/utilities/__tests__
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
..
color Validate the color contrast ratio before submitting the Creator Settings Form (#15444) 2021-12-01 18:49:11 +02:00
dragAndDrop.test.js Drag and drop an image in the editor (#10145) 2020-09-04 14:12:59 -04:00
getUserDataAndCsrfToken.test.js ✂✂✂ Remove Connect (#14734) 2021-11-18 08:21:00 -06:00
moderation.test.js [15 min fix] Fixed an issue with the moderation button not appearing on some posts (#14184) 2021-07-13 10:31:00 +02:00
pasteImage.test.js Add paste image (#10212) 2021-02-04 10:58:56 -05:00
search.test.js Prep work to sync mobile search in #10424 (#11525) 2020-11-30 06:13:06 -05:00
textAreaUtils.test.js Markdown toolbar - update new line logic for block syntaxes (#15343) 2021-11-19 06:59:21 +00:00
timeAgo.test.js Ran prettier on *.js, *.jsx and *.md files. (#11586) 2020-11-23 20:45:50 -05:00