Aloha!

I'm trying to write e2e tests for my angular+angularfire app.  Im running 
into a problem:  I can't figure out a way to set my auth state before I 
start my tests.

Basically, I can't guarantee that my browser will be authed with FB or not 
before the tests start.  So I'm trying to make the tests smart enough to 
figure it out and reset auth state appropriately.

I have tried things like: if page.logoutLink.isDisplayed() then 
page.logoutLink.click().  However because protractor is queuing up steps, 
and not resolving them, this clearly doesn't work.

How do other people deal with this?

Thanks!

sd

-- 
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.

Reply via email to