Skip to content

Add Message attribute to the Page Title Should Be function #1042

@rubygeek

Description

@rubygeek

Many tests allow you to pass a message on failure, this function is lacking that. Though you can do something similar in other ways, it should be part of the function

One solution might be:

${title}=     Get Title
Should Be Equal   My Homepage    ${title}     Page didn't go to the right location

But better if we could do

Page Title Should Be  My Homepage  message=Page didn't go to the right location

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions