diff options
author | Mike Greiling <mike@pixelcog.com> | 2017-10-31 18:50:30 +0300 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2017-10-31 19:58:37 +0300 |
commit | 248319d7f47155845f60c1850509393bf3727669 (patch) | |
tree | 32b46b0ded8c7cf566304a553405cc76e86d2aba /spec/features/projects/pipelines/pipelines_spec.rb | |
parent | ae1be64b66b5d4a22a2ebab8d5691cac40f85c87 (diff) |
remove "command" key from test since it only applies on macOS
Diffstat (limited to 'spec/features/projects/pipelines/pipelines_spec.rb')
-rw-r--r-- | spec/features/projects/pipelines/pipelines_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/features/projects/pipelines/pipelines_spec.rb b/spec/features/projects/pipelines/pipelines_spec.rb index 46289ee8727..fc689bbb486 100644 --- a/spec/features/projects/pipelines/pipelines_spec.rb +++ b/spec/features/projects/pipelines/pipelines_spec.rb @@ -364,11 +364,11 @@ describe 'Pipelines', :js do find('.js-builds-dropdown-button').click dropdown_item = find('.mini-pipeline-graph-dropdown-item').native - %i(control command alt).each do |command| + %i(alt control).each do |meta_key| page.driver.browser.action - .key_down(:command) + .key_down(meta_key) .click(dropdown_item) - .key_up(:command) + .key_up(meta_key) .perform end |