Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2015-09-29 19:08:55 +0300
committerrymai <remy@rymai.me>2015-09-29 22:47:01 +0300
commitea72d53ec083676ee1171e97c0869132f360d0c9 (patch)
treed512e83b668cf9223bab25c5f5dd6b715a82b204 /features/steps/abuse_reports.rb
parent5f95a5e070c76c582a2b394377b0f350f4b1cff9 (diff)
Streamline the "Report button"
This simplifies the "Report button" to not use open a dropdown and adds a tooltip on this button. This also removes an extra spec and adds missing specs.
Diffstat (limited to 'features/steps/abuse_reports.rb')
-rw-r--r--features/steps/abuse_reports.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/features/steps/abuse_reports.rb b/features/steps/abuse_reports.rb
index 623807dac82..56652ff6f05 100644
--- a/features/steps/abuse_reports.rb
+++ b/features/steps/abuse_reports.rb
@@ -22,9 +22,8 @@ class Spinach::Features::AbuseReports < Spinach::FeatureSteps
user_mike
end
- step 'I should not see the "Remove abuse" dropdown / button' do
- expect(find(:css, '#report_abuse')).not_to have_selector(:css, 'ul.dropdown-menu')
- expect(find(:css, '#report_abuse')).to have_selector(:css, '.btn-close')
+ step 'I should see a red "Report abuse" button' do
+ expect(find(:css, '.report_abuse')).to have_selector(:css, 'span.btn-close')
end
def user_mike