From f760d8de222d620623816298d813763d8ed19c10 Mon Sep 17 00:00:00 2001 From: arul Date: Mon, 11 Aug 2025 23:40:41 +0530 Subject: [PATCH] Refined Driver Manager Code to setup Kiosk Mode in both create-quest and solo-level --- firefox/lock | 1 + .../com/ghost/temple/BrowserLauncher.java | 48 +++----------- .../ghost/temple/driver/DriverManager.java | 9 ++- .../java/com/ghost/temple/hooks/Hooks.java | 25 ++++--- storage.json | 2 +- target/classes/.~lock.testData.xlsx# | 1 - .../com/ghost/temple/BrowserLauncher.class | Bin 6145 -> 4117 bytes .../ghost/temple/driver/DriverManager.class | Bin 3479 -> 3329 bytes .../com/ghost/temple/hooks/Hooks.class | Bin 1323 -> 1394 bytes target/cucumber-report.html | 50 -------------- .../default-testCompile/createdFiles.lst | 7 -- .../default-testCompile/inputFiles.lst | 7 -- .../TEST-com.ghost.temple.AppTest.xml | 62 ------------------ .../TEST-com.ghost.temple.TestRunner.xml | 62 ------------------ .../com.ghost.temple.AppTest.txt | 4 -- .../com.ghost.temple.TestRunner.txt | 4 -- .../com/ghost/temple/AppTest.class | Bin 585 -> 0 bytes .../com/ghost/temple/BaseTest.class | Bin 887 -> 0 bytes .../com/ghost/temple/TestRunner.class | Bin 651 -> 0 bytes .../com/ghost/temple/pages/HomePage.class | Bin 1572 -> 0 bytes .../com/ghost/temple/pages/Quests.class | Bin 3406 -> 0 bytes .../temple/stepdefs/HomePageStepDefs.class | Bin 1230 -> 0 bytes .../temple/stepdefs/QuestsStepDefs.class | Bin 952 -> 0 bytes .../features/questCreator.feature | 7 -- 24 files changed, 31 insertions(+), 258 deletions(-) create mode 120000 firefox/lock delete mode 100644 target/classes/.~lock.testData.xlsx# delete mode 100644 target/cucumber-report.html delete mode 100644 target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst delete mode 100644 target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst delete mode 100644 target/surefire-reports/TEST-com.ghost.temple.AppTest.xml delete mode 100644 target/surefire-reports/TEST-com.ghost.temple.TestRunner.xml delete mode 100644 target/surefire-reports/com.ghost.temple.AppTest.txt delete mode 100644 target/surefire-reports/com.ghost.temple.TestRunner.txt delete mode 100644 target/test-classes/com/ghost/temple/AppTest.class delete mode 100644 target/test-classes/com/ghost/temple/BaseTest.class delete mode 100644 target/test-classes/com/ghost/temple/TestRunner.class delete mode 100644 target/test-classes/com/ghost/temple/pages/HomePage.class delete mode 100644 target/test-classes/com/ghost/temple/pages/Quests.class delete mode 100644 target/test-classes/com/ghost/temple/stepdefs/HomePageStepDefs.class delete mode 100644 target/test-classes/com/ghost/temple/stepdefs/QuestsStepDefs.class delete mode 100644 target/test-classes/features/questCreator.feature diff --git a/firefox/lock b/firefox/lock new file mode 120000 index 0000000..7829808 --- /dev/null +++ b/firefox/lock @@ -0,0 +1 @@ +10.0.2.15:+1518304 \ No newline at end of file diff --git a/src/main/java/com/ghost/temple/BrowserLauncher.java b/src/main/java/com/ghost/temple/BrowserLauncher.java index 4f2048e..e3fb31d 100644 --- a/src/main/java/com/ghost/temple/BrowserLauncher.java +++ b/src/main/java/com/ghost/temple/BrowserLauncher.java @@ -1,49 +1,19 @@ package com.ghost.temple; +import com.ghost.temple.driver.DriverManager; import org.openqa.selenium.WebDriver; -import org.openqa.selenium.firefox.FirefoxBinary; -import org.openqa.selenium.firefox.FirefoxDriver; -import org.openqa.selenium.firefox.FirefoxOptions; -import org.openqa.selenium.firefox.FirefoxProfile; -import java.io.File; import java.util.Scanner; public class BrowserLauncher { private static WebDriver driver; - private static final String APP_URL = "http://192.168.31.73:3000/"; public static void main(String[] args) { - // IMPORTANT: Remove WebDriverManager setup here if you already manage drivers elsewhere - // WebDriverManager.firefoxdriver().setup(); // uncomment if you want dynamic driver management - - String projectDir = System.getProperty("user.dir"); - - // Paths — customize if your automation project has different structure - String firefoxBinaryPath = projectDir + "/firefox/firefox"; - String profilePath = projectDir + "/.mozilla/firefox/b4xl9fej.default-release"; - - File firefoxBinary = new File(firefoxBinaryPath); - if (!firefoxBinary.exists() || !firefoxBinary.canExecute()) { - System.err.println("❌ Firefox binary missing or not executable at: " + firefoxBinaryPath); - System.exit(1); - } - - File profileDir = new File(profilePath); - if (!profileDir.exists() || !profileDir.isDirectory()) { - System.err.println("❌ Firefox profile directory missing or invalid at: " + profilePath); - System.exit(1); - } - - FirefoxProfile profile = new FirefoxProfile(profileDir); - FirefoxOptions options = new FirefoxOptions(); - options.setBinary(new FirefoxBinary(firefoxBinary)); - options.setProfile(profile); - - driver = new FirefoxDriver(options); - driver.manage().window().maximize(); + // Use DriverManager to init driver (which already uses kiosk mode) + DriverManager.initDriver(); + driver = DriverManager.getDriver(); Runtime.getRuntime().addShutdownHook(new Thread(() -> { System.out.println("\n⚠ JVM Shutdown detected. Saving data before exit..."); @@ -54,13 +24,13 @@ public class BrowserLauncher { StorageManager.loadStorage(driver, APP_URL); CookieManager.loadCookies(driver, APP_URL); - System.out.println("🔥 Browser launched with persisted cookies and storage!"); + System.out.println("🔥 Browser launched with persisted cookies and storage in kiosk mode!"); Scanner scanner = new Scanner(System.in); String input = ""; while (!input.equalsIgnoreCase("save")) { - speakPrompt("Please type save and press Enter to save your work before closing the browser."); + speakPrompt("Please type save and press Enter to save your work before closing the System."); System.out.print("> "); input = scanner.nextLine().trim(); @@ -78,10 +48,7 @@ public class BrowserLauncher { } catch (Exception e) { e.printStackTrace(); } finally { - if (driver != null) { - driver.quit(); - driver = null; - } + DriverManager.quitDriver(); } } @@ -111,3 +78,4 @@ public class BrowserLauncher { } } } + diff --git a/src/main/java/com/ghost/temple/driver/DriverManager.java b/src/main/java/com/ghost/temple/driver/DriverManager.java index 4f1c2d6..5490645 100644 --- a/src/main/java/com/ghost/temple/driver/DriverManager.java +++ b/src/main/java/com/ghost/temple/driver/DriverManager.java @@ -26,7 +26,6 @@ public class DriverManager { } catch (Exception e) { System.err.println("[WARN] WebDriverManager failed to setup driver: " + e.getMessage()); // Fallback to manual driver path if cached or downloaded driver is unavailable - // Change this path to your manually downloaded geckodriver executable System.setProperty("webdriver.gecko.driver", "/home/arul/solo-level-app-automation/geckodriver"); } @@ -42,9 +41,13 @@ public class DriverManager { options.setBinary(firefoxBinaryPath); options.setProfile(profile); + // Add kiosk mode argument for fullscreen + options.addArguments("--kiosk"); + driver = new FirefoxDriver(options); - driver.manage().window().maximize(); - System.out.println("Launched Firefox with real profile 😎"); + + // Remove maximize(), kiosk mode handles fullscreen + System.out.println("Launched Firefox in kiosk mode with real profile 😎"); } } diff --git a/src/main/java/com/ghost/temple/hooks/Hooks.java b/src/main/java/com/ghost/temple/hooks/Hooks.java index 75a7349..3efccce 100644 --- a/src/main/java/com/ghost/temple/hooks/Hooks.java +++ b/src/main/java/com/ghost/temple/hooks/Hooks.java @@ -6,6 +6,8 @@ import com.ghost.temple.driver.DriverManager; import io.cucumber.java.After; import io.cucumber.java.Before; +import org.openqa.selenium.WebDriver; + public class Hooks { private static final String APP_URL = "http://192.168.31.73:3000/"; @@ -13,22 +15,25 @@ public class Hooks { @Before public void setUp() { DriverManager.initDriver(); - StorageManager.loadStorage(DriverManager.getDriver(), APP_URL); // Load local/session storage - CookieManager.loadCookies(DriverManager.getDriver(), APP_URL); // Load cookies - } + WebDriver driver = DriverManager.getDriver(); + StorageManager.loadStorage(driver, APP_URL); + CookieManager.loadCookies(driver, APP_URL); + + // No need to send F11 since kiosk mode opens fullscreen + } @After public void tearDown() { - try { - // Wait for 15 seconds (15000 milliseconds) + try { Thread.sleep(15000); } catch (InterruptedException e) { e.printStackTrace(); } - StorageManager.saveStorage(DriverManager.getDriver()); // Save local/session storage - CookieManager.saveCookies(DriverManager.getDriver()); // Save cookies - DriverManager.quitDriver(); // Then quit driver - } -} \ No newline at end of file + WebDriver driver = DriverManager.getDriver(); + StorageManager.saveStorage(driver); + CookieManager.saveCookies(driver); + DriverManager.quitDriver(); + } +} diff --git a/storage.json b/storage.json index 38f6514..0efe672 100644 --- a/storage.json +++ b/storage.json @@ -1 +1 @@ -{"localStorage":{"soloLevelUpUserStats":"{\"name\":\"Arul\",\"level\":1,\"exp\":0,\"expToNextLevel\":100,\"job\":null,\"title\":null,\"hp\":100,\"maxHp\":100,\"mp\":10,\"maxMp\":10,\"fatigue\":0,\"gold\":0,\"stats\":{\"str\":10,\"agi\":10,\"per\":10,\"int\":10,\"vit\":10},\"statPoints\":0,\"equipment\":[],\"quests\":[],\"completedQuests\":[],\"inventory\":[{\"id\":\"item-health-potion\",\"name\":\"Health Potion\",\"type\":\"Consumable\",\"rarity\":\"Common\",\"description\":\"Restores 100 HP when consumed.\",\"quantity\":3},{\"id\":\"item-mana-potion\",\"name\":\"Mana Potion\",\"type\":\"Consumable\",\"rarity\":\"Common\",\"description\":\"Restores 50 MP when consumed.\",\"quantity\":2}]}"},"sessionStorage":{}} \ No newline at end of file +{"localStorage":{"soloLevelUpUserStats":"{\"name\":\"Arul\",\"level\":1,\"exp\":0,\"expToNextLevel\":100,\"job\":null,\"title\":null,\"hp\":100,\"maxHp\":100,\"mp\":10,\"maxMp\":10,\"fatigue\":0,\"gold\":0,\"stats\":{\"str\":10,\"agi\":10,\"per\":10,\"int\":10,\"vit\":10},\"statPoints\":0,\"equipment\":[],\"quests\":[{\"title\":\"Offgrid Hermit - Disconnect from Internet\",\"description\":\"ghostTemple system forces user by disabling internet by default in the computer to go offgrid. Equiped with self designed /etc/host based porn blocker. It still provides user option to enable the internet at boot. asking user to enter password. to make user realize that their decision is conscious.\",\"reward\":\"1 Gold, +2 Strength, +4 Perception, +2 Intelligence, +1 Vitality\",\"difficulty\":\"A\",\"priority\":\"High\",\"expiry\":\"Daily\",\"expReward\":15,\"statPointsReward\":1,\"goldReward\":1,\"statRewards\":{\"str\":2,\"agi\":0,\"per\":4,\"int\":2,\"vit\":1},\"itemRewards\":[],\"id\":\"88f5eb51-3e1b-483c-91fd-158f727fd43c\",\"active\":true,\"completed\":false,\"progress\":0,\"isCustom\":true,\"createdAt\":1754934091968},{\"title\":\"The Refiner - Appearance Leveling\",\"description\":\"Focusing on Skin health, Hair health, preventing Hair loss, Preventing Fat gain. Focused on Weight Loss and over all Hygiene the way we look. To Attract people and be charismatic.\",\"reward\":\"2 Gold, +2 Strength, +3 Agility, +2 Vitality\",\"difficulty\":\"C\",\"priority\":\"High\",\"expiry\":\"Daily\",\"expReward\":15,\"statPointsReward\":2,\"goldReward\":2,\"statRewards\":{\"str\":2,\"agi\":3,\"per\":0,\"int\":0,\"vit\":2},\"itemRewards\":[],\"id\":\"35655c25-099e-44dc-8f6c-9a6a109c76ab\",\"active\":true,\"completed\":false,\"progress\":0,\"isCustom\":true,\"createdAt\":1754934099662},{\"title\":\"King of Deception - Leveling up Art of Attraction\",\"description\":\"Focused on building a solid character. that is strong.. Talented, Attract people and seductive at same time. Manipulative in good way. Positive Manipulation by doing a good job on something we do and gaining trust among other people.\",\"reward\":\"2 Gold, +1 Strength, +3 Perception, +3 Intelligence, +2 Vitality\",\"difficulty\":\"B\",\"priority\":\"Medium\",\"expiry\":\"Daily\",\"expReward\":10,\"statPointsReward\":2,\"goldReward\":2,\"statRewards\":{\"str\":1,\"agi\":0,\"per\":3,\"int\":3,\"vit\":2},\"itemRewards\":[],\"id\":\"3c331c3e-42b9-4a7e-86a8-e03113906a21\",\"active\":true,\"completed\":false,\"progress\":0,\"isCustom\":true,\"createdAt\":1754934108102},{\"title\":\"The Architect of Himself - Leveling up strength both physically and mentally\",\"description\":\"1. Exercise everyday Morning 1 hr (Cardio + strength) 2. Gain Knowledge on New concept or Technology, Read books. 3. Train Martial arts - Armed or Unarmed combat styles. Focus on Leveling up your Intellect, your Strength, Your Martial arts skill and your Aesthetics eventually.\",\"reward\":\"3 Gold, +3 Strength, +5 Agility, +3 Perception, +3 Intelligence, +3 Vitality\",\"difficulty\":\"S\",\"priority\":\"High\",\"expiry\":\"Daily\",\"expReward\":30,\"statPointsReward\":3,\"goldReward\":3,\"statRewards\":{\"str\":3,\"agi\":5,\"per\":3,\"int\":3,\"vit\":3},\"itemRewards\":[],\"id\":\"e65a09eb-ceec-4d85-98f0-469d69cb2b28\",\"active\":true,\"completed\":false,\"progress\":0,\"isCustom\":true,\"createdAt\":1754934117510},{\"title\":\"The Phoenix - Rise from Ashes\",\"description\":\"Keep Moving Forward, No matter what. No matter how much pain you face. you can do take breaks to learn from failures. But never quit . Never Settle. Accept your Pain. see it as a part of life. both physical and Mental Pain. If you can cure it you can cure them. but if you can't never use them as an excuse to be Lower. Always improve from pain and be strong if possible. the Key idea is not to stop at any cost and keep moving forward. Not to embrace pain or romanticize it.\",\"reward\":\"2 Gold, +2 Strength, +2 Agility, +2 Intelligence, +2 Vitality\",\"difficulty\":\"S\",\"priority\":\"High\",\"expiry\":\"Daily\",\"expReward\":30,\"statPointsReward\":2,\"goldReward\":2,\"statRewards\":{\"str\":2,\"agi\":2,\"per\":0,\"int\":2,\"vit\":2},\"itemRewards\":[],\"id\":\"18156b0f-de37-43ef-a5b6-3530b3e11abf\",\"active\":true,\"completed\":false,\"progress\":0,\"isCustom\":true,\"createdAt\":1754934128774}],\"completedQuests\":[],\"inventory\":[{\"id\":\"item-health-potion\",\"name\":\"Health Potion\",\"type\":\"Consumable\",\"rarity\":\"Common\",\"description\":\"Restores 100 HP when consumed.\",\"quantity\":3},{\"id\":\"item-mana-potion\",\"name\":\"Mana Potion\",\"type\":\"Consumable\",\"rarity\":\"Common\",\"description\":\"Restores 50 MP when consumed.\",\"quantity\":2}]}"},"sessionStorage":{}} \ No newline at end of file diff --git a/target/classes/.~lock.testData.xlsx# b/target/classes/.~lock.testData.xlsx# deleted file mode 100644 index b3b0cb0..0000000 --- a/target/classes/.~lock.testData.xlsx# +++ /dev/null @@ -1 +0,0 @@ -,arul,ghostTemple,09.08.2025 12:11,file:///home/arul/.config/libreoffice/4; \ No newline at end of file diff --git a/target/classes/com/ghost/temple/BrowserLauncher.class b/target/classes/com/ghost/temple/BrowserLauncher.class index 5fc1b27e5bccce96b0036c0d2bb481ec5c2531a6..8c86cd2412eb3faea53b920cbdfd49d3d255e1b1 100644 GIT binary pat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i z{t=s)momwY;92kamoZS3cRE0ti!y}9EKx4!DN+VeGd&`KKj5~QTFXCGX8UtAB@m6)ESF ZPbb>M>WWI*y-lpCs1$2Oqc|VY{{WxVz3l)1 diff --git a/target/classes/com/ghost/temple/driver/DriverManager.class b/target/classes/com/ghost/temple/driver/DriverManager.class index 9db5056519993a85dff360930f45ef8c30be0b94..3e571ca9d14c31f98098f75869a55ffc47e63f16 100644 GIT binary patch delta 646 zcmYL_TT4_?6vuyiW;|y+bF!E+NzqP5qQ7`F$cO()`neJRFna&OoTFYQ+2s#8UfKz!IVnGpbOya_ zkCRDu^f~<*zsu`OI;(Rlt8b@b3~|BaqRk}?{n{vB{ADhy0&VethbE6~4l%1g=6_O8 z^n`UdZ1P-xx2hvA6=nK|Ri>+B6>35)rzTBb3w34qB+7ok}{X!jlePsz%twO=_8DPq5rU!762)WUk60H574;aq*hv zOa!qO!MiS=60ACINOwpOU2bt(=HHQ8YZKv=NnO!zjtRfJOiJ;v{%IGE{@0>jGE@JU ziw8gZ&MUof&SfK6N{VbaYBMUg-&$H)A+3eAqj zqn$A+R31qy(&_xt-QB%bBHq&!pod}(f16I5vAz1m6es$@7H!1Ry z4CgQ>M`2&a_dcMx0+pUc;#Ps-a{xx#X_tIGf8{k=@T#7aak$SF&EoP0phKVB84@tlH0X z9;lqhnnRcD0>>2#B-2YuG0U0YxsPm_k@6Z9R8ohBQD;7|cBoiR1yoTeKQ+vDN@$^s zR@QTn2<^hQ*g!&9gTlH_H51gh4Q`fNMJyBKnlw{INYEP+wa~^*H`mHe#w1cwtASgL zlO+{vxQ!$CPYBl-!ei^yh5oQhW}M`XkYz^JxK4mqruiUe#gad@!kk)kLp)FW1S^F3 zom_YN^9m(S%t$)R6$V|y>P6H*4vhra=-%&XLItIlyDsw{_ht788g}@K_{aO0W! zk0ZDhi#A9@{nb_fPt~jYa_;lz{R24Qx^@eZYurxmAMYlHq8i$w%A;>HU$x`n=?1F@ znJ4iy$7Py&vVh%Mx@Awe%#3i6h?Ink7E5%<83r%hv#&7Zwm9Sn!?Au1%@a+-skmiV z{CS$#%P4$@)fZ;R>g9+z f<6KE-`>#t%bK2!XYJwdlY{mb@E+rbSgqG1SR!1Xl delta 265 zcmX|+J5Iwu7=%ARWXFpI##l%;U?Ung6p^T$1o4Uk?UoL+=%u?%geku8 z2#~d&4Ri@E4k30<-<$w2F?hyAir1tlVv=SW_LVfc258wG6OaK4? diff --git a/target/cucumber-report.html b/target/cucumber-report.html deleted file mode 100644 index f13c3e7..0000000 --- a/target/cucumber-report.html +++ /dev/null @@ -1,50 +0,0 @@ - - - - Cucumber - - - - - - -
-
- - - - diff --git a/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst b/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst deleted file mode 100644 index 8eccf8a..0000000 --- a/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst +++ /dev/null @@ -1,7 +0,0 @@ -com/ghost/temple/stepdefs/HomePageStepDefs.class -com/ghost/temple/pages/Quests.class -com/ghost/temple/BaseTest.class -com/ghost/temple/TestRunner.class -com/ghost/temple/AppTest.class -com/ghost/temple/pages/HomePage.class -com/ghost/temple/stepdefs/QuestsStepDefs.class diff --git a/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst b/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst deleted file mode 100644 index 987d5db..0000000 --- a/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst +++ /dev/null @@ -1,7 +0,0 @@ -/home/arul/solo-level-app-automation/src/test/java/com/ghost/temple/stepdefs/HomePageStepDefs.java -/home/arul/solo-level-app-automation/src/test/java/com/ghost/temple/AppTest.java -/home/arul/solo-level-app-automation/src/test/java/com/ghost/temple/BaseTest.java -/home/arul/solo-level-app-automation/src/test/java/com/ghost/temple/pages/HomePage.java -/home/arul/solo-level-app-automation/src/test/java/com/ghost/temple/TestRunner.java -/home/arul/solo-level-app-automation/src/test/java/com/ghost/temple/pages/Quests.java -/home/arul/solo-level-app-automation/src/test/java/com/ghost/temple/stepdefs/QuestsStepDefs.java diff --git a/target/surefire-reports/TEST-com.ghost.temple.AppTest.xml b/target/surefire-reports/TEST-com.ghost.temple.AppTest.xml deleted file mode 100644 index e48216b..0000000 --- a/target/surefire-reports/TEST-com.ghost.temple.AppTest.xml +++ /dev/null @@ -1,62 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/target/surefire-reports/TEST-com.ghost.temple.TestRunner.xml b/target/surefire-reports/TEST-com.ghost.temple.TestRunner.xml deleted file mode 100644 index 0f4f138..0000000 --- a/target/surefire-reports/TEST-com.ghost.temple.TestRunner.xml +++ /dev/null @@ -1,62 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/target/surefire-reports/com.ghost.temple.AppTest.txt b/target/surefire-reports/com.ghost.temple.AppTest.txt deleted file mode 100644 index 1ae58c9..0000000 --- a/target/surefire-reports/com.ghost.temple.AppTest.txt +++ /dev/null @@ -1,4 +0,0 @@ -------------------------------------------------------------------------------- -Test set: com.ghost.temple.AppTest -------------------------------------------------------------------------------- -Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 sec diff --git a/target/surefire-reports/com.ghost.temple.TestRunner.txt b/target/surefire-reports/com.ghost.temple.TestRunner.txt deleted file mode 100644 index 52397d8..0000000 --- a/target/surefire-reports/com.ghost.temple.TestRunner.txt +++ /dev/null @@ -1,4 +0,0 @@ -------------------------------------------------------------------------------- -Test set: com.ghost.temple.TestRunner -------------------------------------------------------------------------------- -Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 71.941 sec diff --git a/target/test-classes/com/ghost/temple/AppTest.class b/target/test-classes/com/ghost/temple/AppTest.class deleted file mode 100644 index 4ad0b0efbde372bd13b7841b4d171d6937936bad..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 585 zcmZ{i%Wl&^6o&sv(>gYWgoHwy-ke>+f?0MEK&p^nW3{M>vY(hyGLb!F+2cyQ4I3Vy zRRt0fJOJ;~S3sO`A{8X?;*8Jj`;X`N=dW)+0KCE=Km%JInjyBa!_ZlYE5TEt7yM$r zl8I&5d8xFruNk(6qnVEud=Ej02MGTvpL{H>%&5v#)U+GdAZ7UbLTNj(g%sJig+~mB z@0O;t(Nt!6DkD`!B2`y1y8HC~?)Gzl4jy~xhUno5L+>9H1}}HaRFlkbty2$7B1$jD zqnU@N410;m_`*qXnv10PS)Na2Ny9bYm=BVn9V;!*t86ZdshFn}>Bc4z=}Z*L`I}(V zE>+3UkN*c8Gx&2+s$@;yzpS)XnVhLo5#>y4V}(^l6QmQHV!>AxT_|_e)EZ1oRV4DQ zasz~$8DF^X#sIst9rrZA+zS2Z&k)rnp+PN+6b(v&oQ5%QxdN709lN6(P36P#a;C4v9c?YS<{DiSiwqMkFb4(MS<>^l3;#+Bc&2c27)Z ziEEeqw~vgB$i29)lc*Yw3!LaFr))i-CTf5h?ysZ2gVnPMua z(a0}|^%?Olz1w{EQu_UKx<@vvqSpF=b PRm`(A(kx9{Gidz=6Hdai diff --git a/target/test-classes/com/ghost/temple/TestRunner.class b/target/test-classes/com/ghost/temple/TestRunner.class deleted file mode 100644 index debbf9e7747924402962505eb38c44a2c539c0ad..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 651 zcmaJ;O=}cE5PiKnyBpW&CQ+lCP5dC2L~t5B`UMj3G#JpZf;sh0Iy1e_bPwG%f&8qT z1P}fIf0S6$F6JO)2CA#-JzjnN`u*c4fVX%uMi2cFl64F)6xdj*3neRM3wgX)>YN0I zZ;UncPN08qI3Hn6V3xaD7NrX$N!LxK<%tgTskK&nf#k@YX@N;*tp3>63++$TqTH7iWZl7qs#=!Z&5V|XZoB4w*SLQ=e{v8Y^t^}wsX8Dx)gX? zQeC|wZd&5PeIJP~*}P+H&^<5~roheTA#(K|$dx3POkvjMLd|2zH_e~AQuh!o z=4V+L#aIU8HYPAhV3S5@*${jo4qYu(z|f~wR|GY@7BL*i-*sBu`pc+j;Si1+c26)| z%>M^(S^%eFA%}bhj*SAQ8P5Etp2hVh2}jiC379lM3EdFU+Yo_%qDo@km)JtU! zbU>wdJJ7tPYumCUm7cOO3r-4(11){R+E!3ZJH8qRp25SH+7Fbaqpz0UiLx^cqiH1) zPm8T8ES$sn3@+HXh)WEU+obkb#F44+Pa^8T-pC7;@81cuG84g2O0RuW4aJ?fYJ(^m zV$R`;jjJe9#hz&^!_P55o-Gs1FrMn(VT~ND z6%~h`SdvD3{eO;vSt9}(vq3rwkz6$8$rGI<$(`DZYhZL>0xM);?DiMFfEBWt4fK7& zKw!NvM%~I`wfSl z6+U8k2uC(>>C-(^XgQ8|}go+x4L+dF_Ci%x( bk=yyRIEr~JP~Hhbxrik~$8ejxcVYQA7+S7s diff --git a/target/test-classes/com/ghost/temple/pages/Quests.class b/target/test-classes/com/ghost/temple/pages/Quests.class deleted file mode 100644 index f955039e9e03579453ad5aad1b7b8c395b3cb08c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3406 zcmbtWYje{^6g|qzj-!?!Xegx+6GHufAV>+Ngg~CA0T)6XoR}1-EU%LdvSg%H9(})G zKcN4EnKESBX+QN-e^jS;WhXJVahR!RwAO0(?mhQ)?*8-d?|%Up!!HrEp*@5S6`kl( z(7R@=8@grKEBc-M8Z(80uB+VU;+lf?cp@7{SiwnM&-+3+_Of7`BA$qjMPpMgGX#s? z^_eGP54sUSPY9}t*YLW6lth! zGkbfXrJi@1$Yf_*$;hmZt4JWJ;Pry*lnc&=y);M3DsyqYvn7oH=3v%8A!-&qY}Zeig$5Q!NFYwvRo>s^fnW?q~bkX zCS3)WuQOLcf7)?Zbf?VhCx$M|z~+8QUu5~|V8dtxS3sq9RV9L;x{o#6?fK=h;|hI_ z3OQw%!g040sFEpWELLKahzc&pn<~mM!!=i@99y!-XpPr)tj>louHbAdwLag&yJ&FH zNo*#6kqD+S6GBSG4SYZx5>SZXC8kgNt|7Q%E9iEL8D=_mfiND4->iE1g-zsx>$oXN z@fMX#b367NRI;Itu($*n2J@=G#`gYlZOsP?`FGLX8;DxOG1M{AC%64RXk z93i?3PlbRlcX7)K^v%j%;!W6vO2Z+Qf4|g+RaV$9@cXVebn{n}*kiwXa;u*wvSi}C zZ_7fg25!Q(9qNsh+8AuAaEHlK+%8ORjZ#)^R_-5*x?bSx%j2eHc-~m7lpnejEm~|d zx<*yZi(5k`(HwKB$y9GcL@C1HwimBli_Y#`iYirKy&EMcZx8Ew(9D;|d0{LjWFE%o z^KqT7N1MW+%TQ&du$N?Vy*tBKY(w}iRq|k+@mCuY<{H^DuwPWA&pM`@0v&lE&24tu zFXfrLP@xMg?U;s@HC!&|)sG!wl~ca-ryFv+_EJZ>`-19hLVO*v&Zzsg3`ae~(}8Nu zHIWcRGLG+>EX5_W^;GKboJ=yDq;hSeZV;k}TAyqTl7^vRo!)xre}kS)4_h=PMrd64 zgchjU8y7yM1-jGHcu-yh=pV8j)5g!}tqq@}o!&d~1&v?Qm#6eDp|Iq0C`m2!4Bg4z zoEnoy+)1JNx zFnoh=X+{tOUnvCqJ9JgyuUFv@|AFf{QaN%M6Wf@2j@h)F(UT5uV{UP0vW=|#wvGFH zSo-J;P!u$b5}Iq|v~mo#`#^0n~^M5qI-YftB diff --git a/target/test-classes/com/ghost/temple/stepdefs/HomePageStepDefs.class b/target/test-classes/com/ghost/temple/stepdefs/HomePageStepDefs.class deleted file mode 100644 index b6abd8632f6529440b725d42198d5bd7abf58822..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1230 zcmai!>rN9v6vzKt3T>A~pvbjV78Gr(c3O&vR85EkC8-xcOZ?Pqw_`iF-7S0Rdzpw3 zO?&_!%6MjrLa3%6=FHBSncun2{`~dr2Y{zoR}sNb3{efk7*Q~BWONN?8FrJssULCE zS1|HK*usCNU?`KVs)!>IgQ{T^nt~P6X|ra_@qFg*U+GHj#CT?L6I z_j@V@OPOrNahuHPaQoO`9=EtHf;Kzk_1=+k0@pAe!-R%OBo*ZPjCelpH26o4y>#0A zEtxnV#WpF(+nxgo76%xK;W{1aLwAUF!BsJZ8JU_{1kuMeVk4l@RLZQG^EJBZANy9R3kt=!4ld?mKB*L9*hQhE+9OA=l^1sNWLg&;9-^{I`x}%7&=P0BU}V*F48^Y8LNu zt0wECV17TaebMGs;R!OdW!sK#oX4H22#1-08T!S-$hgg3P+QuB9qt-dK!k-|UE+1Z z>k_Yrc)f>Di&_|QXxwNtYR59}T0QW6$ELggv~bu84WxJV@NP(^l<8s4^gnmi11E4z zz9VG1rmyyIUb>4VYNH4}PdVrXkc8|hl0%>fFhcS!t@aS5FCdjWg_1i%>;z-E@0j|K z`+~7kOrK!xGi^tZA(^DZz&ObXdb^VZOd?Aft%pDk_h?0BB77voZ_q69s>CJJXSjJm zlfMmM1_{hwqNwMT2edazck?uuhXPH-zu0wJNo<_3b6;`$Dl~-{(wCs|E6~**v_#Vy IVIp|=8{mvECjbBd diff --git a/target/test-classes/com/ghost/temple/stepdefs/QuestsStepDefs.class b/target/test-classes/com/ghost/temple/stepdefs/QuestsStepDefs.class deleted file mode 100644 index e0202030fe8eaa1c139a8d35ee37b24b2d8c2c34..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 952 zcmaiyZEq4m5Xb)u6og)Zg0{4^_NrC^wfg~3lcv?g1RrV*jjzaZEU@(+=-nRiYnfPU zH1PxYp^US4Z8Ra;7kj%iJNNs~%+AkW-+lmig544_$QF>Zuz);6^+e1BcZEOZuLmd6 z(G2;=%2)a+L$=xKm2eHk0!kJZVKMADfyc*_Akth*Z|X`u4Ao4A{2jesrYEu=Y0g zwen<7MT*4sd_T}atH39%^{xuI6FW(6Jee-(^W%y1iM=orZcNGAFKnY>lZH(icB)|; z4f|QDQ926Z(2>uTDXyNDfBEja221TJ(<~!dG&gjDd5y$FQpkhek*q`H=mc!E&%xSX zQ8>d=`#b9I+n=#?jvHrad`f=0L*E(&0~PvKY2ud&Si@cNSSbQKxJMSleZprF{2o~b tUm;xM3vQ;{)*oaUS-M_D0Sz-Uf8i<@xF+2%5~M||9pM3O56P9mqu)+>?Z5y4 diff --git a/target/test-classes/features/questCreator.feature b/target/test-classes/features/questCreator.feature deleted file mode 100644 index cd1608e..0000000 --- a/target/test-classes/features/questCreator.feature +++ /dev/null @@ -1,7 +0,0 @@ -Feature: Solo Leveling Quest Management - - Scenario: Open Solo Leveling page and click Add Quest - Given I open the solo level page - When I click the Add Quest button - When I fill all the quests from Excel - \ No newline at end of file