GithubHelp home page GithubHelp logo

Comments (7)

ro0gr avatar ro0gr commented on June 11, 2024 3

I've just published v2.0.0-beta.1. A noticeable change is that we've stopped importing adapters(previously known as private ExecutionContexts) eagerly, and now we require to import and set adapters manually in user land, see #511 for some more details. I believe this change should avoid the issue with the ember-native-dom-helpers, which you've mentioned @cah-briangantzler.

If there are any sub tasks

I'd really like us to add ember-qunit@5 to our test matrix. There was some initial effort already #516, but seems we still need to move it to the finish line, and target it to the v2-beta branch.
It'd be great, if someone could help with this and make sure ember-qunit@5 is really supported!

from ember-cli-page-object.

ro0gr avatar ro0gr commented on June 11, 2024 2

ember-qunit@5 support has been released as 1.17.5. Thanks everyone for making it happen! 🚀

from ember-cli-page-object.

ro0gr avatar ro0gr commented on June 11, 2024 1

Thank you guys for raising the issue and investigation!
Removal of old moduleFor integrations is definetily on their way.
Unfortunately, I'm a bit limited in time currently, but I'll try to find some time this weekend to publish the first beta of v2, which unlocks us to remove the old integrations "properly". Will keep updating the status here in the ticket.

from ember-cli-page-object.

SergeAstapov avatar SergeAstapov commented on June 11, 2024 1

@ro0gr I opened #529 which is relatively simple fix that could be released as patch version for ember-unit v5 compatibility without need to wait for v2 or upgrade to v2 beta.

from ember-cli-page-object.

cah-brian-gantzler avatar cah-brian-gantzler commented on June 11, 2024

So the problem is a lot bigger than that. They really need to get away from using https://github.com/cibernox/ember-native-dom-helpers as well because that also does an import of ember-test-helpers/wait. We dont want to fix ember-native-dom-helpers either as it really is no longer needed.

Attempting to remove ember-native-dom-helpers lead to a host of tests breaking that would need rewritten.

In my experiments I also found that fillin will allow you to fill in a disabled element, when removing ember-native-dom-helpers and using fillin from @ember/test-helpers, fillin now fails when the element is disabled, which is the correct thing to do. This prevented me from using my applications tests to test ember-cli-page-object changes because my tests now fail because Im filling into a disabled element (I have to fix them as well now). There also seems to be a difference in visit, but I did not explore it as the changes just spiraled.

I am hoping one of the maintainers that know a lot more about how this is put together will find the time to fix this.

from ember-cli-page-object.

cah-brian-gantzler avatar cah-brian-gantzler commented on June 11, 2024

If there are any sub tasks I can help with. Let me know.

from ember-cli-page-object.

SergeAstapov avatar SergeAstapov commented on June 11, 2024

Created a fix for ember-native-dom-helpers in cibernox/ember-native-dom-helpers#168

from ember-cli-page-object.

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.