Skip to content

Commit

Permalink
Minor correction in testcase message
Browse files Browse the repository at this point in the history
  • Loading branch information
Ravisanker E committed Apr 17, 2024
1 parent 0d1f45e commit aaf0e0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/fixtures/dynamic/error-messages.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export function expect(block) {
const f1Message = f1.querySelector('.field-invalid .field-description');
assert.equal(f1Message.textContent, 'Please fill in this field.', 'Required error message for text input');
setValue(block, '#f1', 'abc');
assert.equal(f1.querySelector('.field-invalid .field-description'), undefined, 'Not Required error message for number input');
assert.equal(f1.querySelector('.field-invalid .field-description'), undefined, 'Not Required error message for text input');

// number input error message
const f2 = block.querySelector('#f2').parentElement;
Expand Down

0 comments on commit aaf0e0a

Please sign in to comment.