blob: 0de4ce7ad70ad2c78f2ee967725d5e034a22b618 (
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
45
46
47
48
49
50
51
52
53
54
55
56
|
Multiple fields UI of datetime-local 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-19T10:00"
PASS input.value is "2345-09-19T10:00"
PASS input.value is "2345-08-19T10:00"
PASS window.getSelection().rangeCount is 0
==> Focus on the day field.
PASS input.value is "2345-08-20T10:00"
PASS input.value is "2345-08-21T10:00"
PASS input.value is "2345-08-20T10:00"
PASS window.getSelection().rangeCount is 0
==> Focus on the year field.
PASS input.value is "2346-08-20T10:00"
PASS input.value is "2347-08-20T10:00"
PASS input.value is "2346-08-20T10:00"
PASS window.getSelection().rangeCount is 0
==> Focus on the hour field.
PASS input.value is "2346-08-20T11:00"
PASS input.value is "2346-08-20T00:00"
PASS input.value is "2346-08-20T11:00"
PASS window.getSelection().rangeCount is 0
==> Focus on the minute field.
PASS input.value is "2346-08-20T11:01"
PASS input.value is "2346-08-20T11:02"
PASS input.value is "2346-08-20T11:01"
PASS window.getSelection().rangeCount is 0
==> Click on a disabled field.
PASS input.value is "2346-08-20T11:01"
==> Click on a read-only field.
PASS input.value is "2346-08-20T11:01"
==> Click on clear button.
PASS input.value is "2346-08-20T11:01"
PASS input.value is "2346-08-20T11:01"
PASS input.value is ""
|