From 096d90a56b3b0cb880d328c21a7376e3f5187474 Mon Sep 17 00:00:00 2001 From: Stefan Ranoszek Date: Tue, 3 Sep 2024 10:23:34 +0100 Subject: [PATCH] feat: sync method --- .../org/dvsa/testing/framework/stepdefs/vol/PublicHolidays.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/org/dvsa/testing/framework/stepdefs/vol/PublicHolidays.java b/src/test/java/org/dvsa/testing/framework/stepdefs/vol/PublicHolidays.java index 8acc9a690..8be9b985b 100644 --- a/src/test/java/org/dvsa/testing/framework/stepdefs/vol/PublicHolidays.java +++ b/src/test/java/org/dvsa/testing/framework/stepdefs/vol/PublicHolidays.java @@ -26,7 +26,7 @@ public class PublicHolidays extends BasePage { public PublicHolidays(World world) {this.world = world;} @When("I am on the public holidays page") - public void iAmOnThePublicHolidaysPage() throws HttpException { + public synchronized void iAmOnThePublicHolidaysPage() throws HttpException { world.internalNavigation.logInAsAdmin(); world.internalNavigation.adminNavigation(AdminOption.PUBLIC_HOLIDAYS); }