Skip to content

Latest commit

 

History

History
63 lines (52 loc) · 1.64 KB

changelog.md

File metadata and controls

63 lines (52 loc) · 1.64 KB

0.3.0 (28-06-2014)

Features

Breaking Changes

  • Tests and after functions now need to be terminated with resolveWith(done) method instead of this.end(done) eg

      //< 0.3.0
      after(function(done) {
      browser.endAll();
      done();
      });
    
      afterEach(function(done) {
        browser.end();
        done();
      });
    
      browser
          .to(TodoMVCPage, mvcLib)
          .at(TodoMVCPage, function (err) {
            if (err) {
              done(err);
            }
    
            createStandardItems(this);
            this.todoList.items(1).remove.invisible();
            this.todoList.items(1).moveTo();
            this.todoList.items(1).remove.visible();
            this.end(done);
          });
      });
    
      //0.3.0        	
      after(function(done) {
        browser
          .resolveWith(done)
          .endAll();
      });
    
      afterEach(function(done) {
        browser
          .resolveWith(done)
          .end();
      });
      browser
          .to(TodoMVCPage, mvcLib)
          .at(TodoMVCPage, function (err) {
             if (err) {
               done(err);
             }
             createStandardItems(this);
             this.todoList.items(1).remove.invisible();
             this.todoList.items(1).moveTo();
             this.todoList.items(1).remove.visible();
             this.end();
          })
          .resolveWith(done);
      });