summaryrefslogtreecommitdiff
path: root/features/steps
diff options
context:
space:
mode:
authorAlejandro Rodríguez <alejorro70@gmail.com>2016-06-06 12:01:50 -0400
committerAlejandro Rodríguez <alejorro70@gmail.com>2016-06-06 12:01:50 -0400
commit535d11302e73fe88702f7c65effc3cd443bf56fc (patch)
tree1db737e7b6d5874fdb7ad3b2b4162013424d29cb /features/steps
parent316630ad2c7f654024d7ea10cd5c2f978f37357e (diff)
downloadgitlab-ce-535d11302e73fe88702f7c65effc3cd443bf56fc.tar.gz
Remove prev/next buttons on issues and merge requests18026-consider-removing-issue-merge-request-previous-next-buttons
The buttons were rarely used and added at least 1 query each on every page load.
Diffstat (limited to 'features/steps')
-rw-r--r--features/steps/shared/issuable.rb16
1 files changed, 0 insertions, 16 deletions
diff --git a/features/steps/shared/issuable.rb b/features/steps/shared/issuable.rb
index 733e80b7279..c6572cf386e 100644
--- a/features/steps/shared/issuable.rb
+++ b/features/steps/shared/issuable.rb
@@ -138,22 +138,6 @@ module SharedIssuable
end
end
- step 'I should see "1 of 1" in the sidebar' do
- expect_sidebar_content('1 of 1')
- end
-
- step 'I should see "1 of 2" in the sidebar' do
- expect_sidebar_content('1 of 2')
- end
-
- step 'I should see "2 of 2" in the sidebar' do
- expect_sidebar_content('2 of 2')
- end
-
- step 'I should see "3 of 3" in the sidebar' do
- expect_sidebar_content('3 of 3')
- end
-
step 'I click link "Next" in the sidebar' do
page.within '.issuable-sidebar' do
click_link 'Next'