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

Commit 4c28010

Browse files
committed
DEV: Ensure upload element before click
1 parent 82ae339 commit 4c28010

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

spec/system/ai_bot/homepage_spec.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@
146146

147147
expect(page).to have_css(".ai-bot-upload", count: 1)
148148

149+
expect(page).to have_css(".ai-bot-upload__remove")
149150
find(".ai-bot-upload__remove").click
150151

151152
expect(page).to have_no_css(".ai-bot-upload")

0 commit comments

Comments
 (0)