diff --git a/azure-pipelines.yml b/azure-pipelines.yml
new file mode 100644
index 0000000..22bface
--- /dev/null
+++ b/azure-pipelines.yml
@@ -0,0 +1,33 @@
+trigger:
+ branches:
+ include:
+ - main
+ - master
+ - fix/appium-tests # Add any other branches you want to trigger the pipeline
+
+pool:
+ name: 'Default'
+
+# ==============================
+# Variable Group
+# ==============================
+variables:
+ - group: LambdaTest-Credentials # Assuming you have a variable group for credentials
+
+# ==============================
+# Steps
+# ==============================
+steps:
+
+ # Checkout the repo to get the latest changes
+ - checkout: self
+ clean: true
+
+ # Run Android tests with the 'android' profile
+ - script: |
+ echo Running Android Tests with Appium
+ mvn test -P single
+ displayName: 'Run Android Tests'
+ env:
+ LT_USERNAME: $(LT_USERNAME) # LambdaTest username (securely injected from variable group)
+ LT_ACCESS_KEY: $(LT_ACCESS_KEY) # LambdaTest access key (securely injected from variable group)
diff --git a/pom.xml b/pom.xml
index 467642a..5ffd8f2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -8,23 +8,28 @@
junit
junit
- 4.11
+ 4.13.2
org.seleniumhq.selenium
selenium-java
- 3.13.0
+ 4.11.0
org.jbehave
jbehave-core
- 3.8
+ 4.8.3
com.googlecode.json-simple
json-simple
1.1.1
+
+ com.thoughtworks.xstream
+ xstream
+ 1.4.20
+
@@ -56,9 +61,12 @@
org.apache.maven.plugins
maven-surefire-plugin
- 2.5
+ 2.22.2
- com/lambdatest/LambdaTestJBehaveRunner.java
+ --add-opens java.base/java.lang=ALL-UNNAMED
+
+ **/LambdaTestJBehaveRunner.java
+
single.conf.json
com.lambdatest.single.SingleEmbedder
@@ -66,6 +74,22 @@
+
+ org.apache.maven.plugins
+ maven-surefire-plugin
+ 2.22.2
+
+
+ **/LambdaTestJBehaveRunner.java
+
+
+ single.conf.json
+ com.lambdatest.single.SingleEmbedder
+ stories/single.story
+
+
+
+
diff --git a/src/test/java/com/lambdatest/LambdaTestJBehaveRunner.java b/src/test/java/com/lambdatest/LambdaTestJBehaveRunner.java
index dc681ce..2d2e730 100644
--- a/src/test/java/com/lambdatest/LambdaTestJBehaveRunner.java
+++ b/src/test/java/com/lambdatest/LambdaTestJBehaveRunner.java
@@ -14,6 +14,7 @@
import org.json.simple.JSONArray;
import org.json.simple.parser.JSONParser;
+
import org.jbehave.core.embedder.Embedder;
import org.junit.Test;
import org.junit.After;
@@ -37,70 +38,99 @@ public class LambdaTestJBehaveRunner {
@Parameter(value = 0)
public int taskID;
-
@Parameters
public static Collection