| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2011-06-17 | Remove obsolete scenario folder | Vojta Jina | |
| * moved scenario e2e tests in test/scenario/e2e folder * remove $location test | |||
| 2010-10-26 | fixes IE related failures, and form submit event handling in ie | Misko Hevery | |
| 2010-10-26 | Lots of bug fixes in the scenario runner and a bunch of new features. | Elliott Sprehn | |
| - By default the runner now creates multiple output formats as it runs. Nodes are created in the DOM with ids: json, xml, and html. ex. $('#json').html() => json output of the runner ex. $('#xml').html() => json output of the runner $result is also an object tree result. The permitted formats are html,json,xml,object. If you don't want certain formats you can select specific ones with the new ng:scenario-output attribute on the script tag. <script src="angular-scenario.js" ng:scenario-output="xml,json"> - Added element(...).count() that returns the number of matching elements for the selector. - repeater(...).count() now returns 0 if no elements matched which can be used to check if a repeater is empty. - Added toBe() matcher that does strict equality with === - Implement iit and ddescribe. If iit() is used instead of it() then only that test will run. If ddescribe() is used instead of describe() them only it() statements inside of it will run. Several iit/ddescribe() blocks can be used to run isolated tests. - Implement new event based model for SpecRunner. You can now listen for events in the runner. This is useful for writing your own UI or connecting a remote process (ex. WebDriver). Event callbacks execute on the Runner instance. Events, if fired, will always be in the below order. All events always happen except for Failure and Error events which only happen in error conditions. Events: RunnerBegin SpecBegin(spec) StepBegin(spec, step) StepError(spec, step, error) StepFailure(spec, step, error) StepEnd(spec, step) SpecError(spec, step, error) SpecEnd(spec) RunnerEnd - Only allow the browser to repaint every 10 steps. Cuts 700ms off Firefox in benchmark, 200ms off Chrome. - Bug Fix: Manually navigate anchors on click since trigger wont work in Firefox. | |||
| 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-09-22 | Refactored the Browser: | Misko Hevery | |
| - change from using prototype to inner functions to help with better compression - removed watchers (url/cookie) and introduced a poller concept - moved the checking of URL and cookie into services which register with poolers Benefits: - Smaller minified file - can call $browser.poll() from tests to simulate polling - single place where setTimeout needs to be tested - More testable $browser | |||
| 2010-07-27 | fix preventDefault for events | Misko Hevery | |
| 2010-07-02 | change all attributes from ng- to ng: prefix | Misko Hevery | |
| 2010-05-24 | added error handling on scenario definition | Andres Ornelas | |
| 2010-05-24 | happy | Andres Ornelas Mesta | |
| 2010-05-20 | basic end to end runner | Misko Hevery | |
| 2010-05-10 | improved handling of text fields when formater fails to prevent clobering of ↵ | Misko Hevery | |
| field | |||
| 2010-04-27 | resources now use browser mock | Misko Hevery | |
| 2010-04-22 | tests work under jquery and without | Misko Hevery | |
| 2010-04-21 | ie6 now passes | Misko Hevery | |
| 2010-04-20 | fixes to enable ie | Misko Hevery | |
| 2010-04-07 | added $invalidWidget service | Misko Hevery | |
| 2010-04-06 | few fixes to make tests pass with jquery | Misko Hevery | |
| 2010-04-05 | added hover service | Misko Hevery | |
| 2010-04-03 | injection is now working | Misko Hevery | |
| 2010-04-02 | radio now works with repeaters | Misko Hevery | |
| 2010-04-02 | widgets now work properly | Misko Hevery | |
| 2010-04-01 | work on $location and autobind | Misko Hevery | |
| 2010-03-26 | moved all uneeded files out, widgets.html works, tests horribly broken | Misko Hevery | |
| 2010-03-15 | get scenarios running again - open Runner.html in a browser to run them | Adam Abrons | |
