Add support for Pa11y actions (#176)

This commit is contained in:
Rowan Manning
2017-01-27 10:58:48 +00:00
committed by GitHub
parent acba762a66
commit 28a0a861f3
7 changed files with 63 additions and 2 deletions

View File

@@ -70,6 +70,11 @@ describe('GET /new', function() {
assert.strictEqual(field.attr('value'), '');
});
it('should have an "actions" field', function() {
const field = this.form.find('textarea[name=actions]').eq(0);
assert.isDefined(field);
});
it('should have a "username" field', function() {
const field = this.form.find('input[name=username]').eq(0);
assert.isDefined(field);