| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2010-10-20 | Lots of stability and performance updates and UI polish too. | Elliott Sprehn | |
| Polish the Scenario Runner UI to include: - a scroll pane that steps appear in since the list can be very long - Collapse successful tests - Show the line where the DSL statements were when there's an error (Chrome, Firefox) Also: - Remove lots angular.bind calls to reduce the amount of stack space used. - Use setTimeout(...,0) to schedule the next future to let the browser breathe and have it repaint the steps. Also prevents overflowing the stack when an it() creates many futures. - Run afterEach() handlers even if the it() block fails. - Make navigateTo() take a function as the second argument so you can compute a URL in the future. - Add wait() DSL statement to allow interactive debugging of tests. - Allow custom jQuery selectors with element(...).query(fn) DSL statement. Known Issues: - All afterEach() handlers run even if a beforeEach() handler fails. Only after handlers for the same level as the failure and above should run. | |||
| 2010-10-19 | fixed Scenario.js so that it does not clobber global vars | Misko Hevery | |
| 2010-10-19 | fixed tests | Misko Hevery | |
| 2010-10-19 | Fix browser triggering in scenario to always do native events. | Misko Hevery | |
| - Also fixed angular.suffix for scenarios - refactored click() to browserTrigger() - Fixed Rakefile with CSS and jQuery | |||
| 2010-10-19 | Significantly clean up the way the scenario DSL works and implement many ↵ | Elliott Sprehn | |
| more DSL statements. - "this" always means the current chain scope inside a DSL - addFutureAction callbacks now take ($window, $document, done) - $document has a special method elements() that uses the currently selected nodes in the document as defined by using() statements. - $document.elements() allows placeholder insertion into selectors to make them more readable. ex. $document.elements('input[name="$1"]', myVar) will substitute the value of myVar for $1 in the selector. Subsequent arguments are $2 and so on. - $document.elements() results have a special method trigger(event) which should be used to events. This method implements some hacks to make sure browser UI controls update and the correct angular events fire. - futures now allow custom formatting. By default any chain that results in a future can use toJson() or fromJson() to convert the future value to and from json. A custom parser can be provided with parsedWith(fn) where fn is a callback(value) that must return the parsed result. Note: The entire widgets.html UI is now able to be controlled and asserted through DSL statements!!! Victory! :) | |||
| 2010-10-15 | fixed lint warnings and one flaky test | Misko Hevery | |
| 2010-10-14 | New 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-09-23 | cleanup underscore.js form rakefile | Misko Hevery | |
| 2010-09-14 | Fixed all trivial jslint violations | Misko Hevery | |
| 2010-08-18 | stringify names for better compression, remove dead functions, removed ↵ | Misko Hevery | |
| underscore.js compatibility | |||
| 2010-08-13 | Fix issue with jquery not being visible in production | Shyam Seshadri | |
| 2010-08-13 | Provide all jquery functions as futures | Shyam Seshadri | |
| 2010-08-13 | Revert click dsl, since what is returned by element is a jquery object | Shyam Seshadri | |
| 2010-08-13 | Pull in Rajat's changes to add click and url checking dsl | Shyam Seshadri | |
| 2010-08-11 | Fix toEqual matcher to use angular.equals instead of simple == comparison, ↵ | Shyam Seshadri | |
| which breaks down for arrays and objects | |||
| 2010-08-11 | modify element dsl to understand angular bindings and return jquery object ↵ | Shyam Seshadri | |
| for further checking | |||
| 2010-08-10 | Change repeater dsl to collect and return an array of string contents based ↵ | Shyam Seshadri | |
| on match | |||
| 2010-08-10 | Fix test breakage in Chrome. Chrome JQuery doesn't like malformed table html ↵ | Shyam Seshadri | |
| apparently | |||
| 2010-08-10 | Inject jquery into future scope, and rename outer scenario to _window, which ↵ | Shyam Seshadri | |
| is what it is | |||
| 2010-08-09 | Add element DSL, to find an element. Has knowledge of finding ng:bind ↵ | Shyam Seshadri | |
| elements and grabbing their contents. | |||
| 2010-08-06 | added repeater.collect to E2E DSL | Andres Ornelas | |
| 2010-08-05 | fix build breakage by returning the added futures in the DSL | Andres Ornelas | |
| 2010-08-05 | Added new files to Rakefile and consistently used .addFuture | Andres Ornelas | |
| 2010-08-04 | added MatcherSpec | Andres Ornelas | |
| 2010-08-04 | test passing with repeater.count | Andres Ornelas | |
| 2010-07-27 | refactoring done but Expect not working | Andres Ornelas | |
| 2010-07-27 | before pulling testcontext out | Andres Ornelas | |
| 2010-07-27 | stable before refactoring | Andres Ornelas | |
| 2010-07-27 | Merge branch 'master' of github.com:angular/angular.js into future | Andres Ornelas | |
| 2010-07-08 | fixed IE tests | Misko Hevery | |
| 2010-06-30 | all tests passing with new futures concept | Andres Ornelas | |
| 2010-06-29 | initial concept | Andres Ornelas | |
| 2010-06-22 | expose e2e test results | Andres Ornelas | |
| 2010-06-09 | fixed undefined testWindow bug | Andres Ornelas | |
| 2010-06-09 | add beforeEach and afterEach to scenario DSL | Andres Ornelas | |
| 2010-06-09 | change repeater count expectation wording | Andres Ornelas | |
| 2010-06-09 | add repeater DSL and fix typo | Andres Ornelas | |
| 2010-05-27 | extracted switchRouteMatcher and added necessary libraries to angular-scenario | Andres Ornelas | |
| 2010-05-26 | navigate to scenario waits for outstanding requests to clear before proceeding. | Andres Ornelas | |
| 2010-05-26 | fixed broken jstd conf file | Andres Ornelas | |
| 2010-05-25 | added rake task to create a single file for scenario runner | Misko Hevery | |
| 2010-05-25 | fixed collapsed issue | Andres Ornelas | |
| 2010-05-24 | added dsl tests and select method | Andres Ornelas | |
| 2010-05-24 | added error handling on scenario definition | Andres Ornelas | |
| 2010-05-24 | happy | Andres Ornelas Mesta | |
| 2010-05-20 | semi working state | Misko Hevery | |
| 2010-05-20 | basic end to end runner | Misko Hevery | |
| 2010-04-20 | fixes to enable ie | Misko Hevery | |
| 2010-04-19 | lint | Misko Hevery | |
| 2010-03-23 | tweeter demo script | Misko Hevery | |
