ember-test-helpers icon indicating copy to clipboard operation
ember-test-helpers copied to clipboard

Test-framework-agnostic helpers for testing Ember.js applications

Results 118 ember-test-helpers issues
Sort by recently updated
recently updated
newest added

When working with date / time inputs, it's sometimes desired behaviour to allow a user to keep typing beyond the `maxlength` attribute, for example wrapping a time or date input....

per the w3c spec, when a focused element receives a keyDown event with the key `Enter` or ` `, browsers will construct a native `click` event on that focused element....

https://github.com/emberjs/ember-test-helpers/pull/1035 shouldn't have happened, CI should have failed for https://github.com/emberjs/ember-test-helpers/pull/1033 but didn't. 🤔

internal

Hi ! According to [this deprecation](https://deprecations.emberjs.com/v3.x/#toc_routing-transition-methods) I started to replace some calls to `replaceRoute` & `transitionToRoute` by calls on `router` service on my ember App... The result was a lot...

Using the `visit` helper to visit the current URL does nothing. I was expecting it to reload the page since from my understanding the helper intends to have the same...

The `typeIn` helper always triggers all of the key-related events (`keydown`, `keypress`, `input`, and `keyup`) regardless of whether `event.preventDefault()` was called. This makes the helper work differently than actual browser...

bug

I believe this effects 'mouseenter', 'mouseleave', 'pointerenter' , and 'pointerleave'. The issue is that if jQuery is present, Ember's event dispatcher will use jQuery to manage events. This means if...

Ensures`div#ember-testing-container` scrollTop and scrollLeft are zero on render. Fixes https://github.com/emberjs/ember-test-helpers/issues/729, where scrolling during testA will persist container scroll position to testB and thus make the tests brittle. +Adds ember-qunit CSS...

So, I have a simple Ember component input which has the built-in `focusOut` Ember event. In an integration test, using `ember-test-helpers` `triggerEvent(input, 'blur')` on this input or `fillIn(other-input, 'blbl')` in...

bug

We ran into [this issue](https://github.com/emberjs/ember-test-helpers/issues/332) where an aborted transition (which was the behavior we expected) was causing the `visit()` helper to reject failing our test prematurely. _I don't think_ this...

bug