e2e.simulations

class e2e.simulations.Simulations(wd: WebDriver, source_dir='e2e_ext/simulations')

Bases: Empty, DynamicAttrsMixin

location_update: LocationUpdateSimulation
push_notification: PushNotificationSimulation

e2e.simulations.location_update

class e2e.simulations.location_update.LocationUpdateSimulation(wd: WebDriver)

Bases: Simulation

DEFAULT_LAT = 1.2837575
DEFAULT_LNG = 103.8565316
ios_update_location(lat: float, lng: float)
run(**kwargs)

Running a simulation. Subclasses need to implement this.

e2e.simulations.push_notification

class e2e.simulations.push_notification.PushNotificationSimulation(wd: WebDriver)

Bases: Simulation

ios_push_notification(json_path: str | Path | None = None, payload: Dict[str, Any] | None = None)
run(**kwargs)

Running a simulation. Subclasses need to implement this.