Skip to content

Commit 4b99dee

Browse files
committed
chore: Wait for turbo in picture-descriptions feature spec
This spec is still flaky and we now try to wait for turbo do not be busy anymore to be sure the page has updated.
1 parent b486a97 commit 4b99dee

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

spec/features/admin/picture_library_integration_spec.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,8 +239,10 @@
239239
end
240240

241241
select(language.name, from: "Language")
242+
expect(page).to have_no_css("turbo-frame#picture_descriptions[busy]")
242243
expect(page).to have_field("Description", with: "This is an amazing image.")
243244
select(german.name, from: "Language")
245+
expect(page).to have_no_css("turbo-frame#picture_descriptions[busy]")
244246
expect(page).to have_field("Description", with: "Tolles Bild.")
245247
end
246248
end

0 commit comments

Comments
 (0)