Merge pull request #4526 from movilla/comment_mobile_test
Add mobile test: logged out user mobile
This commit is contained in:
commit
e6adb8a7ad
1 changed files with 6 additions and 2 deletions
|
|
@ -2,14 +2,18 @@
|
||||||
Feature: Browsing Diaspora as a logged out user mobile
|
Feature: Browsing Diaspora as a logged out user mobile
|
||||||
In order to view public diaspora content
|
In order to view public diaspora content
|
||||||
as a random internet user
|
as a random internet user
|
||||||
I want to view public pages
|
I want to view public post and comments
|
||||||
|
|
||||||
Background:
|
Background:
|
||||||
Given a user named "Bob Jones" with email "bob@bob.bob"
|
Given a user named "Bob Jones" with email "bob@bob.bob"
|
||||||
And "bob@bob.bob" has a public post with text "public stuff"
|
And "bob@bob.bob" has a public post with text "public stuff"
|
||||||
|
And I sign in as "bob@bob.bob"
|
||||||
|
And I comment "this also" on "public stuff"
|
||||||
And I log out
|
And I log out
|
||||||
|
|
||||||
Scenario: Visiting a profile page
|
Scenario: Visiting a profile page
|
||||||
When I toggle the mobile view
|
When I toggle the mobile view
|
||||||
And I am on "bob@bob.bob"'s page
|
And I am on "bob@bob.bob"'s page
|
||||||
Then I should see "public stuff"
|
Then I should see "public stuff" within ".ltr"
|
||||||
|
And I click on selector "a.show_comments"
|
||||||
|
And I should see "this also" within ".comment"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue