feat(forms): add isolated Form A consultation testing
This commit is contained in:
25 files changed
+1046
-253
No files matched your search
@@ -49,7 +49,8 @@ test('Jotform handoff preserves AIA form tokens and accessible native controls',
|
||||
const css = read('integrations/jotform/aia-form-a.css');
|
||||
const guide = read('integrations/jotform/README.md');
|
||||
for (const value of ['#ffbd59', '#ff914d', '#254080', '#fcf9f5', '#edeef3']) assert.match(css, new RegExp(value));
|
||||
assert.match(css, /#form \.form-submit-button/);
|
||||
assert.match(css, /\.form-all \.form-submit-button/);
|
||||
assert.match(css, /\.form-all button\[type="submit"\]/);
|
||||
assert.match(css, /:focus-visible/);
|
||||
assert.doesNotMatch(css, /https?:\/\/|@import|url\(/i);
|
||||
assert.match(guide, /formContext/);
|
||||
|
||||
Reference in new issue
Block a user