feat: enhance media entry test to select existing images

This commit is contained in:
jon brookes 2026-01-05 17:40:22 +00:00
parent ae662a30ef
commit 50e5fb7f3f

View file

@ -57,7 +57,9 @@ class CreateEntryAdminTest extends DuskTestCase
->pause(2000) ->pause(2000)
->waitForText('Featured Image') ->waitForText('Featured Image')
->click('#featured-picker-button') ->click('#featured-picker-button')
->waitForText('Select an existing image')
->click('.fi-select-input-btn')
->keys('.fi-select-input-btn', '{enter}')
->pause(10000), ->pause(10000),
1000 // Custom pause time for this test 1000 // Custom pause time for this test
); );