[arquillian-issues] [JBoss JIRA] (ARQGRA-409) Support for Ember.js

Lukáš Fryč (JIRA) issues at jboss.org
Fri Mar 14 04:18:10 EDT 2014


    [ https://issues.jboss.org/browse/ARQGRA-409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12952896#comment-12952896 ] 

Lukáš Fryč commented on ARQGRA-409:
-----------------------------------

+1 we can do that for both of frameworks,

I just don't know Ember.js internals.

Angular wraps all XHR objects and timeouts in order to be able run its model/view synchronization process.
Ember doesn't have to allow similar mechanism at all.

So let's go ahead and research whether there is a way. :-)

----

On side note, for AngularJS, it is very handy to have special selectors based on ng- attributes such as ng-click, ng-model, etc,
such as:

{code}
@FindByNg(model = "username") WebElement usernameInput;
@FindByNg(action = "search()") WebElement searchButton;
{code}

Is there anything similar for Ember?

----

I would love to have extensions for Graphene and certain frameworks in place.

so you could just add artifact on classpath and you will be all setup:

{code}
graphene-ember
graphene-angular
{code}
                
> Support for Ember.js
> --------------------
>
>                 Key: ARQGRA-409
>                 URL: https://issues.jboss.org/browse/ARQGRA-409
>             Project: Arquillian Graphene
>          Issue Type: Feature Request
>          Components: core
>    Affects Versions: 2.0.0.Final
>            Reporter: Karel Piwko
>
> Ember.js dynamically updates view based on various action. This makes usage of locators and guards pretty complicated.
> It would be great it Graphene could provide:
> * A way how to stability ids for elements in DOM generated as a part of view
> * Guards that are able to guard DOM update without any request.
> [~smikloso] can provide more details, additional discussions at:
> http://stackoverflow.com/questions/12933422/ember-best-practices-with-selenium-to-make-integration-tests-in-browser
> http://stackoverflow.com/questions/16639384/how-to-test-a-javascript-based-application-for-example-ember-js-with-selenium-2
> I believe that such tools might be handy for angular.js testing as well.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the arquillian-issues mailing list