Xolvio Cucumber - Получение ошибок в консоли, но все тесты проходят

У меня есть следующий код. Вроде мои тесты проходят, но в консоли куча ошибок. Что происходит? Являются ли мои тесты недетерминированными и повторяются? Если да, то как предотвратить ошибки?

логин.особенность:

Feature: User authentication

  As a user
  I want to be able to login
  So that I can have all the good stuff that comes with user accounts

  Background:
    Given I am signed out

  Scenario: A user can sign up with valid information
    Given I am on the home page
    When I open the sign up modal
    And I enter my desired authentication information
    Then I should be logged in

step_definitions.js

this.When(/^I open the sign up modal$/, function (callback) {
      // Write code here that turns the phrase above into concrete actions
      helper.world.browser.
        click('[data-ion-modal="signup"]').
        waitForVisible('.#signup-form', 2000).
        call(callback);
    });

    this.When(/^I enter my desired authentication information$/, function (callback) {
      // Write code here that turns the phrase above into concrete actions
      helper.world.browser.
        waitForExist('#signup-form', 2000).
        waitForVisible('#signup-form').
        setValue('#signup-email', '[email protected]').
        setValue('#signup-password', 'password').
        submitForm('#signup-form').
        call(callback);
    });

    this.Then(/^I should be logged in$/, function (callback) {
      // Write code here that turns the phrase above into concrete actions
      helper.world.browser.
        waitForExist('.tabs', 2000).
        waitForVisible('.tabs').
        call(callback);
    });

введите здесь описание изображения


person delisdeli    schedule 03.04.2015    source источник


Ответы (1)


Это похоже на регрессию метеора-огурца. Я сейчас переписываю огурец, ожидайте, что эта проблема исчезнет в следующем выпуске.

person Xolv.io    schedule 03.04.2015