The problem with the test was, immediately after selecting second drop-down result, mouse was already over facet header:
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.
The problem with the test was, immediately after selecting second drop-down result, mouse was already over facet header:
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.