Comments (3)
@I585157 Could you link to where you have narrowed this down to Electron and it being fixed in a later version?
from cypress.
@jennifer-shehane I used the following repo https://github.com/electron/electron-quick-start to test different versions of electron to identify where the errorUncaught DOMException: Failed to execute 'matches' on 'Element': ':dir(rtl)' is not a valid selector
is coming from. I ran the app with the open dev tools line uncommented in main.js
. I then began testing the command document.querySelector("body").matches(":dir(rtl)")
in the console when running the application with the latest version of electron cypress supports, increasing the version each test. When running with node v.18.17.1 and electron v27.0.0 the document.querySelector("body").matches(":dir(rtl)")
command failed with the Uncaught DOMException
. When running with node v18.18.2 and electron v28.0.0 the command returned false
which is the expected response if no values within the <body>
match the selector.
Here a some relevant screenshots for more detail:
from cypress.
@I585157 Thanks! This is really helpful. Unfortunately our Electron upgrade is blocked. Version 28 has a breaking change and version 29 has a bug in v8 that we're waiting for Chromium to respond to, but we'll be actively seeking resolution of that this quarter. See #28943 (comment)
from cypress.
Related Issues (20)
- The "fd" argument must be of type number -> Everytime I run npx cypress run --record --key <Record Key> HOT 2
- Drag and Drop event is of type Event
- json-parse-even-better-errors PR #29673 open points HOT 3
- Flakiness connecting to Chrome in github actions HOT 7
- Cypress unable to detect tests (where it did previously) and give "Error: For the selected environment is no default script chunk format available:" HOT 3
- deprecated `[email protected]` dependency of `@cypress/request` not reverted to `[email protected]` HOT 2
- Error attaching to target cri p [Error]: 'Network.enable' wasn't found HOT 1
- Cypress - How to get rid of Chrome 'Change your password' popup (duplicates #29384)
- [Cypress 13.13.1, Chrome] - unload is not allowed HOT 5
- Run takes 5 minutes to start in bitbucket pipeline when using pnpm install instead of npm install HOT 3
- An unexpected error occurred while verifying the Cypress executable. HOT 4
- cy.clock affects creating UTCDateMini type HOT 3
- Generic CypressError Emitted after `before` async function takes longer than 4 seconds to fully complete.
- cy.intercept does not work for vite 5
- Add Auto Cancellation only for specific tags
- Cypress randomly crashes in chrome when using Cypress Open with 'Aw, Snap!' HOT 8
- cy.session does not work consistently between creation and restoration of sessions
- The failure screenshot doesn't show the failed assertion, instead it clearly displays the element it failed to find
- cy.task() must only be invoked from the spec file or support file HOT 1
- clientCertificates is not working HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cypress.