Testing with sandbox users
Test uploaded builds with sandbox users
Sandbox users are real, logged-in Jest accounts created from the Developer Console.
Use them to test an uploaded build of your game inside the live Jest.com platform as a logged-in player.
Sandbox users only see your team's games (games your developer account can access).
Create a sandbox user
- Open the Developer Console.
- In the left sidebar navigation, select Sandbox Users.
- Select Create Sandbox User.
Log in as a sandbox user
- In the Developer Console, go to Sandbox Users.
- Select Generate Login Link for the user you want.
- Open the link in a browser.
A small "Sandbox user" overlay at the top of the page indicates you are in sandbox mode.
What you can do with sandbox users
Sandbox users are best suited for testing platform-backed features against an uploaded version of your game.
From the Developer Console, you can also inspect and manage a sandbox user while you test, for example:
- Inspect scheduled notifications and see what arrives in the sandbox user's inbox
- Test purchase flows end-to-end without being charged (prices show as
0) - Reset the user state to re-test first-time or onboarding flows
Good for
- End-to-end testing of SDK features on the real platform with an uploaded build
- Testing flows that require a logged-in user (registration gates, player identity, persistent state)
- Verifying that platform features behave correctly (notifications, payments, redirects)
- Debugging issues that only show up in the real hosted environment (embedding, platform UI, mobile viewport behaviors)
Not good for
- Iterating quickly on local UI/logic (use local mocks)
- Testing local code inside Jest.com without uploading a new build (use the hosted emulator)
For step-by-step UI instructions in the Developer Console, see Sandbox users.
Test referrals
Referrals need two players — a referrer and an invitee — so the test loop uses two sandbox users.
- Create two sandbox users,
A(the referrer) andB(the invitee). Each developer can have up to 3. - Log in as A and mint a referral link:
- Log in as B in a separate browser or incognito window so the two sessions don't collide. You'll land on the Jest.com home page.
- Paste A's referral link into B's address bar. The platform redirects B into A's game with the referral attached, and B's player record is attributed to A's link.
- Confirm the conversion by calling
listReferralsfrom A's player (the entry shows up under thereferenceyou used) or by opening A's inbox in the Developer Console — A receives areferral_conversionnotification once B is attributed.
Re-running the loop with the same sandbox users
Referral attribution is decided once, when a player first enters your game — an existing player who later opens a referral link is not re-attributed. To run the loop again with the same sandbox users:
- In the Developer Console, open Sandbox Users and click Reset Player State for sandbox B. This archives B's Player row for your game so the next entry creates a fresh one.
- Repeat steps 3–5. The next time B enters A's referral link, a brand-new Player record is created with the attribution attached, and A receives another conversion notification.
Calling shareReferralLink from A's player a second time with the same reference updates the existing link (it's an upsert), so B's repeat entry rolls into the same campaign.
Notes
- The platform's only built-in reward for a conversion is the notification delivered to A's inbox. Anything else (currency, items, feature unlocks) is your game's responsibility — verify the
referralsSignedJWS server-side before granting it. See the HTML5 SDK Referrals guide for the verification recipe.