summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorDavid Wagner <david@marvid.fr>2016-11-18 21:19:44 +0100
committerDavid Wagner <david@marvid.fr>2016-11-28 23:18:03 +0100
commitb3ed4e0cf9dc66b49fba933455212d9c89b80d90 (patch)
treee4949f433f4aa2616f6806078da256bca1bb5069 /features
parent4fddd9b7a18098229294740db33b01d85bef21e6 (diff)
downloadgitlab-ce-b3ed4e0cf9dc66b49fba933455212d9c89b80d90.tar.gz
Homogenize dropdowns on Issue page
Make sort and filter dropdowns look the same and tweak their icon and colors according to #24150. Signed-off-by: David Wagner <david@marvid.fr>
Diffstat (limited to 'features')
-rw-r--r--features/steps/shared/issuable.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/features/steps/shared/issuable.rb b/features/steps/shared/issuable.rb
index aa666a954bc..79dde620265 100644
--- a/features/steps/shared/issuable.rb
+++ b/features/steps/shared/issuable.rb
@@ -110,14 +110,14 @@ module SharedIssuable
end
step 'I sort the list by "Oldest updated"' do
- find('button.dropdown-toggle.btn').click
+ find('button.dropdown-toggle').click
page.within('.content ul.dropdown-menu.dropdown-menu-align-right li') do
click_link "Oldest updated"
end
end
step 'I sort the list by "Least popular"' do
- find('button.dropdown-toggle.btn').click
+ find('button.dropdown-toggle').click
page.within('.content ul.dropdown-menu.dropdown-menu-align-right li') do
click_link 'Least popular'
@@ -125,7 +125,7 @@ module SharedIssuable
end
step 'I sort the list by "Most popular"' do
- find('button.dropdown-toggle.btn').click
+ find('button.dropdown-toggle').click
page.within('.content ul.dropdown-menu.dropdown-menu-align-right li') do
click_link 'Most popular'