blob: 2c3a2c33828c489c28ddd75b9ef945cb9e2a5937 [file] [log] [blame]
Test setRangeText() method is not available in date inputs.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Running tests on input with attributes: {"type":"date"}
element.value = '0123456789XYZ'
PASS element.setRangeText('ABC', 0, 0) threw exception InvalidStateError: Failed to execute 'setRangeText' on 'HTMLInputElement': The input element's type ('date') does not support selection..
PASS element.value is ""
PASS successfullyParsed is true
TEST COMPLETE