Spent a little bit more time on this. Found Selenium Builder, which can export a protractor test. http://sebuilder.github.io/se-builder/
Not quite there, but could be a nice leg up for people, or a way to make some e2e test writing faster. On Wednesday, 29 January 2014 12:12:55 UTC-8, Owen M wrote: > > Wondering what people are doing to make e2e writing easier/faster/... ? > What is your workflow to create e2e tests with Protractor? > > Was looking at Selenium IDE where you can record a series of actions. > Seemed promising for really easy e2e testing. > > 1. Load your app in Firefox with Selenium IDE > 2. Record a series of actions by simply performing the action on the > page > 3. Export the generated script > 4. Tweak as needed, especially when fragile selectors/actions are > generated > > Idea is to save having to write all tests by hand. Some you'll need to, > but basic things an approach like the above would be better. Plus the > easier and faster it is to create tests, the more get written which is a > big win. > > Problem with the above is that I couldn't find a Jasmine or even > JavaScript export (even digging through other plugins). I could write an > export plugin probably, but wanted to know if I'm missing something > obvious. A quicker, but not so elegant approach, would be to convert say > the Python WebDriver export into a Jasmine like test case. > > So to the original question, how are people creating Protractor e2e tests? > Any tips or tricks to make them painless as possible? > > Cheers, > ~Owen > -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/groups/opt_out.
