Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The waitForElementVisible / waitForElementPresent commands optional message %d not working when used without %s #2532

Closed
kretschmannj opened this issue Oct 28, 2020 · 0 comments · Fixed by #2641

Comments

@kretschmannj
Copy link

The waitForLement commands allow for an option message with two placeholders %s and %d. When I try to use only the %d placeholder in my message then the value shows as "NaN" and I must used %s in order for the %s to show the correct value.

Example:
waitForElementVisible('xpath', '//fieldset[1]//div[1]//label[3]', 'Verify the field label was visible in %d ms')

@beatfactor beatfactor added the bug label Mar 17, 2021
@beatfactor beatfactor added this to Needs triage in Nightwatch 1.7 via automation Mar 17, 2021
@beatfactor beatfactor moved this from Needs triage to Low priority in Nightwatch 1.7 Mar 19, 2021
gravityvi pushed a commit to gravityvi/nightwatch that referenced this issue Apr 14, 2021
Nightwatch 1.7 automation moved this from Low priority to Closed Apr 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging a pull request may close this issue.

2 participants