Skip to content

added optional message param to the Title Should Be function#1044

Merged
aaltat merged 3 commits intorobotframework:masterfrom
rubygeek:1042-add-message-page-title
Feb 3, 2018
Merged

added optional message param to the Title Should Be function#1044
aaltat merged 3 commits intorobotframework:masterfrom
rubygeek:1042-add-message-page-title

Conversation

@rubygeek
Copy link
Copy Markdown
Contributor

@rubygeek rubygeek commented Feb 3, 2018

Added code and tests to complete #1042

@aaltat
Copy link
Copy Markdown
Contributor

aaltat commented Feb 3, 2018

We lately have had problems with Travis and it looks like you suffered from the same problem. I did restart the Travis jobs and let's see how it goes.

@aaltat
Copy link
Copy Markdown
Contributor

aaltat commented Feb 3, 2018

There was one tiny thing to add. Also if you want to have credit from your work, please add your name and what did you do in the https://github.com/robotframework/SeleniumLibrary/blob/master/CHANGES.rst

@pekkaklarck
Copy link
Copy Markdown
Member

Thanks for PR!

Docs should have a note that this is new in SL 3.1 (or whatever the version is).

def title_should_be(self, title, message=None):
"""Verifies that current page title equals ``title``.

The ``message`` argument can be used to override the default error
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add at the last line that message argument is new in SeleniumLibrary 3.1.

@aaltat aaltat merged commit 61bbacf into robotframework:master Feb 3, 2018
@aaltat
Copy link
Copy Markdown
Contributor

aaltat commented Feb 3, 2018

Looking good, merged to master. Thanks for the contribution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants