Skip to content

Commit

Permalink
Fix flaky end-to-end OCR test (mastodon#29244)
Browse files Browse the repository at this point in the history
  • Loading branch information
ClearlyClaire authored Feb 16, 2024
1 parent cfadb87 commit 96ddf1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/system/ocr_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@

click_on('Detect text from picture')

expect(page).to have_css('#upload-modal__description', text: 'Hello Mastodon')
expect(page).to have_css('#upload-modal__description', text: /Hello Mastodon\s*/, wait: 10)
end
end

0 comments on commit 96ddf1d

Please sign in to comment.