Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorFatih Acet <acetfatih@gmail.com>2017-07-20 19:12:10 +0300
committerFatih Acet <acetfatih@gmail.com>2017-07-21 22:35:26 +0300
commit665471e5f8aa7b547ac3bb0838d66402e2af0646 (patch)
tree8261c8ac9a6f7db61c25b5b7770097c9f50f9a95 /spec
parenta22665931d85f3980f9b0f0e5301142a0803087d (diff)
IssueNotesRefactor: Fix task list specs.
Diffstat (limited to 'spec')
-rw-r--r--spec/features/task_lists_spec.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/spec/features/task_lists_spec.rb b/spec/features/task_lists_spec.rb
index dfc362321aa..158e4f80a86 100644
--- a/spec/features/task_lists_spec.rb
+++ b/spec/features/task_lists_spec.rb
@@ -1,6 +1,6 @@
require 'spec_helper'
-feature 'Task Lists', feature: true do
+feature 'Task Lists', feature: true, js: true do
include Warden::Test::Helpers
let(:project) { create(:empty_project) }
@@ -194,7 +194,6 @@ feature 'Task Lists', feature: true do
expect(page).to have_selector('.note .js-task-list-container')
expect(page).to have_selector('.note .js-task-list-container .task-list .task-list-item .task-list-item-checkbox')
- expect(page).to have_selector('.note .js-task-list-container .js-task-list-field')
end
it 'is only editable by author' do
@@ -264,7 +263,6 @@ feature 'Task Lists', feature: true do
expect(page).to have_selector(container)
expect(page).to have_selector("#{container} .wiki .task-list .task-list-item .task-list-item-checkbox")
- expect(page).to have_selector("#{container} .js-task-list-field")
expect(page).to have_selector('form.js-issuable-update')
expect(page).to have_selector('a.btn-close')
end