// apps/miniprogram/e2e/helpers/navigation.helper.ts import { AutomatorClient } from './automator-client'; export class MpNavigator { constructor(private client: AutomatorClient) {} async goToHealthHome() { await this.client.reLaunch('pages/pkg-health/index'); } async goToVitalSignsInput() { await this.client.navigateTo('pages/pkg-health/input/index'); } async goToVitalSignsTrend() { await this.client.navigateTo('pages/pkg-health/trend/index'); } async goToProfile() { await this.client.navigateTo('pages/pkg-profile/index'); } async goToMall() { await this.client.reLaunch('pages/pkg-mall/index'); } async goToFollowUpTasks() { await this.client.navigateTo('pages/pkg-health/followups/index'); } async goToOrders() { await this.client.navigateTo('pages/pkg-mall/orders/index'); } }