Skip to content

Free, open-source 3D sculpting for Linux, macOS and Windows: dense meshes, remeshing, painting, built-in AI (image/text to 3D), Send to Unreal, game-ready LODs, Gaussian splats and OpenUSD.

Membership card UI tests: 200 % shots of both cards

islandmed2631eecf1b50
diff --git a/tests/ui/member_card.sfui b/tests/ui/member_card.sfui
index f1c35d61..c6879dec 100644
--- a/tests/ui/member_card.sfui
+++ b/tests/ui/member_card.sfui
@@ -28,6 +28,12 @@ expect "Not now##member_card.not_now"
expect "I'm already a member##member_card.already"
expect_no_text Don't show again
shot sculpted
+# HiDPI: the same card at 200 %.
+ui_scale 200
+wait 0.3
+shot sculpted-200
+ui_scale 100
+wait 0.3
# Terms & refunds (the fine print) opens the membership terms; the card stays.
click "Terms & refunds##member_card.terms"
expect_value support_requests == 1
diff --git a/tests/ui/support_card.sfui b/tests/ui/support_card.sfui
index 9d0d751c..a6cd544a 100644
--- a/tests/ui/support_card.sfui
+++ b/tests/ui/support_card.sfui
@@ -28,6 +28,12 @@ expect_text Founding Studio: $150, first 10 studios
expect_text or $48 a year
expect "Member, $48 a year##card.member_yearly"
shot first_run
+# HiDPI: the same card at 200 %.
+ui_scale 200
+wait 0.5
+shot first_run-200
+ui_scale 100
+wait 0.5
# The members' Discord in the footer opens the invite (kDiscordUrl) and leaves the card open.
expect "Join the members on Discord##card.discord"
click "Join the members on Discord##card.discord"