Hello,
I've two questions to discuss.
1) When using Lebowski, I've found it much simpler when the SproutCore
element has the layerId field set.
For instance, to access the password field on a login page, before I
would have:
@password =
self.child_views.first('SC.FormView').child_views[2,'SC.FormRowView'].child_views[1,'SC.TextFieldView']
Once you have a layerId set though, you have:
@password = App['#loginPassword']
While this is much simpler, you now have an additional problem. Now
you need to provide that layerId label for each element that you care
about. It needs to be unique and ideally it would be something
meaningful.
I was wondering if anyone has any rules of thumbs for uniquely naming
their SproutCore elements while still maintaining readability.
I found this snippet of code that purportedly will automatically fill
in the layerId for you:
http://martinottenwaelter.fr/2010/01/testing-and-auto-generated-ids-in-sproutcore/
Has anyone tried this, and if so were there any issues? I'm a bit wary
to try it as the code creates labels with '.' notation, and I've had
issues with Lebowski being able to handle labels with '.' in them in
the past.
2) Previously, MikeC mentioned that he was working on a port for
Lebowski to use WebDriver. This in turn would allow using Selenium 2
to interact with the latest Browsers that are most needed for test
coverage. He also tentatively mentioned a January/February release
date. I know it's not quite the end of February and I should be
patient, but is there any update on this? Is there anything that I or
the community can do to help? Is there perhaps a git project we can
take a look at?