diff --git a/config/local.testng.xml b/config/local.testng.xml index fe47855..ce5abb5 100644 --- a/config/local.testng.xml +++ b/config/local.testng.xml @@ -3,7 +3,7 @@ - + diff --git a/config/parallel.testng.xml b/config/parallel.testng.xml index 3137049..279c6c8 100644 --- a/config/parallel.testng.xml +++ b/config/parallel.testng.xml @@ -1,14 +1,6 @@ - - - - - - - - - + diff --git a/config/single.testng.xml b/config/single.testng.xml index ecf41d0..005f61f 100644 --- a/config/single.testng.xml +++ b/config/single.testng.xml @@ -3,7 +3,7 @@ - + diff --git a/config/suite.testng.xml b/config/suite.testng.xml index e3837c2..60167cf 100644 --- a/config/suite.testng.xml +++ b/config/suite.testng.xml @@ -1,9 +1,9 @@ - + - + diff --git a/src/test/java/com/browserstack/BrowserStackTestNGTest.java b/src/test/java/com/browserstack/BrowserStackTestNGTest.java index 327f22f..2103d5e 100644 --- a/src/test/java/com/browserstack/BrowserStackTestNGTest.java +++ b/src/test/java/com/browserstack/BrowserStackTestNGTest.java @@ -1,35 +1,22 @@ package com.browserstack; import com.browserstack.local.Local; -import java.io.File; import java.io.FileReader; -import java.io.IOException; -import java.io.InputStream; import java.net.URL; import java.util.HashMap; import java.util.Map; -import java.util.ArrayList; -import java.util.List; import java.util.Iterator; import org.json.simple.JSONObject; -import org.json.simple.JSONArray; import org.json.simple.parser.JSONParser; -import io.appium.java_client.AppiumDriver; -import io.appium.java_client.MobileElement; import io.appium.java_client.android.AndroidDriver; import org.openqa.selenium.WebDriver; -import org.openqa.selenium.remote.RemoteWebDriver; import org.openqa.selenium.remote.DesiredCapabilities; import org.testng.annotations.BeforeMethod; import org.testng.annotations.AfterMethod; -import org.testng.annotations.Test; import org.testng.annotations.Parameters; -import org.testng.annotations.DataProvider; -import org.testng.annotations.Factory; -import org.testng.Assert; public class BrowserStackTestNGTest { diff --git a/src/test/resources/conf/local.conf.json b/src/test/resources/conf/local.conf.json index 2004a0f..b694d98 100644 --- a/src/test/resources/conf/local.conf.json +++ b/src/test/resources/conf/local.conf.json @@ -13,8 +13,8 @@ }, "environments": { - "galaxy_s6": { - "device": "Samsung Galaxy S6" + "galaxy_s7": { + "device": "Samsung Galaxy S7" } } } diff --git a/src/test/resources/conf/parallel.conf.json b/src/test/resources/conf/parallel.conf.json index 3bf699c..d1ef697 100644 --- a/src/test/resources/conf/parallel.conf.json +++ b/src/test/resources/conf/parallel.conf.json @@ -12,9 +12,6 @@ }, "environments": { - "galaxy_s6": { - "device": "Samsung Galaxy S6" - }, "pixel": { "device": "Google Pixel" }, diff --git a/src/test/resources/conf/single.conf.json b/src/test/resources/conf/single.conf.json index cccc831..484fa9b 100644 --- a/src/test/resources/conf/single.conf.json +++ b/src/test/resources/conf/single.conf.json @@ -12,8 +12,8 @@ }, "environments": { - "galaxy_s6": { - "device": "Samsung Galaxy S6" + "galaxy_s7": { + "device": "Samsung Galaxy S7" } } } diff --git a/src/test/resources/conf/suite.conf.json b/src/test/resources/conf/suite.conf.json index 84569bf..7cb1e7a 100644 --- a/src/test/resources/conf/suite.conf.json +++ b/src/test/resources/conf/suite.conf.json @@ -12,9 +12,6 @@ }, "environments": { - "galaxy_s6": { - "device": "Samsung Galaxy S6" - }, "pixel": { "device": "Google Pixel" },