diff options
author | Alfredo Sumaran <alfredo@gitlab.com> | 2016-06-23 12:40:23 -0500 |
---|---|---|
committer | Alfredo Sumaran <alfredo@gitlab.com> | 2016-06-23 12:48:59 -0500 |
commit | 73fdc9b6d3747d0cc0abbedc8d728b116ee22764 (patch) | |
tree | f4ec04197263e418dec8530e33a47b4410588abb | |
parent | 61959480c2a863bf33a0657b3b8d4481d6bf2269 (diff) | |
download | gitlab-ce-73fdc9b6d3747d0cc0abbedc8d728b116ee22764.tar.gz |
Update tests to check if label is set after picking a template19008_ci_dropdown_label_fix
-rw-r--r-- | spec/features/projects/files/gitignore_dropdown_spec.rb | 1 | ||||
-rw-r--r-- | spec/features/projects/files/gitlab_ci_yml_dropdown_spec.rb | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/spec/features/projects/files/gitignore_dropdown_spec.rb b/spec/features/projects/files/gitignore_dropdown_spec.rb index 073a83b6896..9ebef505b92 100644 --- a/spec/features/projects/files/gitignore_dropdown_spec.rb +++ b/spec/features/projects/files/gitignore_dropdown_spec.rb @@ -24,6 +24,7 @@ feature 'User wants to add a .gitignore file', feature: true do end wait_for_ajax + expect(page).to have_css('.gitignore-selector .dropdown-toggle-text', text: 'Rails') expect(page).to have_content('/.bundle') expect(page).to have_content('# Gemfile.lock, .ruby-version, .ruby-gemset') end diff --git a/spec/features/projects/files/gitlab_ci_yml_dropdown_spec.rb b/spec/features/projects/files/gitlab_ci_yml_dropdown_spec.rb index d516e8ce55a..b8c06c383fb 100644 --- a/spec/features/projects/files/gitlab_ci_yml_dropdown_spec.rb +++ b/spec/features/projects/files/gitlab_ci_yml_dropdown_spec.rb @@ -24,6 +24,7 @@ feature 'User wants to add a .gitlab-ci.yml file', feature: true do end wait_for_ajax + expect(page).to have_css('.gitlab-ci-yml-selector .dropdown-toggle-text', text: 'jekyll') expect(page).to have_content('This file is a template, and might need editing before it works on your project') expect(page).to have_content('jekyll build -d test') end |