aboutsummaryrefslogtreecommitdiffstats
path: root/src/scenario
AgeCommit message (Collapse)Author
2012-02-28docs(forms): Update API docs for formsVojta Jina
- API forms (ng:model + controller, form + controller) - fix some broken links - ng:change, ng:model-instant
2012-02-28refactor(forms): Even better formsVojta Jina
- remove $formFactory completely - remove parallel scope hierarchy (forms, widgets) - use new compiler features (widgets, forms are controllers) - any directive can add formatter/parser (validators, convertors) Breaks no custom input types Breaks removed integer input type Breaks remove list input type (ng-list directive instead) Breaks inputs bind only blur event by default (added ng:bind-change directive)
2012-01-25docs(compiler): update the compiler docsMisko Hevery
2012-01-25refactor(directives): connect new compilerMisko Hevery
- turn everything into a directive
2012-01-23refactor(scope): separate controller from scopeVojta Jina
Controller is standalone object, created using "new" operator, not messed up with scope anymore. Instead, related scope is injected as $scope. See design proposal: https://docs.google.com/document/pub?id=1SsgVj17ec6tnZEX3ugsvg0rVVR11wTso5Md-RdEmC0k Closes #321 Closes #425 Breaks controller methods are not exported to scope automatically Breaks Scope#$new() does not take controller as argument anymore
2012-01-12refactor(module): strict separation between module-config / app-runtimeMisko Hevery
2012-01-10feat(module): new module loaderMisko Hevery
2011-11-14style(angularPublic): move public export definition to AnuglarPublic.jsMisko Hevery
2011-11-14refactor(injector): $injector is no longer a function.Misko Hevery
- $injector('abc') -> $injector.get('abc'); - $injector(fn) -> $injector.invoke(null, fn);
2011-11-14style(docs): make jslint happy - fix some warningsVojta Jina
2011-11-14fix(doc) cleanup all api doc link warningsMisko Hevery
2011-11-14doc(AUTO, NG_MOCK): Documenting the AUTO and NG_MOCK moduleMisko Hevery
2011-11-14chore(scenario tests): make scenario tests pass againMisko Hevery
2011-11-14refactor(scenario): fix scenario bootstrap & publish injector for inspectionMisko Hevery
2011-11-14refactor(injector): switch to injector 2.0 introduce modulesMisko Hevery
2011-11-14refactor(injector): turn scope into a serviceMisko Hevery
- turn scope into a $rootScope service. - injector is now a starting point for creating angular application. - added inject() method which wraps jasmine its/beforeEach/afterEach, and which allows configuration and injection of services. - refactor tests to use inject() where possible BREAK: - removed angular.scope() method
2011-10-31fix(angular-bootstrap): fix boostrap scripts that broke w\ 5a2dcb9aIgor Minar
Commit 5a2dcb9a doesn't properly modify angular-boostrap.js. This fix resolves issues and makes both the regular and scenario version of angular-boostrap.js functional.
2011-10-26fix(scenario.dsl): Fix dsl for $locationVojta Jina
New $location does not have hashSearch, hashPath. The old dsl was mixing $location / window.location so this solves the problem as well...
2011-10-24fix(scenario): Change title to "AngularJS"Vojta Jina
2011-10-13feat(scenario): allow key pressing when triggering browser eventVojta Jina
Add parameter to our browserTriger function to allow specifying which keys are pressed. Note, this does not work on IE<9 !
2011-10-11chore(formating): clean code to be function() {Misko Hevery
2011-10-11feat(forms): new and improved formsMisko Hevery
2011-09-26fix(scenario): workaround for FF6 dispatchEvent issue #684208Igor Minar
2011-09-26Revert "fix(scenario): temporary fix for FF6"Igor Minar
This reverts commit aac68bf2ba2dcdf0b22fa4f15ea49672cb06328d.
2011-09-16fix(scenarioRunner): navigateTo should use prop('contentWindow')Igor Minar
... instead of attr('contentWindow')
2011-09-16feat(scenarioRunner): adding support for element().prop()Igor Minar
since jQuery 1.6.4 attr() focuses only on work with element attributes and doesn't deal well with element properties, so adding prop() support is required for getting many e2e tests to pass after upgrading the runner to jQuery 1.6.4.
2011-09-16fix(scenario dsl): jQuery getters must have no valueIgor Minar
jQuery now requires getter methods to have no value at all - they do arguments.length check to identify getters vs setters.
2011-09-16feat (jquery): upgrade everything to jQuery 1.6.4Igor Minar
Closes #556
2011-09-08fix(scenario): temporary fix for FF6Vojta Jina
https://bugzilla.mozilla.org/show_bug.cgi?id=684208
2011-09-08fix(scenario): do not navigate if click event was cancelledVojta Jina
This is jQuery incompatible hack. But we were doing monkey patching there anyway... `$(...).trigger('click')` returns an array of return values, so that scenario runner knows, whether the event default action was cancelled. Without this fix, scenario runner was doing navigation even if JS code called `event.preventDefault()`. Note, this does not work in FF6
2011-09-08feat(scenario): browserTrigger returns false if preventDefault()Vojta Jina
https://developer.mozilla.org/en/DOM/element.dispatchEvent dispatchEvent method returns false if at least one of the event handlers called preventDefault(), true otherwise. It's helpful when browserTrigger method returns this value, as we can assert, whether the default operation was cancelled or not.
2011-08-15style(*): remove extra semicolonsIgor Minar
2011-08-02feat(scope): new and improved scope implementationMisko Hevery
- Speed improvements (about 4x on flush phase) - Memory improvements (uses no function closures) - Break $eval into $apply, $dispatch, $flush - Introduced $watch and $observe Breaks angular.equals() use === instead of == Breaks angular.scope() does not take parent as first argument Breaks scope.$watch() takes scope as first argument Breaks scope.$set(), scope.$get are removed Breaks scope.$config is removed Breaks $route.onChange callback has not "this" bounded
2011-07-22chore(license): update license headers + add version numIgor Minar
- fixed copyright overnship - updated copyright years - added @license tag so that closure compiler preserves the header - added version number into headers (finally!)
2011-07-18feat(strict mode): adding strict mode flag to all js filesIgor Minar
the flag must be in all src and test files so that we get the benefit of running in the strict mode even in jstd the following script was used to modify all files: for file in `find src test -name "*.js"`; do echo -e "'use strict';\n" > temp.txt cat $file >> temp.txt mv temp.txt $file done
2011-07-18refactor($browser): hide startPoll and poll methodsDiPeng
Breaks $browser.poll() method is moved inline to $browser.startpoll() Breaks $browser.startpoll() method is made private Refactor tests to reflect updated browser API Closes #387
2011-06-15Fix test for scenario.Application - should remove old iframeVojta Jina
This behavior was changed by e83465c362c53ac7451183a775456f3112262f6e So this commit should have been part of e83465c362c53ac7451183a775456f3112262f6e Also removed hiding and navigating to about:blank as it makes no sense now...
2011-06-15Fix scenario runner on IE7, IE8Misko Hevery
* add ng:disabled, ng:checked, ng:multiple, ng:readonly, ng:selected * fetch fixed cookbook/advancedform (use ng:disabled) * fire keydown instead of change on input * remove frame when test finishes
2011-06-06added input#val methodDi Peng
Closes #237
2011-06-05renamed $pause to $sleep AND $wait to $pauseDi Peng
Closes #207
2011-05-19JSTD adapter for running e2e testsVojta Jina
Couple of changes into angular.scenario runner: - add autotest config (runs tests when document ready) - update ObjectModel (forwards events) - use only one ObjectModel instance for all outputters - expose error msg and line number in ObjectModel.Spec and ObjectModel.Step - fix generating spec.ids - fix 'html' output so that it does not mutate ObjectModel Couple of changes into docs / generator: - rename copy -> copyTpl - move docs/static into docs/examples (to avoid conflict with jstd proxy) Running all docs e2e tests: ======================================================== 1/ compile angular-scenario, jstd-scenario-adapter >> rake compile 2/ build docs >> rake docs 3/ start jstd server >> ./server-scenario.sh 4/ capture some browser 5/ run node server to serve static content >> node ../lib/nodeserver/server.js 6/ run tests >> ./test-scenario.sh
2011-05-19Don't check url (by HEAD request) before navigateToVojta Jina
Removed angular.scenario.Application.checkUrlStatus_ method and these tests: * should call error handler if status check fails * should perform a HEAD request to verify file existence * should call error handler if status code is less than 200 * should call error handler if status code is greater than 299 * should call error handler if status code is greater than 299
2011-04-25Fix some typos, missing semi-colons, etc...Vojta Jina
This is a combination of 4 commits: * Fix some small typos, missing semi-colons, etc. * Fix comment for angular.scenario.SpecRunner.run method * Fixed some missing semi-colons in cookbook * Fixed missing semi-colon in nodeserver/server.js
2011-04-22fix typo in scenario jsdocsIgor Minar
2011-04-11fix e2e runner's navigateTo when url contains # fragmentIgor Minar
2011-04-09fix build for IE9Igor Minar
all unit tests now pass under IE9
2011-04-08fix e2e runner's browser.location methodsIgor Minar
when we stopped exposing $location service on the root scope the scenario runner was not modified to access the $location service via $service The following apis were affected: - browser().location().hashSearch() - browser().location().hashPath() - browser().location().search()
2011-02-16reformated multiline trinary expressions to have a leading ?/:.Misko Hevery
2011-02-16rewrite of JQuery lite implementation, which now better supports selected setsMisko Hevery
2011-02-16allow jquery to be declared after angular in the script loading orderMisko Hevery