initial cucumber step
This commit is contained in:
parent
eb99b6ba5d
commit
7a5fc11505
1 changed files with 16 additions and 0 deletions
|
|
@ -77,3 +77,19 @@ Feature: oauth
|
||||||
Then I should be on "/account" on Chubbies
|
Then I should be on "/account" on Chubbies
|
||||||
And I should see my "profile.birthday"
|
And I should see my "profile.birthday"
|
||||||
And I should see my "name"
|
And I should see my "name"
|
||||||
|
|
||||||
|
Scenario: Login in with Chubbies when you already authorized it
|
||||||
|
Given Chubbies is registered on my pod
|
||||||
|
When I try to authorize Chubbies
|
||||||
|
When I press "Authorize"
|
||||||
|
Then I should be on "/account" on Chubbies
|
||||||
|
And I should see my "profile.birthday"
|
||||||
|
And I should see my "name"
|
||||||
|
|
||||||
|
Then I visit "/new" on Chubbies
|
||||||
|
And I fill in "Diaspora Handle" with "#{@me.diaspora_handle}"
|
||||||
|
And I press "Connect to Diaspora"
|
||||||
|
|
||||||
|
And I debug
|
||||||
|
Then I should be on "/account" on Chubbies
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue