fixing ci

This commit is contained in:
sebv
2014-05-30 11:09:05 +08:00
parent 413e1cbc84
commit 1663e6b3d4
2 changed files with 4 additions and 2 deletions

View File

@@ -139,7 +139,7 @@ describe('testapp - basics - calc app 1', function () {
it('should be able to get text of a button', function (done) {
driver
.elementByClassName('UIAButton').text().should.become("ComputeSumButton")
.elementByClassName('UIAButton').text().should.become("Compute Sum")
.nodeify(done);
});
});

View File

@@ -20,7 +20,9 @@ describe('testapp - basics - calc app 2', function () {
it('should lookup two fields by name and populate them with ' +
'random numbers to finally sum them up', function (done) {
driver.elementByName('SumLabel').then(function (sumLabel) {
driver
.elementByName('Answer')
.then(function (sumLabel) {
return driver.chain()
.then(lookup.bind(null, 1))
.then(lookup.bind(null, 2))