BigW Consortium Gitlab

Commit 6fe33804 by Grzegorz Bizon

Remove dropdown containing CI Lint button on builds page

Link to CI Lint on builds page will be a separate button from now on.
parent 7506afe1
......@@ -9,15 +9,9 @@
= link_to 'Cancel running', cancel_all_namespace_project_builds_path(@project.namespace, @project),
data: { confirm: 'Are you sure?' }, class: 'btn btn-danger', method: :post
.dropdown.inline
%button.btn.btn-default.dropdown-toggle{ type: 'button', id: 'tools-dropdown', 'data-toggle' => 'dropdown' }
Tools
%span.caret
%ul.dropdown-menu.dropdown-menu-right
%li
= link_to ci_lint_path do
= link_to ci_lint_path, class: 'btn btn-default' do
= icon('wrench')
%span CI Lint Tool
%span CI Lint
%ul.nav-links
%li{class: ('active' if @scope.nil?)}
......
......@@ -12,4 +12,4 @@ Feature: Project Builds Summary
Scenario: I browse project builds page
When I visit project builds page
Then I see button to CI Lint Tool
Then I see button to CI Lint
......@@ -12,9 +12,9 @@ class Spinach::Features::ProjectBuildsSummary < Spinach::FeatureSteps
expect(page).to have_css '#build-trace'
end
step 'I see button to CI Lint Tool' do
step 'I see button to CI Lint' do
page.within('.controls') do
ci_lint_tool_link = page.find_link('CI Lint Tool')
ci_lint_tool_link = page.find_link('CI Lint')
expect(ci_lint_tool_link[:href]).to eq ci_lint_path
end
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment