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
diff options
context:
space:
mode:
authorJasper Maes <jaspermaes.jm@gmail.com>2018-10-06 14:43:14 +0300
committerJasper Maes <jaspermaes.jm@gmail.com>2018-10-06 14:48:45 +0300
commit6c07c24c8ddedec6a8326736c12be48a087526ce (patch)
tree346f14f8c0e6503ef341cae4d83aa11358fb49b4
parent1239629cd747e8f1eeae61174ff1b7d5b08359b9 (diff)
Rails5: fix user edit profile clear status spec
-rw-r--r--changelogs/unreleased/rails5-user-status-spec.yml5
-rw-r--r--spec/features/profiles/user_edit_profile_spec.rb2
2 files changed, 7 insertions, 0 deletions
diff --git a/changelogs/unreleased/rails5-user-status-spec.yml b/changelogs/unreleased/rails5-user-status-spec.yml
new file mode 100644
index 00000000000..818d480e9fc
--- /dev/null
+++ b/changelogs/unreleased/rails5-user-status-spec.yml
@@ -0,0 +1,5 @@
+---
+title: 'Rails5: fix user edit profile clear status spec'
+merge_request: 22169
+author: Jasper Maes
+type: other
diff --git a/spec/features/profiles/user_edit_profile_spec.rb b/spec/features/profiles/user_edit_profile_spec.rb
index e168bb0fc89..5e0434c1c2c 100644
--- a/spec/features/profiles/user_edit_profile_spec.rb
+++ b/spec/features/profiles/user_edit_profile_spec.rb
@@ -129,6 +129,8 @@ describe 'User edit profile' do
click_button 'js-clear-user-status-button'
submit_settings
+ wait_for_requests
+
visit user_path(user)
expect(page).not_to have_selector '.cover-status'
end