annotate client/tests/e2e/specs/import.js @ 4643:a1a9b1eab57c stree-experiment

Use append/slicing trick to simplify tree traversals.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Fri, 11 Oct 2019 23:46:35 +0200
parents f90f2fd94fbc
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2268
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
1 /* This is Free Software under GNU Affero General Public License v >= 3.0
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
2 * without warranty, see README.md and license for details.
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
3 *
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
4 * SPDX-License-Identifier: AGPL-3.0-or-later
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
5 * License-Filename: LICENSES/AGPL-3.0.txt
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
6 *
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
7 * Copyright (C) 2018 by via donau
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
8 * – Österreichische Wasserstraßen-Gesellschaft mbH
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
9 * Software engineering by Intevation GmbH
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
10 *
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
11 * Author(s):
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
12 * Thomas Junk <thomas.junk@intevation.de>
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
13 */
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
14
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
15 // For authoring Nightwatch tests, see
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
16 // http://nightwatchjs.org/guide#usage
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
17
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
18 module.exports = {
2931
f90f2fd94fbc added regression test for protocols
Thomas Junk <thomas.junk@intevation.de>
parents: 2271
diff changeset
19 "@disabled": true,
2268
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
20 "Bottleneck import": browser => {
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
21 browser
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
22 .url(process.env.VUE_DEV_SERVER_URL)
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
23 .waitForElementVisible("#app", 5000)
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
24 .setValue("input[id='inputUsername']", "sophie")
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
25 .setValue("input[id='inputPassword']", "so2Phie4")
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
26 .click("button[type='submit']")
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
27 .pause(1000)
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
28 .click(".menubutton")
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
29 .pause(1000)
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
30 .click("a[href='#/importschedule']")
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
31 .pause(600)
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
32 .click(".newbutton")
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
33 .pause(600)
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
34 .click("#importtype option:nth-child(1)")
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
35 .pause(600)
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
36 .setValue(
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
37 "input[type='url']",
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
38 "https://openservices.doris-info.at/FIS/svc/BottleneckService_v3_0.svc"
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
39 )
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
40 .click(".trigger")
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
41 .click("button[type='submit']")
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
42 .end();
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
43 },
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
44 "Available fairwaydepth": browser => {
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
45 browser
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
46 .url(process.env.VUE_DEV_SERVER_URL)
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
47 .waitForElementVisible("#app", 5000)
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
48 .setValue("input[id='inputUsername']", "sophie")
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
49 .setValue("input[id='inputPassword']", "so2Phie4")
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
50 .click("button[type='submit']")
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
51 .pause(1000)
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
52 .click(".menubutton")
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
53 .pause(1000)
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
54 .click("a[href='#/importschedule']")
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
55 .pause(600)
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
56 .click(".newbutton")
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
57 .pause(600)
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
58 .click("#importtype option:nth-child(4)")
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
59 .pause(600)
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
60 .setValue(
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
61 "input[type='url']",
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
62 "https://openservices.doris-info.at/FIS/svc/FairwayAvailabilityService_v3_0.svc"
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
63 )
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
64 .click(".trigger")
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
65 .click("button[type='submit']")
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
66 .end();
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
67 },
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
68 "Gauge measurement": browser => {
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
69 browser
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
70 .url(process.env.VUE_DEV_SERVER_URL)
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
71 .waitForElementVisible("#app", 5000)
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
72 .setValue("input[id='inputUsername']", "sophie")
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
73 .setValue("input[id='inputPassword']", "so2Phie4")
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
74 .click("button[type='submit']")
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
75 .pause(1000)
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
76 .click(".menubutton")
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
77 .pause(1000)
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
78 .click("a[href='#/importschedule']")
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
79 .pause(600)
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
80 .click(".newbutton")
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
81 .pause(600)
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
82 .click("#importtype option:nth-child(3)")
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
83 .pause(600)
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
84 .setValue(
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
85 "input[type='url']",
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
86 "https://openservices.doris-info.at/FIS/svc/NtsWaterlevelService_v2_0_4_0.svc"
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
87 )
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
88 .click(".trigger")
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
89 .click("button[type='submit']")
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
90 .end();
2271
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
91 },
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
92 "Import Fairway Dimensions": browser => {
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
93 browser
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
94 .url(process.env.VUE_DEV_SERVER_URL)
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
95 .waitForElementVisible("#app", 5000)
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
96 .setValue("input[id='inputUsername']", "sophie")
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
97 .setValue("input[id='inputPassword']", "so2Phie4")
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
98 .click("button[type='submit']")
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
99 .pause(1000)
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
100 .click(".menubutton")
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
101 .pause(1000)
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
102 .click("a[href='#/importschedule']")
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
103 .pause(600)
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
104 .click(".newbutton")
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
105 .pause(600)
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
106 .click("#importtype option:nth-child(6)")
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
107 .pause(600)
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
108 .setValue(
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
109 "input[type='url']",
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
110 "https://service.d4d-portal.info/wamos/wfs"
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
111 )
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
112 .setValue(".featuretype", "ws-wamos:hydro_fairwy")
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
113 .setValue(".sortby", "hydro_scamin")
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
114 .setValue(".depth", "250")
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
115 .setValue(".minwidth", "80")
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
116 .setValue(".maxwidth", "150")
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
117 .setValue(".sourceorganization", "D4D Portal")
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
118 .click(".trigger")
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
119 .click("button[type='submit']")
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
120 .end();
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
121 },
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
122 "Import Waterway Axis": browser => {
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
123 browser
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
124 .url(process.env.VUE_DEV_SERVER_URL)
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
125 .waitForElementVisible("#app", 5000)
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
126 .setValue("input[id='inputUsername']", "sophie")
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
127 .setValue("input[id='inputPassword']", "so2Phie4")
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
128 .click("button[type='submit']")
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
129 .pause(1000)
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
130 .click(".menubutton")
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
131 .pause(1000)
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
132 .click("a[href='#/importschedule']")
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
133 .pause(600)
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
134 .click(".newbutton")
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
135 .pause(600)
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
136 .click("#importtype option:nth-child(2)")
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
137 .pause(600)
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
138 .setValue(
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
139 "input[type='url']",
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
140 "https://service.d4d-portal.info/wamos/wfs"
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
141 )
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
142 .setValue(".featuretype", "ws-wamos:ienc_wtwaxs")
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
143 .setValue(".sortby", "hydro_scamin")
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
144 .end();
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
145 },
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
146 "Import Waterway Area ": browser => {
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
147 browser
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
148 .url(process.env.VUE_DEV_SERVER_URL)
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
149 .waitForElementVisible("#app", 5000)
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
150 .setValue("input[id='inputUsername']", "sophie")
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
151 .setValue("input[id='inputPassword']", "so2Phie4")
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
152 .click("button[type='submit']")
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
153 .pause(1000)
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
154 .click(".menubutton")
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
155 .pause(1000)
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
156 .click("a[href='#/importschedule']")
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
157 .pause(600)
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
158 .click(".newbutton")
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
159 .pause(600)
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
160 .click("#importtype option:nth-child(5)")
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
161 .pause(600)
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
162 .setValue(
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
163 "input[type='url']",
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
164 "https://service.d4d-portal.info/wamos/wfs"
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
165 )
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
166 .setValue(".featuretype", "ws-wamos:ienc_wtware")
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
167 .setValue(".sortby", "hydro_scamin")
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
168 .end();
2268
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
169 }
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
170 };