Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Triggering events in acceptance tests #15

Open
mattmcginnis opened this issue Jan 29, 2016 · 2 comments
Open

Triggering events in acceptance tests #15

mattmcginnis opened this issue Jan 29, 2016 · 2 comments

Comments

@mattmcginnis
Copy link

Anyone have luck with writing acceptance tests for the slider? I've tried things like the following but with no luck.

  Ember.$(selector).slider('setValue', [250000, 28000], true, true);
// or
  triggerEvent(Ember.$(selector).slider(), 'slideStart', [250000, 280000]);
// or
  triggerEvent(Ember.$(selector).slider(), 'change', [50000, 300000], [250000, 280000]);

Unfortunately, the component's computed properties don't update.

@yankeeinlondon
Copy link
Member

Sorry but I haven't done nearly enough with acceptance tests to help.

@Dominicbarretto
Copy link

Dominicbarretto commented Apr 26, 2019

were u able to solve this?
if yes can u share some test examples

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants