Skip to content

Commit

Permalink
Better test color in test
Browse files Browse the repository at this point in the history
  • Loading branch information
orblivion committed Mar 21, 2020
1 parent de3020b commit d2bfb9d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/frontend/specs/change_user_color.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ describe("change user color", function(){
var $colorPickerPreview = chrome$("#mycolorpickerpreview");

// Same color represented in two different ways
const testColorHash = '#abcdee'
const testColorRGB = 'rgb(171, 205, 238)'
const testColorHash = '#abcdef'
const testColorRGB = 'rgb(171, 205, 239)'

// Check that the color picker matches the automatically assigned random color on the swatch.
// NOTE: This has a tiny chance of creating a false positive for passing in the
Expand Down Expand Up @@ -74,8 +74,8 @@ describe("change user color", function(){
var $colorPickerSave = chrome$("#mycolorpickersave");

// Same color represented in two different ways
const testColorHash = '#abcdee'
const testColorRGB = 'rgb(171, 205, 238)'
const testColorHash = '#abcdef'
const testColorRGB = 'rgb(171, 205, 239)'

fb.setColor(testColorHash)
$colorPickerSave.click();
Expand Down

0 comments on commit d2bfb9d

Please sign in to comment.