-
Notifications
You must be signed in to change notification settings - Fork 4
/
stories.json
109 lines (109 loc) · 10.8 KB
/
stories.json
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
[
{
"name": "missing password",
"events": [
{
"kind": "click",
"targetId": "login"
},
{
"kind": "inputChange",
"targetId": "login",
"value": "a"
},
{
"kind": "click",
"targetId": "btnLogin"
}
],
"htmls": [
"<div class=\"layout\"><div class=\"header\">Bare Bones app</div><div class=\"content\"><div><form class=\"form\" action=\"#\" method=\"POST\"><label for=\"login\" class=\"mt-1 lblPrimary\">Login</label><div class=\"mt-1\"><input type=\"text\" name=\"login\" id=\"login\" autocomplete=\"username\" class=\"inputPrimary\" value=\"\"></div><label for=\"password\" class=\"mt-1 lblPrimary\">Password</label><div class=\"mt-1\"><input type=\"password\" name=\"password\" id=\"password\" autocomplete=\"current-password\" class=\"inputPrimary\" value=\"\"></div><div></div><div class=\"pt-1 text-left\"><button type=\"submit\" id=\"btnLogin\" class=\"btnPrimary\">Login</button></div></form></div></div></div>",
"<div class=\"layout\"><div class=\"header\">Bare Bones app</div><div class=\"content\"><div><form class=\"form\" action=\"#\" method=\"POST\"><label for=\"login\" class=\"mt-1 lblPrimary\">Login</label><div class=\"mt-1\"><input type=\"text\" name=\"login\" id=\"login\" autocomplete=\"username\" class=\"inputPrimary\" value=\"a\"></div><label for=\"password\" class=\"mt-1 lblPrimary\">Password</label><div class=\"mt-1\"><input type=\"password\" name=\"password\" id=\"password\" autocomplete=\"current-password\" class=\"inputPrimary\" value=\"\"></div><div></div><div class=\"pt-1 text-left\"><button type=\"submit\" id=\"btnLogin\" class=\"btnPrimary\">Login</button></div></form></div></div></div>",
"<div class=\"layout\"><div class=\"header\">Bare Bones app</div><div class=\"content\"><div><form class=\"form\" action=\"#\" method=\"POST\"><label for=\"login\" class=\"mt-1 lblPrimary\">Login</label><div class=\"mt-1\"><input type=\"text\" name=\"login\" id=\"login\" autocomplete=\"username\" class=\"inputPrimary\" value=\"a\"></div><label for=\"password\" class=\"mt-1 lblPrimary\">Password</label><div class=\"mt-1\"><input type=\"password\" name=\"password\" id=\"password\" autocomplete=\"current-password\" class=\"inputPrimary\" value=\"\"></div><div><div class=\"redError\">password required!</div></div><div class=\"pt-1 text-left\"><button type=\"submit\" id=\"btnLogin\" class=\"btnPrimary\">Login</button></div></form></div></div></div>"
]
},
{
"name": "missing login",
"events": [
{
"kind": "click",
"targetId": "password"
},
{
"kind": "inputChange",
"targetId": "password",
"value": "a"
},
{
"kind": "click",
"targetId": "btnLogin"
}
],
"htmls": [
"<div class=\"layout\"><div class=\"header\">Bare Bones app</div><div class=\"content\"><div><form class=\"form\" action=\"#\" method=\"POST\"><label for=\"login\" class=\"mt-1 lblPrimary\">Login</label><div class=\"mt-1\"><input type=\"text\" name=\"login\" id=\"login\" autocomplete=\"username\" class=\"inputPrimary\" value=\"\"></div><label for=\"password\" class=\"mt-1 lblPrimary\">Password</label><div class=\"mt-1\"><input type=\"password\" name=\"password\" id=\"password\" autocomplete=\"current-password\" class=\"inputPrimary\" value=\"\"></div><div></div><div class=\"pt-1 text-left\"><button type=\"submit\" id=\"btnLogin\" class=\"btnPrimary\">Login</button></div></form></div></div></div>",
"<div class=\"layout\"><div class=\"header\">Bare Bones app</div><div class=\"content\"><div><form class=\"form\" action=\"#\" method=\"POST\"><label for=\"login\" class=\"mt-1 lblPrimary\">Login</label><div class=\"mt-1\"><input type=\"text\" name=\"login\" id=\"login\" autocomplete=\"username\" class=\"inputPrimary\" value=\"\"></div><label for=\"password\" class=\"mt-1 lblPrimary\">Password</label><div class=\"mt-1\"><input type=\"password\" name=\"password\" id=\"password\" autocomplete=\"current-password\" class=\"inputPrimary\" value=\"a\"></div><div></div><div class=\"pt-1 text-left\"><button type=\"submit\" id=\"btnLogin\" class=\"btnPrimary\">Login</button></div></form></div></div></div>",
"<div class=\"layout\"><div class=\"header\">Bare Bones app</div><div class=\"content\"><div><form class=\"form\" action=\"#\" method=\"POST\"><label for=\"login\" class=\"mt-1 lblPrimary\">Login</label><div class=\"mt-1\"><input type=\"text\" name=\"login\" id=\"login\" autocomplete=\"username\" class=\"inputPrimary\" value=\"\"></div><label for=\"password\" class=\"mt-1 lblPrimary\">Password</label><div class=\"mt-1\"><input type=\"password\" name=\"password\" id=\"password\" autocomplete=\"current-password\" class=\"inputPrimary\" value=\"a\"></div><div><div class=\"redError\">login required!</div></div><div class=\"pt-1 text-left\"><button type=\"submit\" id=\"btnLogin\" class=\"btnPrimary\">Login</button></div></form></div></div></div>"
]
},
{
"name": "login success",
"events": [
{
"kind": "click",
"targetId": "login"
},
{
"kind": "inputChange",
"targetId": "login",
"value": "a"
},
{
"kind": "click",
"targetId": "password"
},
{
"kind": "inputChange",
"targetId": "password",
"value": "a"
},
{
"kind": "click",
"targetId": "btnLogin"
}
],
"htmls": [
"<div class=\"layout\"><div class=\"header\">Bare Bones app</div><div class=\"content\"><div><form class=\"form\" action=\"#\" method=\"POST\"><label for=\"login\" class=\"mt-1 lblPrimary\">Login</label><div class=\"mt-1\"><input type=\"text\" name=\"login\" id=\"login\" autocomplete=\"username\" class=\"inputPrimary\" value=\"\"></div><label for=\"password\" class=\"mt-1 lblPrimary\">Password</label><div class=\"mt-1\"><input type=\"password\" name=\"password\" id=\"password\" autocomplete=\"current-password\" class=\"inputPrimary\" value=\"\"></div><div></div><div class=\"pt-1 text-left\"><button type=\"submit\" id=\"btnLogin\" class=\"btnPrimary\">Login</button></div></form></div></div></div>",
"<div class=\"layout\"><div class=\"header\">Bare Bones app</div><div class=\"content\"><div><form class=\"form\" action=\"#\" method=\"POST\"><label for=\"login\" class=\"mt-1 lblPrimary\">Login</label><div class=\"mt-1\"><input type=\"text\" name=\"login\" id=\"login\" autocomplete=\"username\" class=\"inputPrimary\" value=\"a\"></div><label for=\"password\" class=\"mt-1 lblPrimary\">Password</label><div class=\"mt-1\"><input type=\"password\" name=\"password\" id=\"password\" autocomplete=\"current-password\" class=\"inputPrimary\" value=\"\"></div><div></div><div class=\"pt-1 text-left\"><button type=\"submit\" id=\"btnLogin\" class=\"btnPrimary\">Login</button></div></form></div></div></div>",
"<div class=\"layout\"><div class=\"header\">Bare Bones app</div><div class=\"content\"><div><form class=\"form\" action=\"#\" method=\"POST\"><label for=\"login\" class=\"mt-1 lblPrimary\">Login</label><div class=\"mt-1\"><input type=\"text\" name=\"login\" id=\"login\" autocomplete=\"username\" class=\"inputPrimary\" value=\"a\"></div><label for=\"password\" class=\"mt-1 lblPrimary\">Password</label><div class=\"mt-1\"><input type=\"password\" name=\"password\" id=\"password\" autocomplete=\"current-password\" class=\"inputPrimary\" value=\"a\"></div><div></div><div class=\"pt-1 text-left\"><button type=\"submit\" id=\"btnLogin\" class=\"btnPrimary\">Login</button></div></form></div></div></div>",
"<div class=\"layout\"><div class=\"header\">Bare Bones app</div><div class=\"content\"><div>Success!</div></div></div>"
]
},
{
"name": "hide errors after focus",
"events": [
{
"kind": "click",
"targetId": "login"
},
{
"kind": "inputChange",
"targetId": "login",
"value": "a"
},
{
"kind": "click",
"targetId": "btnLogin"
},
{
"kind": "click",
"targetId": "password"
}
],
"htmls": [
"<div class=\"layout\"><div class=\"header\">Bare Bones app</div><div class=\"content\"><div><form class=\"form\" action=\"#\" method=\"POST\"><label for=\"login\" class=\"mt-1 lblPrimary\">Login</label><div class=\"mt-1\"><input type=\"text\" name=\"login\" id=\"login\" autocomplete=\"username\" class=\"inputPrimary\" value=\"\"></div><label for=\"password\" class=\"mt-1 lblPrimary\">Password</label><div class=\"mt-1\"><input type=\"password\" name=\"password\" id=\"password\" autocomplete=\"current-password\" class=\"inputPrimary\" value=\"\"></div><div></div><div class=\"pt-1 text-left\"><button type=\"submit\" id=\"btnLogin\" class=\"btnPrimary\">Login</button></div></form></div></div></div>",
"<div class=\"layout\"><div class=\"header\">Bare Bones app</div><div class=\"content\"><div><form class=\"form\" action=\"#\" method=\"POST\"><label for=\"login\" class=\"mt-1 lblPrimary\">Login</label><div class=\"mt-1\"><input type=\"text\" name=\"login\" id=\"login\" autocomplete=\"username\" class=\"inputPrimary\" value=\"a\"></div><label for=\"password\" class=\"mt-1 lblPrimary\">Password</label><div class=\"mt-1\"><input type=\"password\" name=\"password\" id=\"password\" autocomplete=\"current-password\" class=\"inputPrimary\" value=\"\"></div><div></div><div class=\"pt-1 text-left\"><button type=\"submit\" id=\"btnLogin\" class=\"btnPrimary\">Login</button></div></form></div></div></div>",
"<div class=\"layout\"><div class=\"header\">Bare Bones app</div><div class=\"content\"><div><form class=\"form\" action=\"#\" method=\"POST\"><label for=\"login\" class=\"mt-1 lblPrimary\">Login</label><div class=\"mt-1\"><input type=\"text\" name=\"login\" id=\"login\" autocomplete=\"username\" class=\"inputPrimary\" value=\"a\"></div><label for=\"password\" class=\"mt-1 lblPrimary\">Password</label><div class=\"mt-1\"><input type=\"password\" name=\"password\" id=\"password\" autocomplete=\"current-password\" class=\"inputPrimary\" value=\"\"></div><div><div class=\"redError\">password required!</div></div><div class=\"pt-1 text-left\"><button type=\"submit\" id=\"btnLogin\" class=\"btnPrimary\">Login</button></div></form></div></div></div>",
"<div class=\"layout\"><div class=\"header\">Bare Bones app</div><div class=\"content\"><div><form class=\"form\" action=\"#\" method=\"POST\"><label for=\"login\" class=\"mt-1 lblPrimary\">Login</label><div class=\"mt-1\"><input type=\"text\" name=\"login\" id=\"login\" autocomplete=\"username\" class=\"inputPrimary\" value=\"a\"></div><label for=\"password\" class=\"mt-1 lblPrimary\">Password</label><div class=\"mt-1\"><input type=\"password\" name=\"password\" id=\"password\" autocomplete=\"current-password\" class=\"inputPrimary\" value=\"\"></div><div></div><div class=\"pt-1 text-left\"><button type=\"submit\" id=\"btnLogin\" class=\"btnPrimary\">Login</button></div></form></div></div></div>"
]
}
]