You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
see below example where junit report is missing "Expected "/abc.*Sig In/" but got: "abc.com Sign In"
from console logs :
✔ Expected element <#ap_email> to be visible in 15000ms - condition was met in 1642ms
✖ Testing if the URL match the regex "abc._Sig In". - expected "/abc._Sig In/" but got: abc.com Sign In
at Object.verifyTitle (/usr/local/lib/node_modules/nightwatch/lib/page-object/command-wrapper.js:103:25)
at Object.exports.command (/Users/indrani/uitest/src/WebPlayerTests/commands/doLogin.js:22:26)
at Object.F.command (/usr/local/lib/node_modules/nightwatch/lib/core/api.js:274:31)
at Object.commandFn (/usr/local/lib/node_modules/nightwatch/lib/core/api.js:287:24)
at AsyncTree.runCommand (/usr/local/lib/node_modules/nightwatch/lib/core/queue.js:159:30)
at AsyncTree.runChildNode (/usr/local/lib/node_modules/nightwatch/lib/core/queue.js:119:8)
at AsyncTree.walkDown (/usr/local/lib/node_modules/nightwatch/lib/core/queue.js:85:10)
at AsyncTree.traverse (/usr/local/lib/node_modules/nightwatch/lib/core/queue.js:73:10)
at queueRunner as run
FAILED: 1 assertions failed and 1 passed (5.438s)
Closing down...
TEST FAILURE: 1 assertions failed, 1 passed (5.649s)
✖ loginTest
Verify login with valid existing user is successful
Testing if the URL match the regex "Amazon._Sig In". - Expected "/abc._Sig In/" but got: "abc.com Sign In"
from junit xml report :
at Object.verifyTitle (/usr/local/lib/node_modules/nightwatch/lib/page-object/command-wrapper.js:103:25)
at Object.exports.command (/Users/indrani/uitest/src/WebPlayerTests/commands/doLogin.js:22:26)
at Object.F.command (/usr/local/lib/node_modules/nightwatch/lib/core/api.js:274:31)
at Object.commandFn (/usr/local/lib/node_modules/nightwatch/lib/core/api.js:287:24)
at AsyncTree.runCommand (/usr/local/lib/node_modules/nightwatch/lib/core/queue.js:159:30)
at AsyncTree.runChildNode (/usr/local/lib/node_modules/nightwatch/lib/core/queue.js:119:8)
at AsyncTree.walkDown (/usr/local/lib/node_modules/nightwatch/lib/core/queue.js:85:10)
at AsyncTree.traverse (/usr/local/lib/node_modules/nightwatch/lib/core/queue.js:73:10)
at queueRunner as run
The text was updated successfully, but these errors were encountered:
see below example where junit report is missing "Expected "/abc.*Sig In/" but got: "abc.com Sign In"
from console logs :
✔ Expected element <#ap_email> to be visible in 15000ms - condition was met in 1642ms
✖ Testing if the URL match the regex "abc._Sig In". - expected "/abc._Sig In/" but got: abc.com Sign In
at Object.verifyTitle (/usr/local/lib/node_modules/nightwatch/lib/page-object/command-wrapper.js:103:25)
at Object.exports.command (/Users/indrani/uitest/src/WebPlayerTests/commands/doLogin.js:22:26)
at Object.F.command (/usr/local/lib/node_modules/nightwatch/lib/core/api.js:274:31)
at Object.commandFn (/usr/local/lib/node_modules/nightwatch/lib/core/api.js:287:24)
at AsyncTree.runCommand (/usr/local/lib/node_modules/nightwatch/lib/core/queue.js:159:30)
at AsyncTree.runChildNode (/usr/local/lib/node_modules/nightwatch/lib/core/queue.js:119:8)
at AsyncTree.walkDown (/usr/local/lib/node_modules/nightwatch/lib/core/queue.js:85:10)
at AsyncTree.traverse (/usr/local/lib/node_modules/nightwatch/lib/core/queue.js:73:10)
at queueRunner as run
FAILED: 1 assertions failed and 1 passed (5.438s)
Closing down...
TEST FAILURE: 1 assertions failed, 1 passed (5.649s)
✖ loginTest
Testing if the URL match the regex "Amazon._Sig In". - Expected "/abc._Sig In/" but got: "abc.com Sign In"
from junit xml report :
at Object.verifyTitle (/usr/local/lib/node_modules/nightwatch/lib/page-object/command-wrapper.js:103:25)
at Object.exports.command (/Users/indrani/uitest/src/WebPlayerTests/commands/doLogin.js:22:26)
at Object.F.command (/usr/local/lib/node_modules/nightwatch/lib/core/api.js:274:31)
at Object.commandFn (/usr/local/lib/node_modules/nightwatch/lib/core/api.js:287:24)
at AsyncTree.runCommand (/usr/local/lib/node_modules/nightwatch/lib/core/queue.js:159:30)
at AsyncTree.runChildNode (/usr/local/lib/node_modules/nightwatch/lib/core/queue.js:119:8)
at AsyncTree.walkDown (/usr/local/lib/node_modules/nightwatch/lib/core/queue.js:85:10)
at AsyncTree.traverse (/usr/local/lib/node_modules/nightwatch/lib/core/queue.js:73:10)
at queueRunner as run
The text was updated successfully, but these errors were encountered: