fix(ux): harden dialogs and remove unsupported contact fallbacks
Deploy Canina / deploy (push) Successful in 2m10s

This commit is contained in:
devops committed 2026-10-17 05:52:02 +00:00
1 parent 86cfa4b3c8
commit 26f5f68708
6 files changed
+42 -21

No files matched your search

@@ -10,7 +10,7 @@ describe('Footer', () => {
expect(screen.getByText('Canina')).toBeInTheDocument();
expect(screen.getByText('ایران')).toBeInTheDocument();
expect(screen.getByText('تهران، جردن، خیابان سعیدی، ساختمان کنینا، طبقه ۵، واحد ۱۹')).toBeInTheDocument();
expect(screen.queryByText('تهران، جردن، خیابان سعیدی، ساختمان کنینا، طبقه ۵، واحد ۱۹')).not.toBeInTheDocument();
});
it('renders navigation links properly', () => {
@@ -42,9 +42,7 @@ describe('MaintenancePage Component', () => {
screen.getByText('CANINA PHARMA GMBH GERMANY — نماینده رسمی ایران')
).toBeInTheDocument();
const emergencyButton = screen.getByRole('link', { name: /پشتیبانی اضطراری/ });
expect(emergencyButton).toBeInTheDocument();
expect(emergencyButton).toHaveAttribute('href', 'tel:02188884444');
expect(screen.queryByRole('link', { name: /پشتیبانی اضطراری/ })).not.toBeInTheDocument();
});
it('renders custom maintenance messages and phone number from settings store texts', () => {