Skip to content

Commit a6346ca

Browse files
committed
Fix failing test
1 parent c4972f2 commit a6346ca

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/e2e/scenarios.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,8 @@ describe("my app", function() {
570570
expect(util.getResult('$("#grid1_fixed tbody tr:eq(2) td")[0].innerHTML')).toBe("Aniseed Syrup");
571571
expect(util.getResult('$("#grid1 tbody tr:eq(2) td")[2].innerHTML')).toBe("2");
572572
//the other values should be preserved
573-
expect(util.getResult('$("#grid1 tbody tr:eq(1) td")[2].innerHTML')).toBe("24 - 12 oz bottles");
573+
expect(util.getResult('$("#grid1 tbody tr:eq(1) td")[2].innerHTML'))
574+
.toBe(util.getResult('angular.element("#grid1").scope().northwind[1].UnitsOnOrder.toString()'));
574575
});
575576
});
576577

0 commit comments

Comments
 (0)