aboutsummaryrefslogtreecommitdiffstats
path: root/test/scenario/TestContext.js
AgeCommit message (Collapse)Author
2010-10-14New Angular Scenario runner and DSL system with redesigned HTML UI.Elliott Sprehn
Uses the Jasmine syntax for tests, ex: describe('widgets', function() { it('should verify that basic widgets work', function(){ navigateTo('widgets.html'); input('text.basic').enter('Carlos'); expect(binding('text.basic')).toEqual('Carlos'); input('text.basic').enter('Carlos Santana'); expect(binding('text.basic')).not().toEqual('Carlos Boozer'); input('text.password').enter('secret'); expect(binding('text.password')).toEqual('secret'); expect(binding('text.hidden')).toEqual('hiddenValue'); expect(binding('gender')).toEqual('male'); input('gender').select('female'); expect(binding('gender')).toEqual('female'); }); }); Note: To create new UI's implement the interface shown in angular.scenario.ui.Html.
2010-08-10Inject jquery into future scope, and rename outer scenario to _window, which ↵Shyam Seshadri
is what it is
2010-07-27refactoring done but Expect not workingAndres Ornelas
2010-07-27text context extractedAndres Ornelas
2010-07-27stable before refactoringAndres Ornelas