Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.

Commit b66b174

Browse files
committed
DEV: Fix flakey upload spec
1 parent b2a6ee9 commit b66b174

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/system/ai_bot/homepage_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@
148148

149149
find(".ai-bot-upload__remove").click
150150

151-
expect(page).to have_no_css(".ai-bot-upload")
151+
expect(page).to have_no_css(".ai-bot-upload", wait: 5)
152152

153153
ai_pm_homepage.input.fill_in(with: "Message without attachments")
154154

0 commit comments

Comments
 (0)