Skip to content

Validate displayed element inside Task #42

@manucolt92

Description

@manucolt92

Hi there!!
I'm trying to validate some displayed elements in the page before do some things. But I don't know how. Anybody can helps me please?
For e.g.

@step("{0} adds a todo item called #thingToDo")
public void performAs(T actor) {
actor.attemptsTo(
[VALIDATIONS HERE BEFORE ACTIONS]
Enter.theValue(thingToDo).into(ToDoList.NEW_TODO_FIELD),
Hit.the(RETURN).keyIn(ToDoList.NEW_TODO_FIELD)
);
}

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