Closed nav-mohan closed 1 year ago
@nav-mohan reports that this is a known issue without a resolution. If there is not a better way to write this test, we will need to bypass it for now.
@nav-mohan please update - did we bypass these tests?
Yes, currently we are overriding that section of the test. @GopiGugan suggested that we could change the colorScale without clicking on the dropdown button. I should look into that approach. It wouldn't be a perfect test of the UI but it would be close enough.
Commented out for the time being
This might be related to this issue here. I wrote a test to verify that the
tips
have the right colours. This test passes in theInteractive
version of theElectron
browser but it fails inHeadless
mode of theElectron
browser.Test passes in the
Interactive
Browser (npx cypress open
)Test fails in
Headless
Browser (npx cypress run
)Upon changing the colourScale to
Region
, the colour of the firsttip
is expected to bergb(68,187,153)
which is acyan
ish colour. But the actual colour isrgb(109,29,106)
which is apurple
hue from the defaultDivergence
colour scale. So, it seems like the dropdown does not fully trigger the event of selection. I've tried increasing the timeout but that didn't work.