feat(tour): add onboarding tours for various admin pages
- Integrated TourButton component into SettingsMenuPage, SkillsPage, SmsWalletPage, StaffPage, StaffSessionDetailPage, StaffTreatmentSessionsPage, SubscriptionPage, TagsSettingsPage, TreatmentCasesPage to enhance user onboarding experience. - Created new tour definitions for appointments, clinics, staff management, financial management, and patient management, ensuring comprehensive guidance for users navigating the admin panel. - Updated documentation to reflect the addition of tours and their implementation details.
This commit is contained in:
@@ -70,7 +70,9 @@ describe('MyPaymentDetailPage (پرداختهای ثبتشده)', () => {
|
||||
it('fetches invoices for the patient uuid from the route', async () => {
|
||||
renderPage();
|
||||
await screen.findAllByText('دنیا خلیلی');
|
||||
expect(get.mock.calls[0][0]).toContain('/api/v1/my/billing/patients/abc/invoices');
|
||||
// ترتیب درخواستها قرارداد نیست — صفحه کوئریهای جانبی هم دارد (مثل وضعیت تور راهنما).
|
||||
const urls = get.mock.calls.map((c: unknown[]) => String(c[0]));
|
||||
expect(urls.some((u) => u.includes('/api/v1/my/billing/patients/abc/invoices'))).toBe(true);
|
||||
});
|
||||
|
||||
it('expands a row to show its line items and payment methods on بیشتر', async () => {
|
||||
|
||||
Reference in New Issue
Block a user