From 6c07c24c8ddedec6a8326736c12be48a087526ce Mon Sep 17 00:00:00 2001 From: Jasper Maes Date: Sat, 6 Oct 2018 13:43:14 +0200 Subject: Rails5: fix user edit profile clear status spec --- changelogs/unreleased/rails5-user-status-spec.yml | 5 +++++ spec/features/profiles/user_edit_profile_spec.rb | 2 ++ 2 files changed, 7 insertions(+) create mode 100644 changelogs/unreleased/rails5-user-status-spec.yml 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 -- cgit v1.2.3