diff --git a/app/assets/stylesheets/mobile.css.scss b/app/assets/stylesheets/mobile.css.scss index c34d95846be16e808c7755bafe79951a68c1d559..25e49d6298f3417a278506ad4c6bb2b09a0d9d23 100644 --- a/app/assets/stylesheets/mobile.css.scss +++ b/app/assets/stylesheets/mobile.css.scss @@ -125,7 +125,7 @@ h3 { border-bottom: solid rgb(53, 53, 53) 2px; } - #aspects_list { + .no_border { padding: 0px; border-bottom: 0px; diff --git a/app/views/layouts/application.mobile.haml b/app/views/layouts/application.mobile.haml index 49301b5266489039aece45bd5e9e2f44c4566bb0..4b4ac86f52e08cd570783cd1fa78fbe02b6f9c55 100644 --- a/app/views/layouts/application.mobile.haml +++ b/app/views/layouts/application.mobile.haml @@ -67,7 +67,7 @@ - if yield(:header_action).present? = yield(:header_action) - else - = link_to(image_tag('icons/compose_mobile.png'), new_status_message_path, class: "badge") + = link_to(image_tag('icons/compose_mobile.png'), new_status_message_path, class: "badge", id: "compose_badge") -# Menu = link_to(image_tag('icons/menu.png'), "#", id: "menu_badge", class: "badge") @@ -99,7 +99,7 @@ = link_to t("streams.mentions.title"), mentioned_stream_path %li = t('streams.aspects.title') - %li#aspects_list + %li.no_border %ul - for aspect in current_user.aspects %li diff --git a/features/mobile/activity_stream.feature b/features/mobile/activity_stream.feature index 2881e5bfcaad433c20cc2815b3bafa25914666ab..f8771d906fc92007b1190e1786514d75a2808be7 100644 --- a/features/mobile/activity_stream.feature +++ b/features/mobile/activity_stream.feature @@ -11,12 +11,14 @@ Feature: Viewing my activity on the steam mobile page And I toggle the mobile view Scenario: Show my activity empty - When I click on selector "img.my_activity" + When I open the drawer + And I follow "My Activity" Then I should see "My Activity" And I should not see "Hello! i am #newhere" Scenario: Show post on my activity When I click on selector "a.image_link.like_action.inactive" - And I click on selector "img.my_activity" + And I open the drawer + And I follow "My Activity" Then I should see "My Activity" And I should see "Hello! i am #newhere" within ".ltr" diff --git a/features/mobile/multiphoto.feature b/features/mobile/multiphoto.feature index a5a6f9229acf8172f1082e3645a3fe55f809f574..324f88737af71bfa03ede0b896bfb343477cf826 100644 --- a/features/mobile/multiphoto.feature +++ b/features/mobile/multiphoto.feature @@ -9,7 +9,7 @@ Feature: viewing photos on the mobile main page When I sign in as "bob@bob.bob" And I toggle the mobile view - And I click on selector "img.compose_icon" + And I click on selector "#compose_badge" Scenario: view full size image Given I attach the file "spec/fixtures/button.png" to hidden "file" within "#file-upload-publisher" diff --git a/features/step_definitions/mobile_steps.rb b/features/step_definitions/mobile_steps.rb index 6a84785e1bbb172ade63997e3d5302b136dc0611..e6ba3938c0548e8367ef9bcd6737a6e0db7d648f 100644 --- a/features/step_definitions/mobile_steps.rb +++ b/features/step_definitions/mobile_steps.rb @@ -25,3 +25,7 @@ end When /^I visit the mobile search page$/ do visit('/people.mobile') end + +When /^I open the drawer$/ do + find('#menu_badge').click +end