Skip to content

TP. Test Pattern

Michael Kechinov edited this page Aug 6, 2018 · 3 revisions

Available scenarios:

  1. TP-1. A user sees modal dialog
  2. TP-2. A user selects saved battle to test.
  3. TP-3. A user scrolls timelike of the chosen battle.
  4. TP-4. A user selects a snek to test.
  5. TP-5. A user sees how a pattern works in the current situation.
  6. TP-6. A user closes modal dialog.

TP-1. A user sees modal dialog

  1. User sees the modal dialog:
  • Close button
  • Saved battle selector
  • Battle rounds scroller
  • Battle arena with the current situation on a field.
  • List of sneks available on the arena in the current round
  • Selected pattern
  • Log field of pattern matching process

Variants:

  • If the user doesn't have saved battles, the modal dialog shows a message about it.

TP-2. A user selects saved battle to test.

  1. User clicks on saved battles list dropdown
  2. User sees a list of battles - type and ID.
  3. User clicks on any battle.
  4. Dropdown closes.
  5. Selected battle arena appears in arena area.
  6. Rounds scroller length sets to the battle length and on 0 round.
  7. Sneks lists renders with current selected arena and round sneks.
  8. Log area clears.

TP-3. A user scrolls timelike of the chosen battle.

TP-4. A user selects a snek to test.

TP-5. A user sees how a pattern works in the current situation.

TP-6. A user closes modal dialog.

  1. User clicks on "X" button.
  2. Dialog closes.
  3. User sees RE. Rules Editor

Clone this wiki locally