question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Selector Playground doesn't highlight element currently being hovered over

See original GitHub issue

Current behavior:

Upon selecting Selector Playground and hovering over ANY element it is not highlighted (you can barely see the selector before clicking), however clicking the element will still yield the selector.

Desired behavior:

Item being hovered over is highlighted, user can clearly see what yielded selector will cover.

Steps to reproduce: (app code and test code)

Literally any test will do, even as simple as this:

describe('Random test', () => {
   it('should just visit the page', () => {
       cy.visit('https://www.barnebys.com/');
   });
});

Steps:

  1. Launch the test.
  2. Click “Selector Playground” button after the test has ended.
  3. Hover over any element.
  4. (optionally) Click the element.

Versions

Cypress 3.4.1, macOS Mojave 10.14.6, Google Chrome 75.0.3770.142

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
cypress-bot[bot]commented, Aug 7, 2019

The code for this is done in cypress-io/cypress#4940, but has yet to be released. We’ll update this issue and reference the changelog when it’s released.

1reaction
chrisbreidingcommented, Jul 31, 2019

@Bkucera I’m guessing this is a result of the change to using webpack internally. Can you look into it?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why is the :hover selector not working on this SVG element?
When I use the selector #apple:hover to select an SVG element, the hover doesn't seem to be working. Why is this not working?...
Read more >
Chrome not highlighting elements on hover in inspector - Reddit
as you can see, firefox highlights the element my mouse is currently hovering over without me having to click them. chrome used to...
Read more >
hover - Cypress Documentation
Sometimes an element has specific logic on hover and you do need to "hover" in Cypress. Maybe the element doesn't even display to...
Read more >
Wix Editor: Unable to Select an Element | Help Center | Wix.com
If an element is placed outside the Editor gridlines or behind another element, you may not be able to see it on your...
Read more >
JavaScript · Bootstrap
Don't use data attributes from multiple plugins on the same element. For example, a button cannot both have a tooltip and toggle a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found