Skip to content

Commit 635eb52

Browse files
committed
Merge branch 'Phase4-TeamRolEmiSeriousWorks' of https://github.com/hurricanemark/Weather_Report_NodeJS_EJS_Express_VisualCrossing_API into Phase4-TeamRolEmiSeriousWorks
2 parents 6c6be6c + 0a753b5 commit 635eb52

File tree

1 file changed

+158
-0
lines changed

1 file changed

+158
-0
lines changed

tests/SeleniumTestWeatherApp.side

Lines changed: 158 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,158 @@
1+
{
2+
"id": "37e3302d-1107-499e-adcb-b32ef51244fd",
3+
"version": "2.0",
4+
"name": "WeatherApp",
5+
"url": "http://localhost:3432",
6+
"tests": [{
7+
"id": "e384efa3-4906-4b4a-9da9-820ea5d97679",
8+
"name": "FrontalTests",
9+
"commands": [{
10+
"id": "fd9419bd-5f0a-4b07-ab99-810fb27b139e",
11+
"comment": "",
12+
"command": "open",
13+
"target": "/",
14+
"targets": [],
15+
"value": ""
16+
}, {
17+
"id": "10a206b3-3293-468e-9456-08341d3d4d98",
18+
"comment": "",
19+
"command": "setWindowSize",
20+
"target": "925x691",
21+
"targets": [],
22+
"value": ""
23+
}, {
24+
"id": "30254ada-e4aa-4863-a2a7-6422987fe7ca",
25+
"comment": "",
26+
"command": "click",
27+
"target": "css=.active:nth-child(1) > .nav-link",
28+
"targets": [
29+
["css=.active:nth-child(1) > .nav-link", "css:finder"],
30+
["xpath=//div[@id='navbarToggler']/ul/li/a", "xpath:idRelative"],
31+
["xpath=//a[contains(@href, '/weatherbit')]", "xpath:href"],
32+
["xpath=//li/a", "xpath:position"]
33+
],
34+
"value": ""
35+
}, {
36+
"id": "6624a318-d91c-4bcc-a506-a51c37a21c4c",
37+
"comment": "",
38+
"command": "click",
39+
"target": "css=.btn",
40+
"targets": [
41+
["css=.btn", "css:finder"],
42+
["xpath=//input[@value='Pinpoint Weather']", "xpath:attributes"],
43+
["xpath=//input[4]", "xpath:position"]
44+
],
45+
"value": ""
46+
}, {
47+
"id": "5991b0de-b214-4d55-be6e-efd2a6344152",
48+
"comment": "",
49+
"command": "click",
50+
"target": "linkText=ExchangeRate",
51+
"targets": [
52+
["linkText=ExchangeRate", "linkText"],
53+
["css=.active:nth-child(2) > .nav-link", "css:finder"],
54+
["xpath=//a[contains(text(),'ExchangeRate')]", "xpath:link"],
55+
["xpath=//div[@id='navbarToggler']/ul/li[2]/a", "xpath:idRelative"],
56+
["xpath=//a[contains(@href, '/exchange')]", "xpath:href"],
57+
["xpath=//li[2]/a", "xpath:position"],
58+
["xpath=//a[contains(.,'ExchangeRate')]", "xpath:innerText"]
59+
],
60+
"value": ""
61+
}, {
62+
"id": "113468ca-aca6-4993-a724-1bb6a7193488",
63+
"comment": "",
64+
"command": "click",
65+
"target": "css=.btn",
66+
"targets": [
67+
["css=.btn", "css:finder"],
68+
["xpath=//input[@value='Convert']", "xpath:attributes"],
69+
["xpath=//input[2]", "xpath:position"]
70+
],
71+
"value": ""
72+
}, {
73+
"id": "e991921f-859b-483d-a052-d11ea98ef420",
74+
"comment": "",
75+
"command": "click",
76+
"target": "linkText=About",
77+
"targets": [
78+
["linkText=About", "linkText"],
79+
["css=.nav-item:nth-child(3) > .nav-link", "css:finder"],
80+
["xpath=//a[contains(text(),'About')]", "xpath:link"],
81+
["xpath=//div[@id='navbarToggler']/ul/li[3]/a", "xpath:idRelative"],
82+
["xpath=//a[contains(@href, '/about')]", "xpath:href"],
83+
["xpath=//li[3]/a", "xpath:position"],
84+
["xpath=//a[contains(.,'About')]", "xpath:innerText"]
85+
],
86+
"value": ""
87+
}, {
88+
"id": "af922f68-b60e-4865-bb8e-22f41252ccb9",
89+
"comment": "",
90+
"command": "click",
91+
"target": "linkText=Profile",
92+
"targets": [
93+
["linkText=Profile", "linkText"],
94+
["css=.nav-item:nth-child(1) > .active", "css:finder"],
95+
["xpath=//a[contains(text(),'Profile')]", "xpath:link"],
96+
["xpath=//div[@id='navbarToggler']/ul[2]/li/a", "xpath:idRelative"],
97+
["xpath=//a[contains(@href, '/profile')]", "xpath:href"],
98+
["xpath=//ul[2]/li/a", "xpath:position"],
99+
["xpath=//a[contains(.,'Profile')]", "xpath:innerText"]
100+
],
101+
"value": ""
102+
}, {
103+
"id": "be541833-d47f-4f5f-89d9-c96de8e494c1",
104+
"comment": "",
105+
"command": "click",
106+
"target": "linkText=Logout",
107+
"targets": [
108+
["linkText=Logout", "linkText"],
109+
["css=.nav-item:nth-child(2) > .active", "css:finder"],
110+
["xpath=//a[contains(text(),'Logout')]", "xpath:link"],
111+
["xpath=//div[@id='navbarToggler']/ul[2]/li[2]/a", "xpath:idRelative"],
112+
["xpath=//a[contains(@href, '/auth/logout')]", "xpath:href"],
113+
["xpath=//ul[2]/li[2]/a", "xpath:position"],
114+
["xpath=//a[contains(.,'Logout')]", "xpath:innerText"]
115+
],
116+
"value": ""
117+
}, {
118+
"id": "6dd6e27f-02ad-455e-a0c1-84c73568fadb",
119+
"comment": "",
120+
"command": "click",
121+
"target": "linkText=Login",
122+
"targets": [
123+
["linkText=Login", "linkText"],
124+
["css=.nav-item > .active", "css:finder"],
125+
["xpath=//a[contains(text(),'Login')]", "xpath:link"],
126+
["xpath=//div[@id='navbarToggler']/ul[2]/li[2]/a", "xpath:idRelative"],
127+
["xpath=//a[contains(@href, '/auth/login')]", "xpath:href"],
128+
["xpath=//ul[2]/li[2]/a", "xpath:position"],
129+
["xpath=//a[contains(.,'Login')]", "xpath:innerText"]
130+
],
131+
"value": ""
132+
}, {
133+
"id": "271e8f29-6615-4236-bbdc-87b2d2c11e24",
134+
"comment": "",
135+
"command": "click",
136+
"target": "linkText=Google+",
137+
"targets": [
138+
["linkText=Google+", "linkText"],
139+
["css=.btn", "css:finder"],
140+
["xpath=//a[contains(text(),'Google+')]", "xpath:link"],
141+
["xpath=//a[contains(@href, '/auth/google')]", "xpath:href"],
142+
["xpath=//main/li/a", "xpath:position"],
143+
["xpath=//a[contains(.,'Google+')]", "xpath:innerText"]
144+
],
145+
"value": ""
146+
}]
147+
}],
148+
"suites": [{
149+
"id": "9b35557c-d955-459d-a656-c0abceb1e8dc",
150+
"name": "Default Suite",
151+
"persistSession": false,
152+
"parallel": false,
153+
"timeout": 300,
154+
"tests": ["e384efa3-4906-4b4a-9da9-820ea5d97679"]
155+
}],
156+
"urls": ["http://localhost:3432/"],
157+
"plugins": []
158+
}

0 commit comments

Comments
 (0)