-
Notifications
You must be signed in to change notification settings - Fork 1
/
vk_auth_token.side
121 lines (121 loc) · 4.08 KB
/
vk_auth_token.side
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
110
111
112
113
114
115
116
117
118
119
120
121
{
"id": "e200311b-a1dc-43a3-a2c2-7cebe35eba04",
"version": "2.0",
"name": "vk_auth_token",
"url": "https://oauth.vk.com",
"tests": [{
"id": "943b4480-14c8-437a-8332-13ccf6b43be1",
"name": "vk_auth_token",
"commands": [{
"id": "e8f4b630-fe50-4013-af22-f082085907d8",
"comment": "",
"command": "open",
"target": "/authorize?client_id=7907795&scope=friends&redirect_uri=https://oauth.vk.com/blank.html&display=page&response_type=token&revoke=1",
"targets": [],
"value": ""
}, {
"id": "32df52f8-d4f4-4561-8c41-661e167e6b4b",
"comment": "",
"command": "click",
"target": "name=login",
"targets": [
["name=login", "name"],
["css=.oauth_form_input:nth-child(8)", "css:finder"],
["xpath=//input[@name='login']", "xpath:attributes"],
["xpath=//form[@id='login_submit']/div/div/input[7]", "xpath:idRelative"],
["xpath=//input[7]", "xpath:position"]
],
"value": ""
}, {
"id": "443edab8-87f6-4460-92ef-6bc7faf0a737",
"comment": "",
"command": "type",
"target": "name=login",
"targets": [
["name=login", "name"],
["css=.oauth_form_input:nth-child(8)", "css:finder"],
["xpath=//input[@name='login']", "xpath:attributes"],
["xpath=//form[@id='login_submit']/div/div/input[7]", "xpath:idRelative"],
["xpath=//input[7]", "xpath:position"]
],
"value": "email_placeholder"
}, {
"id": "397d7989-f943-43dc-a199-83cbb5710a99",
"comment": "",
"command": "click",
"target": "name=pass",
"targets": [
["name=pass", "name"],
["css=.oauth_form_input:nth-child(10)", "css:finder"],
["xpath=//input[@name='pass']", "xpath:attributes"],
["xpath=//form[@id='login_submit']/div/div/input[8]", "xpath:idRelative"],
["xpath=//input[8]", "xpath:position"]
],
"value": ""
}, {
"id": "b882f13b-373b-46e7-8d3f-96cab0315aea",
"comment": "",
"command": "type",
"target": "name=pass",
"targets": [
["name=pass", "name"],
["css=.oauth_form_input:nth-child(10)", "css:finder"],
["xpath=//input[@name='pass']", "xpath:attributes"],
["xpath=//form[@id='login_submit']/div/div/input[8]", "xpath:idRelative"],
["xpath=//input[8]", "xpath:position"]
],
"value": "pass_placeholder"
}, {
"id": "b42ce4bd-e11f-4300-b516-e81acdedc22a",
"comment": "",
"command": "click",
"target": "id=install_allow",
"targets": [
["id=install_allow", "id"],
["css=#install_allow", "css:finder"],
["xpath=//button[@id='install_allow']", "xpath:attributes"],
["xpath=//form[@id='login_submit']/div/div/button", "xpath:idRelative"],
["xpath=//button", "xpath:position"],
["xpath=//button[contains(.,'Sign in')]", "xpath:innerText"]
],
"value": ""
}, {
"id": "951759de-0bde-4358-838c-d464cda1708d",
"comment": "",
"command": "click",
"target": "css=.button_indent",
"targets": [
["css=.button_indent", "css:finder"],
["xpath=//button[@onclick='return allow(this);']", "xpath:attributes"],
["xpath=//div[@id='oauth_wrap_content']/div[3]/div/div/button", "xpath:idRelative"],
["xpath=//button", "xpath:position"],
["xpath=//button[contains(.,'Allow')]", "xpath:innerText"]
],
"value": ""
}, {
"id": "3b33990e-de29-4596-ba79-98a62e03a2a9",
"comment": "",
"command": "executeScript",
"target": "return window.location.href;",
"targets": [],
"value": "pageurl"
}, {
"id": "fbd3819d-8f58-4282-91d6-d8e86e194c44",
"comment": "",
"command": "echo",
"target": "${pageurl}",
"targets": [],
"value": ""
}]
}],
"suites": [{
"id": "c17fba73-d42e-44d2-bfd7-46b22953d978",
"name": "Default Suite",
"persistSession": false,
"parallel": false,
"timeout": 300,
"tests": ["943b4480-14c8-437a-8332-13ccf6b43be1"]
}],
"urls": ["https://oauth.vk.com/"],
"plugins": []
}