Syncano / syncano-testing-examples

Nightwatch End to End testing examples for React applications
https://www.syncano.io/
46 stars 11 forks source link

[commands] Test Suite Error #13

Closed dbstapas closed 7 years ago

dbstapas commented 7 years ago

Hi, I am following same steps mentioned in this repo but getting below error. Don't know why [default] Test Suite and [commands] Test Suite are kicking in. Can I configure something to stop this??

[Login Test] Test Suite
===========================

Running:  User Logs in
 ✔ Element <input[type=text]> was visible after 112 milliseconds.
 ✔ Element <button> was visible after 44 milliseconds.
 ✔ Expected element <div[name=welcome]> text to contain: "Welcome back" - condition was met in 264ms

OK. 3 assertions passed. (3.641s)

[default] Test Suite
========================

[commands] Test Suite
=========================

[commands :: 0] Test Suite
==============================

Running:  login
 ✖ TypeError: this.waitForElementVisible is not a function
    at Object.login (/Users/tapaskumarjena/Documents/Work/Lantern/ibid/dbs-ibanking-indo/e2e/pages/LoginPage.js:4:8)
    at _combinedTickCallback (internal/process/next_tick.js:95:7)

FAILED:  1 errors (4ms)
dbstapas commented 7 years ago

Figured out the problem now. Closing this ticket.