diff --git a/tests/Browser/CreateEntryAdminTest.php b/tests/Browser/CreateEntryAdminTest.php index 38ab34f..dc05e3b 100644 --- a/tests/Browser/CreateEntryAdminTest.php +++ b/tests/Browser/CreateEntryAdminTest.php @@ -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 ); });