Skip to content

Commit

Permalink
fix: e2e scheduling test
Browse files Browse the repository at this point in the history
- Use to new Temporal API in scheduling goal eDSL
  • Loading branch information
camargo committed Oct 5, 2022
1 parent 456374b commit ed151ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion e2e-tests/fixtures/SchedulingGoals.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export class SchedulingGoals {
closeButton: Locator;
confirmModal: Locator;
confirmModalDeleteButton: Locator;
goalDefinition: string = `export default (): Goal => Goal.ActivityRecurrenceGoal({ activityTemplate: ActivityTemplates.BakeBananaBread({ temperature: 325.0, tbSugar: 2, glutenFree: false }), interval: 12 * 60 * 60 * 1000 * 1000 })`;
goalDefinition: string = `export default (): Goal => Goal.ActivityRecurrenceGoal({ activityTemplate: ActivityTemplates.BakeBananaBread({ temperature: 325.0, tbSugar: 2, glutenFree: false }), interval: Temporal.Duration.from({ hours: 12 }) })`;
goalDescription: string = 'Add a BakeBananaBread activity every 12 hours';
goalName: string;
goalsNavButton: Locator;
Expand Down

0 comments on commit ed151ec

Please sign in to comment.