From 6bb2cd6ee2a35768ac4422395596daf1438e62ff Mon Sep 17 00:00:00 2001 From: Elliott Sprehn Date: Fri, 29 Oct 2010 16:02:57 -0700 Subject: Provide browser DSL with location() to expect the iframe URL parts. Also move navigateTo() under the browser DSL. --- example/personalLog/scenario/personalLogScenario.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'example') diff --git a/example/personalLog/scenario/personalLogScenario.js b/example/personalLog/scenario/personalLogScenario.js index 3679a33c..09ceae28 100644 --- a/example/personalLog/scenario/personalLogScenario.js +++ b/example/personalLog/scenario/personalLogScenario.js @@ -1,7 +1,7 @@ describe('personal log', function() { beforeEach(function() { - navigateTo('../personalLog.html'); + browser().navigateTo('../personalLog.html'); }); @@ -64,8 +64,8 @@ describe('personal log', function() { element('form input[type="submit"]').click(); expect(repeater('ul li').count()).toEqual(1); - navigateTo('about:blank'); - navigateTo('../personalLog.html'); + browser().navigateTo('about:blank'); + browser().navigateTo('../personalLog.html'); expect(repeater('ul li').column('log.msg')).toEqual('my persistent message'); expect(repeater('ul li').count()).toEqual(1); -- cgit v1.2.3