Skip to content

Commit

Permalink
Take the screenshot before running assertions 🤦‍♂️
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander01998 committed Nov 27, 2024
1 parent cc59811 commit 6f04044
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/net/wurstclient/test/CopyItemCmdTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ public static void testCopyItemCmd()
// Put on a golden helmet
runChatCommand("give @s golden_helmet");
rightClickInGame();
takeScreenshot("copyitem_command_setup");
assertOneItemInSlot(39, Items.GOLDEN_HELMET);
assertNoItemInSlot(0);
takeScreenshot("copyitem_command_setup");

// .copyitem the helmet
String playerName = submitAndGet(mc -> mc.player.getName().getString());
Expand Down

0 comments on commit 6f04044

Please sign in to comment.