diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-12-01 15:16:08 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-12-01 15:16:08 +0300 |
commit | c9439a09c51acff525f2e5c5cba8caecc270da8b (patch) | |
tree | cd344f3ce05525dccbc5f7d607d3fd1e76b46cd2 /spec/features/labels_hierarchy_spec.rb | |
parent | 7bc1ee0bcb9cefaf788aa0b93383b7347e9010b0 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/features/labels_hierarchy_spec.rb')
-rw-r--r-- | spec/features/labels_hierarchy_spec.rb | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/spec/features/labels_hierarchy_spec.rb b/spec/features/labels_hierarchy_spec.rb index 25c315f2d16..b5f414e39e4 100644 --- a/spec/features/labels_hierarchy_spec.rb +++ b/spec/features/labels_hierarchy_spec.rb @@ -17,7 +17,6 @@ RSpec.describe 'Labels Hierarchy', :js do let!(:project_label_1) { create(:label, project: project_1, title: 'Label_4') } before do - stub_feature_flags(labels_widget: false) grandparent.add_owner(user) sign_in(user) @@ -28,13 +27,12 @@ RSpec.describe 'Labels Hierarchy', :js do [grandparent_group_label, parent_group_label, project_label_1].each do |label| page.within('.block.labels') do click_on 'Edit' - end - wait_for_requests + wait_for_requests - find('a.label-item', text: label.title).click - wait_for_requests - click_on 'Close' + click_on label.title + click_on 'Close' + end wait_for_requests |