summaryrefslogtreecommitdiff
path: root/spec/javascripts/fixtures/issue_sidebar_label.html.haml
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-08-18 13:59:09 +0100
committerPhil Hughes <me@iamphill.com>2016-08-19 15:27:18 +0100
commitbcf304b04ac4bd7e7863421f84a388ab4039b80f (patch)
tree1cd4459c6af388f10d0c5246e8e32ffc89ea3c6c /spec/javascripts/fixtures/issue_sidebar_label.html.haml
parent87284321ffc23fde2be175cb9ba01a5aa37071a6 (diff)
downloadgitlab-ce-bcf304b04ac4bd7e7863421f84a388ab4039b80f.tar.gz
Changed tests to use JS tests
Diffstat (limited to 'spec/javascripts/fixtures/issue_sidebar_label.html.haml')
-rw-r--r--spec/javascripts/fixtures/issue_sidebar_label.html.haml16
1 files changed, 16 insertions, 0 deletions
diff --git a/spec/javascripts/fixtures/issue_sidebar_label.html.haml b/spec/javascripts/fixtures/issue_sidebar_label.html.haml
new file mode 100644
index 00000000000..74421730b98
--- /dev/null
+++ b/spec/javascripts/fixtures/issue_sidebar_label.html.haml
@@ -0,0 +1,16 @@
+.block.labels
+ .sidebar-collapsed-icon.js-sidebar-labels-tooltip
+ .title.hide-collapsed
+ %a.edit-link.pull-right{ href: "#" }
+ Edit
+ .selectbox.hide-collapsed{ style: "display: none;" }
+ .dropdown
+ %button.dropdown-menu-toggle.js-label-select.js-multiselect{"data-ability-name" => "issue", "data-field-name" => "issue[label_names][]", "data-issue-update" => "/root/test/issues/2.json", "data-labels" => "/root/test/labels.json", "data-project-id" => "12", "data-show-any" => "true", "data-show-no" => "true", "data-toggle" => "dropdown", :type => "button"}
+ %span.dropdown-toggle-text
+ Label
+ %i.fa.fa-chevron-down
+ .dropdown-menu.dropdown-select.dropdown-menu-paging.dropdown-menu-labels.dropdown-menu-selectable
+ .dropdown-page-one
+ .dropdown-content
+ .dropdown-loading
+ %i.fa.fa-spinner.fa-spin