From 7d8f4578a49855e2243935004f7c1e1b9da87821 Mon Sep 17 00:00:00 2001 From: movilla Date: Sat, 14 Sep 2013 15:21:53 +0200 Subject: [PATCH] add mobile test for comment mobile --- features/mobile/logged_out_browsing.feature | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/features/mobile/logged_out_browsing.feature b/features/mobile/logged_out_browsing.feature index f63314444..f445e6531 100644 --- a/features/mobile/logged_out_browsing.feature +++ b/features/mobile/logged_out_browsing.feature @@ -2,14 +2,18 @@ Feature: Browsing Diaspora as a logged out user mobile In order to view public diaspora content as a random internet user - I want to view public pages + I want to view public post and comments Background: Given a user named "Bob Jones" with email "bob@bob.bob" 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 Scenario: Visiting a profile page When I toggle the mobile view 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"