forked from cms/tibi-svelte-starter
✨ feat: enhance medialib image handling and add asset URL resolution
- Implemented `resolveApiAssetUrl` function to normalize asset URLs based on API base. - Updated `MedialibImage` component to utilize new asset URL resolution and added support for alt text and class properties. - Enhanced image loading behavior with improved width measurement and focal point handling. - Added placeholder image handling and improved accessibility with alt text. - Introduced new test script for auditing broken links in skill documentation. - Expanded seeded test content to include medialib entries and updated related tests for pagebuilder previews. - Improved global setup and teardown logging for clarity on seeded content management.
This commit is contained in:
@@ -28,7 +28,7 @@ async function globalTeardown() {
|
||||
const result = await cleanupAllTestData(baseURL)
|
||||
if (deletedSeedEntries > 0 || result.users > 0) {
|
||||
console.log(
|
||||
`Playwright teardown: deleted ${deletedSeedEntries} seeded content entries and ${result.users} test users`
|
||||
`Playwright teardown: deleted ${deletedSeedEntries} seeded content/media entries and ${result.users} test users`
|
||||
)
|
||||
}
|
||||
} catch (err) {
|
||||
|
||||
Reference in New Issue
Block a user