aboutsummaryrefslogtreecommitdiffstats
path: root/scenario/widgets.html
AgeCommit message (Collapse)Author
2010-10-19Fix 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-19Significantly 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-22Refactored 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-27fix preventDefault for eventsMisko Hevery
2010-07-02change all attributes from ng- to ng: prefixMisko Hevery
2010-05-24added error handling on scenario definitionAndres Ornelas
2010-05-24happyAndres Ornelas Mesta
2010-05-20basic end to end runnerMisko Hevery
2010-05-10improved handling of text fields when formater fails to prevent clobering of ↵Misko Hevery
field
2010-04-27resources now use browser mockMisko Hevery
2010-04-22tests work under jquery and withoutMisko Hevery
2010-04-21ie6 now passesMisko Hevery
2010-04-20fixes to enable ieMisko Hevery
2010-04-07added $invalidWidget serviceMisko Hevery
2010-04-06few fixes to make tests pass with jqueryMisko Hevery
2010-04-05added hover serviceMisko Hevery
2010-04-03injection is now workingMisko Hevery
2010-04-02radio now works with repeatersMisko Hevery
2010-04-02widgets now work properlyMisko Hevery
2010-04-01work on $location and autobindMisko Hevery
2010-03-26moved all uneeded files out, widgets.html works, tests horribly brokenMisko Hevery
2010-03-15get scenarios running again - open Runner.html in a browser to run themAdam Abrons