feat(SPA): media library indications for custom medial field type usage
This commit is contained in:
1 parent
3e7fc9a4a5
commit
0fc3511e2b
28 files changed
+2060
-131
No files matched your search
@@ -357,7 +357,7 @@ describe('Bulk delete', () => {
|
||||
const box = dialog()!
|
||||
expect(textOf(box)).toContain('Delete 3 images?')
|
||||
expect(textOf(box)).toContain(
|
||||
"2 of them are used in 5 articles, which will show a broken image. The other one isn't used anywhere. This can't be undone.",
|
||||
"2 of them are used in 5 places, which will show a broken image or a missing-image notice. The other one isn't used anywhere. This can't be undone.",
|
||||
)
|
||||
const rows = Array.from(box.querySelectorAll('[data-testid="bulk-delete-row"]')).map(textOf)
|
||||
expect(rows).toEqual([
|
||||
|
||||
Reference in new issue
Block a user