Skip to content

Commit b898576

Browse files
committed
fix the ci system
1 parent d00e54a commit b898576

File tree

2 files changed

+8
-82
lines changed

2 files changed

+8
-82
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"private": true,
66
"scripts": {
77
"start": "cd packages/selenium-ide && pnpm run start",
8+
"start:test-site": "http-server -p 8080 ./tests/static",
89
"build": "run-s build:ts build:ide",
910
"build:electron": "pnpm run --stream --filter @seleniumhq/selenium-ide build:electron",
1011
"build:ide": "pnpm run --stream --filter @seleniumhq/selenium-ide build:webpack",

tests/examples/plugin.side

Lines changed: 7 additions & 82 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"id": "8e43685a-112a-455b-a6b2-748a19071100",
33
"version": "2.0",
44
"name": "Plugin",
5-
"url": "https://www.google.com",
5+
"url": "http://localhost:8080/",
66
"tests": [
77
{
88
"id": "58cc1d1f-7920-47ee-a0eb-336a3ebdf069",
@@ -12,7 +12,7 @@
1212
"id": "161321ce-3c63-4283-989e-d20117a97eb8",
1313
"comment": "",
1414
"command": "open",
15-
"target": "/webhp",
15+
"target": "/mouse/down.html",
1616
"targets": [],
1717
"value": ""
1818
},
@@ -24,7 +24,7 @@
2424
},
2525
{
2626
"command": "customClick",
27-
"target": "css=.lnXdpd",
27+
"target": "id=a",
2828
"value": "",
2929
"insertBeforeLastCommand": false,
3030
"frameLocation": "root",
@@ -40,88 +40,13 @@
4040
]
4141
]
4242
},
43-
{
44-
"id": "d6702ef2-8787-4252-9861-5aa28d65ab4e",
45-
"comment": "",
46-
"command": "type",
47-
"target": "name=q",
48-
"targets": [
49-
[
50-
"id=lst-ib",
51-
"id"
52-
],
53-
[
54-
"name=q",
55-
"name"
56-
],
57-
[
58-
"css=#lst-ib",
59-
"css"
60-
],
61-
[
62-
"xpath=//input[@id='lst-ib']",
63-
"xpath:attributes"
64-
],
65-
[
66-
"xpath=//div[@id='gs_lc0']/input",
67-
"xpath:idRelative"
68-
],
69-
[
70-
"xpath=//div[2]/div/input",
71-
"xpath:position"
72-
]
73-
],
74-
"value": "selenium ide"
75-
},
76-
{
77-
"id": "1b4d1d17-2e2e-4557-9cfa-260189c4b6a7",
78-
"comment": "",
79-
"command": "sendKeys",
80-
"target": "name=q",
81-
"targets": [
82-
[
83-
"id=lst-ib",
84-
"id"
85-
],
86-
[
87-
"name=q",
88-
"name"
89-
],
90-
[
91-
"css=#lst-ib",
92-
"css"
93-
],
94-
[
95-
"xpath=//input[@id='lst-ib']",
96-
"xpath:attributes"
97-
],
98-
[
99-
"xpath=//div[@id='gs_lc0']/input",
100-
"xpath:idRelative"
101-
],
102-
[
103-
"xpath=//div[2]/div/input",
104-
"xpath:position"
105-
]
106-
],
107-
"value": "${KEY_ENTER}",
108-
"isBreakpoint": false
109-
},
110-
{
111-
"id": "5628fe89-f130-40cb-b52e-244a41cd6516",
112-
"comment": "",
113-
"command": "click",
114-
"target": "css=.g a",
115-
"targets": [],
116-
"value": ""
117-
},
11843
{
11944
"id": "fa9bae47-4a7e-4e92-9e02-e6863c13aaf1",
12045
"comment": "",
121-
"command": "assertTitle",
122-
"target": "Selenium IDE · Open source record and playback test automation for the web",
46+
"command": "waitForText",
47+
"target": "id=a",
12348
"targets": [],
124-
"value": ""
49+
"value": "down"
12550
}
12651
]
12752
}
@@ -142,6 +67,6 @@
14267
"https://www.google.com/"
14368
],
14469
"plugins": [
145-
"../../packages/side-example-suite/dist/plugins/custom-click/index.js"
70+
"../../packages/side-example-suite/dist/plugins/custom-click"
14671
]
14772
}

0 commit comments

Comments
 (0)