blob: 13016a9fbd34a40be87a461a37ef3b9467ee955e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
Multiple fields UI of date input type with mouse events
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Please run this with DRT or WTR.
Test following mouse actions:
Mouse click to focus each of sub-fields
Mouse click on the spin button to update each of sub-fields
PASS successfullyParsed is true
TEST COMPLETE
==> Focus on the month field.
PASS input.value is "2345-08-19"
PASS input.value is "2345-09-19"
PASS input.value is "2345-08-19"
PASS window.getSelection().rangeCount is 0
==> Focus on the day field.
PASS input.value is "2345-08-20"
PASS input.value is "2345-08-21"
PASS input.value is "2345-08-20"
PASS window.getSelection().rangeCount is 0
==> Focus on the year field.
PASS input.value is "2346-08-20"
PASS input.value is "2347-08-20"
PASS input.value is "2346-08-20"
PASS window.getSelection().rangeCount is 0
==> Click on a disabled field.
PASS input.value is "2346-08-20"
==> Click on a read-only field.
PASS input.value is "2346-08-20"
==> Click on clear button.
PASS input.value is "2346-08-20"
PASS input.value is "2346-08-20"
PASS input.value is ""
|