feat/docker-compose-update (#18)

Co-authored-by: jon brookes <marshyon@gmail.com>
Reviewed-on: https://codeberg.org/headshed/share-lt/pulls/18
This commit is contained in:
Jon Brookes 2026-02-08 18:04:18 +01:00
parent fd43495e2d
commit 1a22fd156d
70 changed files with 1068 additions and 745 deletions

View file

@ -27,17 +27,16 @@ class CreateEntryAdminTest extends DuskTestCase
->waitForLocation('/admin/media')
->assertPathIs('/admin/media')
->assertTitleContains('Media')
->clickLink('New media')
->waitForText('Create Media')
->type('#form\\.name', 'test image')
->clickLink('Add')
->waitForText('Create Asset')
->type('#form\\.alt_text', 'test image')
->assertVisible('.filepond--drop-label')
->attach('.filepond--browser', $filePath)
->pause(7000)
->waitForText('Create')
->waitForText('Create Asset')
->waitFor('#key-bindings-1:not([disabled])')
->click('#key-bindings-1')
->assertSee('Collection name')
->pause(5000)
->pause(1000)
->visit('/admin/entries')
->waitForLocation('/admin/entries')
@ -54,19 +53,12 @@ class CreateEntryAdminTest extends DuskTestCase
->assertSee('Updated at')
->visit('/admin/entries/1/edit')
->waitForText('Edit TEST ENTRY')
->pause(2000)
->waitForText('Featured Image')
->click('#featured-picker-button')
->pause(5000)
->waitForText('Select an existing image')
->click('.fi-select-input-btn')
->pause(2000)
->click('li:first-child')
->waitForText('Submit')
->clickAtXPath('//button[contains(., "Submit")]')
->waitForText('Edit TEST ENTRY')
->click('#key-bindings-1'),
// ->pause(20000),
->pause(3000),
// TODO: find a way to select the image
1000 // Custom pause time for this test
);
});