Skip to content

Getting : >> WARNING: done not called! : message when not true #4

@ryanzec

Description

@ryanzec

I think this is a good addition however it does not seems to be happening based on whether or not you are calling done(). It is consistent on whether or not the warning shows but not based on whether or not you call done(). For example, this test shows the warning message:

'test': function(test) {
  test.open('http://example.com')
  //angular - need to wait for angular to render this container
  .waitForElement('.desktop-page')
  .type('.page > header .search-container input.search-box', '123')
  .click('.page > header .search-container div.search-box a span')
  .waitForElement('body.mainBody')
    .assert.url().to.match(/www.example.com.*?page=some_page*.?/, 'redirected to some page')
  .done();
}

However it clearly calls .done() at the end. Here is another test that does not show the warning:

'test': function(test) {
  test.open('http://example.com')
  //angular - need to wait for angular to render this container
  .waitForElement('.desktop-page')
  .click('.page > header .search-container input.search-box')
  .click('.page > header .search-container select option[value="Duration"]')
    .assert.attr('.page > header .search-container input[name="work-order-status"][value="active"]', 'disabled').is.not('true', 'not disabled')
    .assert.attr('.page > header .search-container input[name="work-order-status"][value="closed"]', 'disabled').is.not('true', 'not disabled');
}

However it clearly does not call .done() at the end.

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions