annotate client/tests/e2e/specs/import.js @ 2526:6498267096ae

client: critical bottlenecks: use png instead of vectors for marker The positioning of text is not always precise. The exclamation mark in the warning sign for critical bottlenecks was not always perfectly centered. Using a png image is more reliable.
author Markus Kottlaender <markus@intevation.de>
date Wed, 06 Mar 2019 15:39:59 +0100
parents 91ca0cdd2e35
children f90f2fd94fbc
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 = {
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
19 "Bottleneck import": browser => {
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
20 browser
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
21 .url(process.env.VUE_DEV_SERVER_URL)
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
22 .waitForElementVisible("#app", 5000)
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
23 .setValue("input[id='inputUsername']", "sophie")
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
24 .setValue("input[id='inputPassword']", "so2Phie4")
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
25 .click("button[type='submit']")
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
26 .pause(1000)
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
27 .click(".menubutton")
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
28 .pause(1000)
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
29 .click("a[href='#/importschedule']")
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
30 .pause(600)
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
31 .click(".newbutton")
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
32 .pause(600)
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
33 .click("#importtype option:nth-child(1)")
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
34 .pause(600)
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
35 .setValue(
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
36 "input[type='url']",
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
37 "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
38 )
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
39 .click(".trigger")
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
40 .click("button[type='submit']")
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
41 .end();
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
42 },
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
43 "Available fairwaydepth": browser => {
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
44 browser
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
45 .url(process.env.VUE_DEV_SERVER_URL)
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
46 .waitForElementVisible("#app", 5000)
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
47 .setValue("input[id='inputUsername']", "sophie")
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
48 .setValue("input[id='inputPassword']", "so2Phie4")
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
49 .click("button[type='submit']")
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
50 .pause(1000)
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
51 .click(".menubutton")
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
52 .pause(1000)
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
53 .click("a[href='#/importschedule']")
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
54 .pause(600)
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
55 .click(".newbutton")
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
56 .pause(600)
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
57 .click("#importtype option:nth-child(4)")
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
58 .pause(600)
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
59 .setValue(
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
60 "input[type='url']",
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
61 "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
62 )
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
63 .click(".trigger")
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
64 .click("button[type='submit']")
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
65 .end();
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
66 },
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
67 "Gauge measurement": browser => {
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
68 browser
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
69 .url(process.env.VUE_DEV_SERVER_URL)
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
70 .waitForElementVisible("#app", 5000)
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
71 .setValue("input[id='inputUsername']", "sophie")
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
72 .setValue("input[id='inputPassword']", "so2Phie4")
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
73 .click("button[type='submit']")
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
74 .pause(1000)
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
75 .click(".menubutton")
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
76 .pause(1000)
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
77 .click("a[href='#/importschedule']")
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
78 .pause(600)
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
79 .click(".newbutton")
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
80 .pause(600)
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
81 .click("#importtype option:nth-child(3)")
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
82 .pause(600)
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
83 .setValue(
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
84 "input[type='url']",
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
85 "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
86 )
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
87 .click(".trigger")
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
88 .click("button[type='submit']")
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
89 .end();
2271
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
90 },
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
91 "Import Fairway Dimensions": browser => {
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
92 browser
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
93 .url(process.env.VUE_DEV_SERVER_URL)
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
94 .waitForElementVisible("#app", 5000)
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
95 .setValue("input[id='inputUsername']", "sophie")
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
96 .setValue("input[id='inputPassword']", "so2Phie4")
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
97 .click("button[type='submit']")
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
98 .pause(1000)
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
99 .click(".menubutton")
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
100 .pause(1000)
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
101 .click("a[href='#/importschedule']")
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
102 .pause(600)
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
103 .click(".newbutton")
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
104 .pause(600)
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
105 .click("#importtype option:nth-child(6)")
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
106 .pause(600)
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
107 .setValue(
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
108 "input[type='url']",
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
109 "https://service.d4d-portal.info/wamos/wfs"
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
110 )
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
111 .setValue(".featuretype", "ws-wamos:hydro_fairwy")
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
112 .setValue(".sortby", "hydro_scamin")
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
113 .setValue(".depth", "250")
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
114 .setValue(".minwidth", "80")
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
115 .setValue(".maxwidth", "150")
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
116 .setValue(".sourceorganization", "D4D Portal")
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
117 .click(".trigger")
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
118 .click("button[type='submit']")
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
119 .end();
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
120 },
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
121 "Import Waterway Axis": browser => {
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
122 browser
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
123 .url(process.env.VUE_DEV_SERVER_URL)
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
124 .waitForElementVisible("#app", 5000)
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
125 .setValue("input[id='inputUsername']", "sophie")
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
126 .setValue("input[id='inputPassword']", "so2Phie4")
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
127 .click("button[type='submit']")
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
128 .pause(1000)
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
129 .click(".menubutton")
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
130 .pause(1000)
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
131 .click("a[href='#/importschedule']")
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
132 .pause(600)
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
133 .click(".newbutton")
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
134 .pause(600)
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
135 .click("#importtype option:nth-child(2)")
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
136 .pause(600)
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
137 .setValue(
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
138 "input[type='url']",
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
139 "https://service.d4d-portal.info/wamos/wfs"
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
140 )
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
141 .setValue(".featuretype", "ws-wamos:ienc_wtwaxs")
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
142 .setValue(".sortby", "hydro_scamin")
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
143 .end();
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
144 },
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
145 "Import Waterway Area ": browser => {
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
146 browser
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
147 .url(process.env.VUE_DEV_SERVER_URL)
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
148 .waitForElementVisible("#app", 5000)
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
149 .setValue("input[id='inputUsername']", "sophie")
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
150 .setValue("input[id='inputPassword']", "so2Phie4")
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
151 .click("button[type='submit']")
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
152 .pause(1000)
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
153 .click(".menubutton")
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
154 .pause(1000)
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
155 .click("a[href='#/importschedule']")
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
156 .pause(600)
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
157 .click(".newbutton")
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
158 .pause(600)
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
159 .click("#importtype option:nth-child(5)")
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
160 .pause(600)
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
161 .setValue(
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
162 "input[type='url']",
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
163 "https://service.d4d-portal.info/wamos/wfs"
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
164 )
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
165 .setValue(".featuretype", "ws-wamos:ienc_wtware")
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
166 .setValue(".sortby", "hydro_scamin")
91ca0cdd2e35 more e2e test for imports
Thomas Junk <thomas.junk@intevation.de>
parents: 2268
diff changeset
167 .end();
2268
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
168 }
05cfeeb65411 automatically trigger some imports
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
169 };