Replace selenium-webdriver with playwright (#34867)
This commit is contained in:
parent
b8cc9b3290
commit
629bb74451
6 changed files with 45 additions and 43 deletions
|
@ -26,7 +26,7 @@ RSpec.describe 'Log out' do
|
|||
describe 'Logging out from the JS app', :js, :streaming do
|
||||
it 'logs the user out' do
|
||||
# The frontend tries to load announcements after a short delay, but the session might be expired by then, and the browser will output an error.
|
||||
ignore_js_error(/Failed to load resource: the server responded with a status of 422/)
|
||||
ignore_js_error(/Failed to load resource: the server responded with a status/)
|
||||
|
||||
visit root_path
|
||||
expect(page)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue