Git Product home page Git Product logo

Comments (3)

jennifer-shehane avatar jennifer-shehane commented on August 16, 2024

@I585157 Could you link to where you have narrowed this down to Electron and it being fixed in a later version?

from cypress.

caroline-ferri avatar caroline-ferri commented on August 16, 2024

@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:
Screenshot 2024-06-28 at 10 13 06 AM
Screenshot 2024-06-28 at 10 10 32 AM

from cypress.

jennifer-shehane avatar jennifer-shehane commented on August 16, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.