Skip to content

Commit

Permalink
Move inventory test before individual feature tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander01998 committed Nov 27, 2024
1 parent f8b45b8 commit f5fa7d7
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/main/java/net/wurstclient/test/WurstE2ETestClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand All @@ -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");
Expand Down

0 comments on commit f5fa7d7

Please sign in to comment.