From 852e9693519c60e57af610f6cab8c5280057d68c Mon Sep 17 00:00:00 2001 From: Christoph Deppisch Date: Fri, 17 Dec 2021 10:40:21 +0100 Subject: [PATCH] chore: Fix Selenium steps test with Citrus 3.1.1 --- .../org/citrusframework/yaks/selenium/SeleniumStepsTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java/steps/yaks-selenium/src/test/java/org/citrusframework/yaks/selenium/SeleniumStepsTest.java b/java/steps/yaks-selenium/src/test/java/org/citrusframework/yaks/selenium/SeleniumStepsTest.java index 4cc6772c..dbc946d0 100644 --- a/java/steps/yaks-selenium/src/test/java/org/citrusframework/yaks/selenium/SeleniumStepsTest.java +++ b/java/steps/yaks-selenium/src/test/java/org/citrusframework/yaks/selenium/SeleniumStepsTest.java @@ -20,7 +20,7 @@ import java.net.URL; import com.consol.citrus.Citrus; -import com.consol.citrus.CitrusContext; +import com.consol.citrus.DefaultCitrusContextProvider; import com.consol.citrus.DefaultTestCaseRunner; import com.consol.citrus.TestCase; import com.consol.citrus.TestCaseRunner; @@ -62,7 +62,7 @@ public class SeleniumStepsTest { private final ChromeDriver webDriver = Mockito.mock(ChromeDriver.class); - private final Citrus citrus = Citrus.newInstance(CitrusContext.create()); + private final Citrus citrus = Citrus.newInstance(new DefaultCitrusContextProvider()); @Before public void injectResources() {