avallete / cypress-nhover Goto Github PK
View Code? Open in Web Editor NEWAdd nhover (NativeHover) and nmove (NativeMove) command to Cypress.io test runner.
License: MIT License
Add nhover (NativeHover) and nmove (NativeMove) command to Cypress.io test runner.
License: MIT License
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These problems occurred while renovating this repository. View logs.
These updates have been manually edited so Renovate will no longer make changes. To discard all commits and start over, click on a checkbox.
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
.circleci/config.yml
package.json
cypress 6.3.0
semantic-release 19.0.0
I have application with lit-html web component. When button is clicked on a test bed html, dialog (lit-html web component) appears with ok button. I am trying to hover over it. Since no solutions of hover work for me, i tried out "cypress-nhover": "1.0.0",
cy.get('dialog').get('.ok-button', { includeShadowDom: true }).nhover()
It creates an error
get .ok-button
scrollIntoView {log: false}
RangeError
Maximum call stack size exceeded
View stack trace
Print to console
at Sizzle (http://localhost:8002/__cypress/runner/cypress_runner.js:85876:27)
at Function.Sizzle.matches (http://localhost:8002/__cypress/runner/cypress_runner.js:86505:10)
at Function.jQuery.filter (http://localhost:8002/__cypress/runner/cypress_runner.js:87883:22)
at winnow (http://localhost:8002/__cypress/runner/cypress_runner.js:87866:22)
at jQuery.fn.init.is (http://localhost:8002/__cypress/runner/cypress_runner.js:87919:13)
at findScrollableParent (http://localhost:8002/__cypress/runner/cypress_runner.js:151206:16)
at findScrollableParent (http://localhost:8002/__cypress/runner/cypress_runner.js:151214:11)
at findScrollableParent (http://localhost:8002/__cypress/runner/cypress_runner.js:151214:11)
at findScrollableParent (http://localhost:8002/__cypress/runner/cypress_runner.js:151214:11)
at findScrollableParent (http://localhost:8002/__cypress/runner/cypress_runner.js:151214:11)
at findScrollableParent (http://localhost:8002/__cypress/runner/cypress_runner.js:151214:11)
at findScrollableParent (http://localhost:8002/__cypress/runner/cypress_runner.js:151214:11)
at findScrollableParent (http://localhost:8002/__cypress/runner/cypress_runner.js:151214:11)
at findScrollableParent (http://localhost:8002/__cypress/runner/cypress_runner.js:151214:11)
at findScrollableParent (http://localhost:8002/__cypress/runner/cypress_runner.js:151214:11)
Chrome 75
"dependencies": {
"lit-element": "^2.3.1"
},
"devDependencies": {
"@open-wc/testing": "^2.0.0",
"@open-wc/testing-karma": "^3.0.0",
"@types/node": "13.11.1",
"chrome-remote-interface": "0.28.2",
"concurrently": "^5.1.0",
"cypress": "^4.10.0",
"cypress-nhover": "1.0.0",
"deepmerge": "^3.2.0",
"es-dev-server": "^1.54.1",
"start-server-and-test": "^1.11.0",
"tslib": "^2.0.0",
"typescript": "^3.9.5"
}
I am getting the mentioned error when trying to hover an element which will show a dropdown list menu.
My css is: [data-testid=user-menu]
Steps to replicate - navigate to ding.com
Register an account
Perform a hover action for My Account label in the header.
Related opened issue: https://bugs.chromium.org/p/chromium/issues/detail?id=1107096
Originally posted by @avallete in #14 (comment)
Unrelated to the scrollIntoView
issue, it seem that calling DOM.querySelector
doesn't return a valid nodeId, causing the code to fail at some point.
I've opened an issue on chromium project to as if that's a desired behaviour.
In the mean time, it would be great to explore some other options like the use of https://chromedevtools.github.io/devtools-protocol/tot/Debugger/#method-evaluateOnCallFrame to retrieve a RemoteObjectId which seem to be used as a replacement to nodeId
for DOM.getContentQuads
function.
There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.
Error type: undefined. Note: this is a nested preset so please contact the preset author if you are unable to fix it yourself.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.