Manual Tests

Confirm

This is a dynamically created link. When the confirm dialog is cancelled, it should stop processing. When the confirm dialog is confirmed, it should proceed to the href url.
This is a dynamically created submit button. When the confirm dialog is cancelled, it should stop processing. When the confirm dialog is confirmed, it should proceed to the form action url.
Title:
Body:

Automated Tests

Remote

This is a dynamically created link. When the link is clicked it should successfully make an ajax request.
This is a dynamically created link. When the link is clicked it should fail when making an ajax request.
This is a form created with markup. When submit is clicked it should send a get request to /posts
Title:
Body:

Disable With

This is a regular form with child elements to disable. All disable-with elements should be disabled when the form is submitted.
This is a ajax form that should have it's elements reenabled when the ajax request has completed.

Form (Ajaxy)

Title:
Body:

Form (Normal):

Title:
Body:

DEPRECATED: Add explicit require(['dojo/parser']); -- will be removed in version: 2.0
5 tests to run in 2 groups
------------------------------------------------------------
GROUP "data-remote" has 3 tests to run
assertEvents: ajax:success true
assertEvents: ajax:complete true
assertEvents: ajax:after true
PASSED test: success events 307 ms
assertEvents: ajax:failure false
Error: ajax:failure event was not dispatched
ERROR IN: function() { var d = new doh.Deferred(); var fnl = dojo.query('#data-remote-failure-link-container a'); var failureEvents = { 'ajax:failure': false, 'ajax:complete': false, 'ajax:after': false }; listenForEvents(fnl[0], failureEvents); fnl.trigger('click'); assertEvents(d, 300, failureEvents); return d; }
FAILED test: failure events 305 ms
PASSED test: forms 1 ms
Total time for GROUP " data-remote " is 613ms
Total time for GROUP " data-remote " is 613ms
------------------------------------------------------------
GROUP "data-disable-with" has 2 tests to run
PASSED test: disabling form elements on submit 0 ms