Skip to main content

Checks

Here is a list of things to check in every game.

0. Game flow

How to

Test cases
  • 0.1 - The game receive the correct init information after the init call
  • 0.2 - The game receive the correct play information after a play call
  • 0.3 - The game is able to go back to idle state after an error on the play call and the API requesting to abort the play

1. Language

How to

Test cases
  • 1.1 - The game shows the text translated in other languages

2. Currency

How To

Test cases
  • 2.1 - All the amount in the game are displayed on the correct currency
  • 2.2 - The game with a different currency (ie TZS) show the correct amounts (x50 compared to usd or eur)

3. Bet and balance

How To

Test cases
  • 3.1 - When the player press play the bet is deducted from the balance.
  • 3.2 - When the rounds ends the balance is the updated amount, deducting the total bet and adding the total win.
  • 3.3 - After reload a game in real mode, the balance is the correct.
  • 3.4 - The player cannot bet when the bet is higher than the balance.
  • 3.5 - The player cannot bet if the balance is zero.
  • 3.6 - If a promotion is active, the player can play it even if its balance is lower than the bet (or zero).
  • 3.7 - The player cannot start a round if the bet is equal or lower than zero.
  • 3.8 - The game receive the balance update from the connector and the game balance is updated.
  • 3.9 - When there is not enough balance to play, the game display a message that allows the player to ask for updated balance or go to the deposit page if any.

4. Max win cap

How To

Test cases
  • 4.1 - A message is shown when the max win cap is reached
  • 4.2 - Any free spins, bonus or feature end when a max win cap is reached

5. Demo vs real mode

How To

Test cases
  • 5.1 - When the game is in demo mode, it should be shown somewhere on the game
  • 5.2 - When the game is in real mode it doesn't show the demo tag

6. Regulations and casino types

Details

How to Some regulations force the game to block or show certain things. If your game is not entering any special regulation, you can skip this.Adapt your game based on the data the connector provide after the open call is made:

ETHEREAL.data.canShowNetPosition();
ETHEREAL.data.canSpaceToSpin();
ETHEREAL.data.allowAutoplay();
ETHEREAL.data.allowTurbo();
ETHEREAL.data.allowGamble();
ETHEREAL.data.allowBuyFeature();
ETHEREAL.data.allowSmallWinCelebration(); // Small wins: Wins that are smaller than the bet
ETHEREAL.data.minSpinSeconds();
...
TIP

You can check the jsdoc of a function to check how to test it locally, adding a url param.

Some types of casino have certain retrictions, you can obtain the type of casino on the connector:

ETHEREAL.data.getCasinoType();
  • Casino type: sweep:
    • Don't use some words like pay, gamble or bet (Create extra translations that override the keys with this words)
    • You can check the full list of changes here
Test cases
  • 6.1 - When a functionality is blocked by the connector, the game doesn't show it.
  • 6.2 - If there is a limit on the seconds that the game must wait until show the results, the game behaves correctly.
  • 6.3 - If the game is in a social casino, the game doesn't show the word bet, pay or gamble.

7. Player history

How to

Test cases
  • 7.1 - The player history cannot be accessed on demo mode
  • 7.2 - A list of previously played rounds apear on real mode when requested
  • 7.3 - The game open a new tab with the round id requested
  • 7.4 - The game shows the replay / round previsualization when requested
  • 7.5 - The list of latest rounds shows the correct bet / win amounts

8. Promotions

How to

Test cases
  • 8.1 - If a promotion is enabled for the player, the game will show it when opening the game
  • 8.2 - The game can play a promotion and the balance doesn't decrease
  • 8.3 - The game can play a promotion with balance lower than the bet
  • 8.4 - The game can play a promotion with a balance of zero
  • 8.5 - If reload the game in the middle of promotions, the game will recover and continue the promotion
  • 8.6 - After completing the promotion, the game continue normally and can play, deducting money from the balance