DataBiosphere / data-explorer

BSD 3-Clause "New" or "Revised" License
11 stars 6 forks source link

Change facet header hover and reenable test #329

Closed melissachang closed 5 years ago

melissachang commented 5 years ago

The problem with the test was, immediately after selecting second drop-down result, mouse was already over facet header:

1

So mouseEnter() didn't trigger.

Instead of mouseEnter(), used CSS to implement hover, as recommended here.

After making this fix, the test failed due to a different hover problem. I ran npm install locally and then test passed; I assume because puppeteer was upgraded.