Skip to content

GUI interaction tests #19

@ivan-mogilko

Description

@ivan-mogilko

Tests that run "GUI.ProcessClick" on various controls, and assert that controls have reacted properly:

  • buttons performed their click function,
  • listbox changed selection
  • slider changed value

Test for TextBox reacting to Game.SimulateKeyPress.

Tests that emulate moving mouse cursor (by changing position), and assert that buttons change their state when the mouse is over them.
Related: #14

Unfortunately, it seems impossible to test button's push state, because there's no way to set mouse key state to "down", only do a complete "click" simulation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions