feat: complete image upload to entry test

enhance entry creation test to select existing images and submit
This commit is contained in:
jon brookes 2026-01-05 18:42:02 +00:00
parent 33688b55be
commit b0fc008530

View file

@ -59,8 +59,14 @@ class CreateEntryAdminTest extends DuskTestCase
->click('#featured-picker-button')
->waitForText('Select an existing image')
->click('.fi-select-input-btn')
->keys('.fi-select-input-btn', '{enter}')
->pause(10000),
->pause(2000)
->click('li:first-child')
->waitForText('Submit')
->clickAtXPath('//button[contains(., "Submit")]')
->waitForText('Edit TEST ENTRY')
->click('#key-bindings-1'),
// ->pause(20000),
1000 // Custom pause time for this test
);
});