From f5fa7d79f9726135ee680c4bd6adfa6980336fca Mon Sep 17 00:00:00 2001 From: Alexander01998 Date: Wed, 27 Nov 2024 10:49:13 +0100 Subject: [PATCH] Move inventory test before individual feature tests --- .../wurstclient/test/WurstE2ETestClient.java | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/main/java/net/wurstclient/test/WurstE2ETestClient.java b/src/main/java/net/wurstclient/test/WurstE2ETestClient.java index 4f20c4758c..480a13e740 100644 --- a/src/main/java/net/wurstclient/test/WurstE2ETestClient.java +++ b/src/main/java/net/wurstclient/test/WurstE2ETestClient.java @@ -100,15 +100,6 @@ private void runTests() System.out.println("Checking for broken mixins"); MixinEnvironment.getCurrentEnvironment().audit(); - // Clear inventory and chat before running tests - runChatCommand("clear"); - clearChat(); - - CopyItemCmdTest.testCopyItemCmd(); - GiveCmdTest.testGiveCmd(); - ModifyCmdTest.testModifyCmd(); - // TODO: Test more Wurst hacks - System.out.println("Opening inventory"); openInventory(); takeScreenshot("inventory"); @@ -118,6 +109,15 @@ private void runTests() // TODO: Open ClickGUI and Navigator + // Clear inventory and chat before running tests + runChatCommand("clear"); + clearChat(); + + CopyItemCmdTest.testCopyItemCmd(); + GiveCmdTest.testGiveCmd(); + ModifyCmdTest.testModifyCmd(); + // TODO: Test more Wurst hacks + System.out.println("Opening game menu"); openGameMenu(); takeScreenshot("game_menu");