Rails5: fix user edit profile clear status spec
This commit is contained in:
parent
1239629cd7
commit
6c07c24c8d
2 changed files with 7 additions and 0 deletions
5
changelogs/unreleased/rails5-user-status-spec.yml
Normal file
5
changelogs/unreleased/rails5-user-status-spec.yml
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
title: 'Rails5: fix user edit profile clear status spec'
|
||||||
|
merge_request: 22169
|
||||||
|
author: Jasper Maes
|
||||||
|
type: other
|
|
@ -129,6 +129,8 @@ describe 'User edit profile' do
|
||||||
click_button 'js-clear-user-status-button'
|
click_button 'js-clear-user-status-button'
|
||||||
submit_settings
|
submit_settings
|
||||||
|
|
||||||
|
wait_for_requests
|
||||||
|
|
||||||
visit user_path(user)
|
visit user_path(user)
|
||||||
expect(page).not_to have_selector '.cover-status'
|
expect(page).not_to have_selector '.cover-status'
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue