This commit is contained in:
@@ -24,6 +24,16 @@ export const Processing = { args: { images: processingImages } };
|
||||
export const Failed = { args: { images: failedImages } };
|
||||
export const Saving = { args: { images, isSaving: true } };
|
||||
|
||||
export const UploadGuidance = {
|
||||
args: { images: [] },
|
||||
play: async ({ canvasElement }) => {
|
||||
const canvas = within(canvasElement);
|
||||
const input = canvas.getByLabelText('Add images');
|
||||
await expect(input).toHaveAttribute('aria-describedby', 'admin-image-upload-help');
|
||||
await expect(canvas.getByText(/JPEG, PNG, or WebP images are accepted/)).toBeVisible();
|
||||
},
|
||||
};
|
||||
|
||||
export const EditAltTextWithKeyboard = {
|
||||
args: { images },
|
||||
play: async ({ canvasElement }) => {
|
||||
|
||||
@@ -284,6 +284,7 @@ Remaining roadmap areas are approved external provider credentials/adapters, bro
|
||||
- Product identity and physical-copy selectors now include associated guidance describing the catalog and copy-level choices.
|
||||
- Review/list controls now explain active-copy requirements, cents units, and publication prerequisites through associated help text.
|
||||
- Image upload controls now expose accepted formats and the configured per-item limit through associated help text.
|
||||
- Image upload constraint guidance now has Storybook interaction coverage.
|
||||
|
||||
## Local Commands
|
||||
|
||||
|
||||
Reference in New Issue
Block a user