feat: enhance media entry test to select existing images
This commit is contained in:
parent
ae662a30ef
commit
50e5fb7f3f
1 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue