Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Selector Playground doesn't highlight element currently being hovered over #4872

Closed
wojciech-sygier opened this issue Jul 30, 2019 · 7 comments · Fixed by #4940
Closed

Selector Playground doesn't highlight element currently being hovered over #4872

wojciech-sygier opened this issue Jul 30, 2019 · 7 comments · Fixed by #4940
Assignees

Comments

@wojciech-sygier
Copy link

wojciech-sygier commented Jul 30, 2019

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

@AlexaTkachenko
Copy link

AlexaTkachenko commented Jul 30, 2019

I was faced with the same issue
Cypress Version 3.4.1, Windows 10 Pro, browser Chrome 75, Electron 61
src - Google Chrome 2019-07-30 20 19 07

@ZiqiWill
Copy link

Yes , I have the same issue, looks like some resources are missing
15645520598763

@ZiqiWill
Copy link

ZiqiWill commented Jul 31, 2019

it's seems we're meeting a big defect of the Runner UI in this Version
here is my runtime information

browserPath: "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe",
browserName: "chrome",
browserVersion: "75.0.3770.142",
osName: "win32",
osVersion: "6.3.9600",
cypressVersion: "3.4.1",

hopes there are some work-around to solve this , so that we don't need waiting for the new version release,
@jennifer-shehane thanks

@chrisbreiding
Copy link
Contributor

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

@jbpallingayan
Copy link

GET /__cypress/runner/cypress_selector_playground.css 404 1.336 ms - 136 [1] GET /__cypress/runner/cypress_selector_playground.css 404 0.333 ms - 136 [1] GET /__cypress/runner/cypress_selector_playground.css 404 0.361 ms - 136 [1] GET /__cypress/runner/cypress_selector_playground.css 404 0.377 ms - 136 [1] GET /__cypress/runner/cypress_selector_playground.css 404 0.372 ms - 136 [1] GET /__cypress/runner/cypress_selector_playground.css 404 1.408 ms - 136 [1] GET /__cypress/runner/cypress_selector_playground.css 404 2.002 ms - 136 [1] GET /__cypress/runner/cypress_selector_playground.css 404 0.609 ms - 136 [1] GET /__cypress/runner/cypress_selector_playground.css 404 1.169 ms - 136 [1] GET /__cypress/runner/cypress_selector_playground.css 404 1.140 ms - 136 [1] GET /__cypress/runner/cypress_selector_playground.css 404 1.045 ms - 136 [1] GET /__cypress/runner/cypress_selector_playground.css 404 1.054 ms - 136 [1] GET /__cypress/runner/cypress_selector_playground.css 404 1.239 ms - 136 [1] GET /__cypress/runner/cypress_selector_playground.css 404 0.886 ms - 136 [1] [23848:0805/165015.443841:WARNING:x11_util.cc(1353)] X error received: serial 81817, error_code 3 (BadWindow (invalid Window parameter)), request_code 3, minor_code 0 (X_GetWindowAttributes) [1] GET /__cypress/runner/cypress_selector_playground.css 404 0.532 ms - 136

got this same error.

@cypress-bot cypress-bot bot added the stage: needs review The PR code is done & tested, needs review label Aug 7, 2019
@cypress-bot
Copy link
Contributor

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.

@cypress-bot
Copy link
Contributor

cypress-bot bot commented Oct 23, 2019

Released in 3.5.0.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
6 participants