Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 9260f48

Browse files
Shyam Seshadrishyamseshadri
Shyam Seshadri
authored andcommitted
Fix broken tests for element dsl
1 parent 867826c commit 9260f48

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/scenario/DSLSpec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ describe("DSL", function() {
159159
expect(future.fulfilled).toBeTruthy();
160160
}
161161
it('should find elements on the page and provide jquery api', function() {
162-
var future = element('.reports-detail').find();
162+
var future = element('.reports-detail');
163163
expect(future.name).toEqual("Find element '.reports-detail'");
164164
timeTravel(future);
165165
expect(future.value.text()).
@@ -168,7 +168,7 @@ describe("DSL", function() {
168168
toEqual('Description : Details...');
169169
});
170170
it('should find elements with angular syntax', function() {
171-
var future = element('{{report.description}}').find();
171+
var future = element('{{report.description}}');
172172
expect(future.name).toEqual("Find element '{{report.description}}'");
173173
timeTravel(future);
174174
expect(future.value.text()).toEqual('Details...');

0 commit comments

Comments
 (0)