Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
imurchie committed Nov 24, 2015
1 parent 6a35e15 commit 2dd5584
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/functional/api-demos/attribute-e2e-specs.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@ describe('apidemo - attributes', function () {
await driver.back();
});
it('should be able to find content description attribute', async () => {
let el = await driver.findElOrEls('name', 'Animation');
await driver.getAttribute('contentDescription').should.eventually.become("Animation");
await driver.getAttribute('contentDescription', animationEl).should.eventually.become("Animation");
});
it('should be able to find displayed attribute', async () => {
await driver.getAttribute('displayed', animationEl).should.eventually.become('true');
Expand Down

0 comments on commit 2dd5584

Please sign in to comment.