Skip to content

Commit f8dd4a4

Browse files
Re-enable Lootr test
1 parent b510fd8 commit f8dd4a4

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@ modmenu_version=16.0.0-rc.1
3636
# check at https://modrinth.com/mod/cloth-config/versions?l=fabric
3737
cloth_config_version=20.0.148
3838
# check at https://modrinth.com/mod/lootr/versions?l=fabric
39-
lootr_version=fabric-1.21.8-1.16.39.95
39+
lootr_version=fabric-1.21.9-1.17.30.96
4040
# turn off if Lootr is not yet available for the current Minecraft version
41-
do_lootr_test=false
41+
do_lootr_test=true

src/gametest/java/net/wimods/chestesp/gametest/ChestESPTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public void runTest(ClientGameTestContext context)
6060
context.clickScreenButton("modmenu.title");
6161
if(IS_LOOTR_TEST)
6262
assertScreenshotEquals(context, "mod_menu",
63-
"https://i.imgur.com/Q1IyYQG.png");
63+
"https://i.imgur.com/1bYR8j0.png");
6464
else
6565
assertScreenshotEquals(context, "mod_menu",
6666
"https://i.imgur.com/EY2sFws.png");

src/gametest/java/net/wimods/chestesp/gametest/LootrTestRig.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public static void build(ClientGameTestContext context,
6262
public static void test(ClientGameTestContext context)
6363
{
6464
assertScreenshotEquals(context, "ChestESP_lootr_default_settings",
65-
"https://i.imgur.com/tR5uMIp.png");
65+
"https://i.imgur.com/g5gbEAa.png");
6666

6767
ChestESPTest.LOGGER.info("Enabling all ChestESP groups for Lootr test");
6868
ChestESPTest.withConfig(context, config -> {
@@ -75,26 +75,26 @@ public static void test(ClientGameTestContext context)
7575
config.include_furnaces = true;
7676
});
7777
assertScreenshotEquals(context, "ChestESP_lootr_boxes",
78-
"https://i.imgur.com/lraf97p.png");
78+
"https://i.imgur.com/g5gbEAa.png");
7979

8080
ChestESPTest.LOGGER.info("Changing style to lines for Lootr test");
8181
ChestESPTest.withConfig(context, config -> {
8282
config.style = net.wimods.chestesp.ChestEspStyle.LINES;
8383
});
8484
assertScreenshotEquals(context, "ChestESP_lootr_lines",
85-
"https://i.imgur.com/xj1MHgq.png");
85+
"https://i.imgur.com/A14Tgu2.png");
8686

8787
ChestESPTest.LOGGER
8888
.info("Changing style to lines and boxes for Lootr test");
8989
ChestESPTest.withConfig(context, config -> {
9090
config.style = net.wimods.chestesp.ChestEspStyle.LINES_AND_BOXES;
9191
});
9292
assertScreenshotEquals(context, "ChestESP_lootr_lines_and_boxes",
93-
"https://i.imgur.com/SaK6Y9Z.png");
93+
"https://i.imgur.com/arRfGL2.png");
9494

9595
ChestESPTest.LOGGER.info("Changing all color settings for Lootr test");
9696
ChestESPTest.setRainbowColors(context);
9797
assertScreenshotEquals(context, "ChestESP_lootr_custom_colors",
98-
"https://i.imgur.com/acr8fZI.png");
98+
"https://i.imgur.com/PqiNVf0.png");
9999
}
100100
}

0 commit comments

Comments
 (0)