Build [v1.14.24]
This commit is contained in:
@@ -63,7 +63,7 @@ describe('PhotoModal', () => {
|
||||
|
||||
// Check for rose-colored X icon
|
||||
const xIcon = closeButton.querySelector('svg');
|
||||
expect(xIcon).toHaveClass('text-rose-500');
|
||||
expect(xIcon).toHaveClass('text-error');
|
||||
});
|
||||
});
|
||||
|
||||
@@ -229,7 +229,7 @@ describe('PhotoModal', () => {
|
||||
|
||||
const backdrop = screen.getByRole('dialog');
|
||||
// The modal content div is the second child of backdrop
|
||||
const modalContent = backdrop.querySelector('div[class*="rounded-3xl"]');
|
||||
const modalContent = backdrop.querySelector('div[class*=""]');
|
||||
expect(modalContent).toHaveClass('max-w-2xl', 'w-full', 'max-h-[90vh]');
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user