Table of Contents

Method CharacterCreation_TypeNameAndCreate_AddsTheHeroToTheParty

Namespace
GrindFest
Assembly
GrindFest.dll

CharacterCreation_TypeNameAndCreate_AddsTheHeroToTheParty()

The whole creation flow the way a player walks it: pick the class, type a name, press Create.

This is the test that was missing on 2026-09-17, when typing a name left the panel saying "Fill in hero name!" and the hero could not be created at all. The cause was invisible to every test that existed: onejs-react's TextField reports changes through onChange with the text in e.value, and the panel listened on onValueChanged reading e.newValue - a prop the component does not have, so the handler was dropped. A field that nothing listens to looks exactly like a working field: the text appears, the value never leaves it. Only typing and then acting on the result can tell the difference, which is what this test does.

public IEnumerator CharacterCreation_TypeNameAndCreate_AddsTheHeroToTheParty()

Returns

IEnumerator