Skip to content
This repository was archived by the owner on May 5, 2021. It is now read-only.

Commit 5fe87ad

Browse files
authored
Merge pull request SORMAS-Foundation#3324 from hzi-braunschweig/feature-3288-create-test-cases-for-importandexport
Feature 3288 create test cases for importandexport
2 parents 23b52ab + 4991409 commit 5fe87ad

24 files changed

Lines changed: 1419 additions & 4 deletions

File tree

sormas-e2e-ui-tests/Data Files/testContactTestData.dat

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,21 @@
1515
<data>unchangable-epid-number-A TTZEQU null</data>
1616
<data>unchangable-epid-number-B XU7LM3 null</data>
1717
<data>userName-B UserB+test null</data>
18+
<data>test test random+search+for+test+data+export</data>
1819
<internalDataColumns>
1920
<columnIndex>0</columnIndex>
2021
<name>Key</name>
21-
<size>7</size>
22+
<size>8</size>
2223
</internalDataColumns>
2324
<internalDataColumns>
2425
<columnIndex>1</columnIndex>
2526
<name>Value</name>
26-
<size>7</size>
27+
<size>8</size>
2728
</internalDataColumns>
2829
<internalDataColumns>
2930
<columnIndex>2</columnIndex>
3031
<name>Description</name>
31-
<size>7</size>
32+
<size>8</size>
3233
</internalDataColumns>
3334
<isInternalPath>false</isInternalPath>
3435
<query></query>
Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<WebElementEntity>
3+
<description></description>
4+
<name>Import successful</name>
5+
<tag></tag>
6+
<elementGuidId>f66b1816-0cb2-4116-a583-d7ffeb46d835</elementGuidId>
7+
<selectorCollection>
8+
<entry>
9+
<key>XPATH</key>
10+
<value>//div[@id='sormasui-1655777373-overlays']/div[5]/div/div/div[3]/div/div/div/div/div/div[3]/div/b</value>
11+
</entry>
12+
</selectorCollection>
13+
<selectorMethod>BASIC</selectorMethod>
14+
<useRalativeImagePath>false</useRalativeImagePath>
15+
<webElementProperties>
16+
<isSelected>false</isSelected>
17+
<matchCondition>equals</matchCondition>
18+
<name>tag</name>
19+
<type>Main</type>
20+
<value>b</value>
21+
</webElementProperties>
22+
<webElementProperties>
23+
<isSelected>true</isSelected>
24+
<matchCondition>equals</matchCondition>
25+
<name>text</name>
26+
<type>Main</type>
27+
<value>Import successful!</value>
28+
</webElementProperties>
29+
<webElementProperties>
30+
<isSelected>false</isSelected>
31+
<matchCondition>equals</matchCondition>
32+
<name>xpath</name>
33+
<type>Main</type>
34+
<value>id(&quot;sormasui-1655777373-overlays&quot;)/div[@class=&quot;v-window v-widget v-has-width&quot;]/div[@class=&quot;popupContent&quot;]/div[@class=&quot;v-window-wrap&quot;]/div[@class=&quot;v-window-contents&quot;]/div[@class=&quot;v-scrollable&quot;]/div[@class=&quot;v-verticallayout v-layout v-vertical v-widget v-has-width v-margin-top v-margin-right v-margin-bottom v-margin-left&quot;]/div[@class=&quot;v-slot&quot;]/div[@class=&quot;v-horizontallayout v-layout v-horizontal v-widget v-has-width&quot;]/div[@class=&quot;v-expand&quot;]/div[@class=&quot;v-slot&quot;]/div[@class=&quot;v-label v-widget v-label-undef-w&quot;]/b[1]</value>
35+
</webElementProperties>
36+
<webElementXpaths>
37+
<isSelected>true</isSelected>
38+
<matchCondition>equals</matchCondition>
39+
<name>xpath:idRelative</name>
40+
<type>Main</type>
41+
<value>//div[@id='sormasui-1655777373-overlays']/div[5]/div/div/div[3]/div/div/div/div/div/div[3]/div/b</value>
42+
</webElementXpaths>
43+
<webElementXpaths>
44+
<isSelected>false</isSelected>
45+
<matchCondition>equals</matchCondition>
46+
<name>xpath:neighbor</name>
47+
<type>Main</type>
48+
<value>(.//*[normalize-space(text()) and normalize-space(.)='Data import'])[1]/following::b[1]</value>
49+
</webElementXpaths>
50+
<webElementXpaths>
51+
<isSelected>false</isSelected>
52+
<matchCondition>equals</matchCondition>
53+
<name>xpath:neighbor</name>
54+
<type>Main</type>
55+
<value>(.//*[normalize-space(text()) and normalize-space(.)='Close'])[1]/preceding::b[1]</value>
56+
</webElementXpaths>
57+
<webElementXpaths>
58+
<isSelected>false</isSelected>
59+
<matchCondition>equals</matchCondition>
60+
<name>xpath:neighbor</name>
61+
<type>Main</type>
62+
<value>(.//*[normalize-space(text()) and normalize-space(.)='Capture object:'])[1]/preceding::b[1]</value>
63+
</webElementXpaths>
64+
<webElementXpaths>
65+
<isSelected>false</isSelected>
66+
<matchCondition>equals</matchCondition>
67+
<name>xpath:neighbor</name>
68+
<type>Main</type>
69+
<value>//*/text()[normalize-space(.)='Import successful!']/parent::*</value>
70+
</webElementXpaths>
71+
<webElementXpaths>
72+
<isSelected>false</isSelected>
73+
<matchCondition>equals</matchCondition>
74+
<name>xpath:position</name>
75+
<type>Main</type>
76+
<value>//b</value>
77+
</webElementXpaths>
78+
</WebElementEntity>
Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<WebElementEntity>
3+
<description></description>
4+
<name>div_Close</name>
5+
<tag></tag>
6+
<elementGuidId>22562a31-7fc7-4f01-bb04-d48983dc587a</elementGuidId>
7+
<selectorMethod>BASIC</selectorMethod>
8+
<useRalativeImagePath>false</useRalativeImagePath>
9+
<webElementProperties>
10+
<isSelected>true</isSelected>
11+
<matchCondition>equals</matchCondition>
12+
<name>tag</name>
13+
<type>Main</type>
14+
<value>div</value>
15+
</webElementProperties>
16+
<webElementProperties>
17+
<isSelected>false</isSelected>
18+
<matchCondition>equals</matchCondition>
19+
<name>tabindex</name>
20+
<type>Main</type>
21+
<value>0</value>
22+
</webElementProperties>
23+
<webElementProperties>
24+
<isSelected>false</isSelected>
25+
<matchCondition>equals</matchCondition>
26+
<name>role</name>
27+
<type>Main</type>
28+
<value>button</value>
29+
</webElementProperties>
30+
<webElementProperties>
31+
<isSelected>false</isSelected>
32+
<matchCondition>equals</matchCondition>
33+
<name>class</name>
34+
<type>Main</type>
35+
<value>v-button v-widget vspace-top-2 v-button-vspace-top-2</value>
36+
</webElementProperties>
37+
<webElementProperties>
38+
<isSelected>true</isSelected>
39+
<matchCondition>equals</matchCondition>
40+
<name>id</name>
41+
<type>Main</type>
42+
<value>actionCancel</value>
43+
</webElementProperties>
44+
<webElementProperties>
45+
<isSelected>false</isSelected>
46+
<matchCondition>equals</matchCondition>
47+
<name>text</name>
48+
<type>Main</type>
49+
<value>Close</value>
50+
</webElementProperties>
51+
<webElementProperties>
52+
<isSelected>false</isSelected>
53+
<matchCondition>equals</matchCondition>
54+
<name>xpath</name>
55+
<type>Main</type>
56+
<value>id(&quot;actionCancel&quot;)</value>
57+
</webElementProperties>
58+
<webElementXpaths>
59+
<isSelected>true</isSelected>
60+
<matchCondition>equals</matchCondition>
61+
<name>xpath:attributes</name>
62+
<type>Main</type>
63+
<value>//div[@id='actionCancel']</value>
64+
</webElementXpaths>
65+
<webElementXpaths>
66+
<isSelected>false</isSelected>
67+
<matchCondition>equals</matchCondition>
68+
<name>xpath:idRelative</name>
69+
<type>Main</type>
70+
<value>//div[@id='sormasui-1655777373-overlays']/div[5]/div/div/div[3]/div/div/div[7]/div</value>
71+
</webElementXpaths>
72+
<webElementXpaths>
73+
<isSelected>false</isSelected>
74+
<matchCondition>equals</matchCondition>
75+
<name>xpath:neighbor</name>
76+
<type>Main</type>
77+
<value>(.//*[normalize-space(text()) and normalize-space(.)='Import successful!'])[1]/following::div[25]</value>
78+
</webElementXpaths>
79+
<webElementXpaths>
80+
<isSelected>false</isSelected>
81+
<matchCondition>equals</matchCondition>
82+
<name>xpath:position</name>
83+
<type>Main</type>
84+
<value>//div[3]/div/div/div[7]/div</value>
85+
</webElementXpaths>
86+
</WebElementEntity>
Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<WebElementEntity>
3+
<description></description>
4+
<name>div_Detailed Import</name>
5+
<tag></tag>
6+
<elementGuidId>eb06fa15-26a0-4b7d-81ba-aae45bb33d4f</elementGuidId>
7+
<selectorMethod>BASIC</selectorMethod>
8+
<useRalativeImagePath>false</useRalativeImagePath>
9+
<webElementProperties>
10+
<isSelected>true</isSelected>
11+
<matchCondition>equals</matchCondition>
12+
<name>tag</name>
13+
<type>Main</type>
14+
<value>div</value>
15+
</webElementProperties>
16+
<webElementProperties>
17+
<isSelected>false</isSelected>
18+
<matchCondition>equals</matchCondition>
19+
<name>tabindex</name>
20+
<type>Main</type>
21+
<value>0</value>
22+
</webElementProperties>
23+
<webElementProperties>
24+
<isSelected>false</isSelected>
25+
<matchCondition>equals</matchCondition>
26+
<name>role</name>
27+
<type>Main</type>
28+
<value>button</value>
29+
</webElementProperties>
30+
<webElementProperties>
31+
<isSelected>false</isSelected>
32+
<matchCondition>equals</matchCondition>
33+
<name>class</name>
34+
<type>Main</type>
35+
<value>v-button v-widget primary v-button-primary v-has-width</value>
36+
</webElementProperties>
37+
<webElementProperties>
38+
<isSelected>true</isSelected>
39+
<matchCondition>equals</matchCondition>
40+
<name>id</name>
41+
<type>Main</type>
42+
<value>importDetailed</value>
43+
</webElementProperties>
44+
<webElementProperties>
45+
<isSelected>false</isSelected>
46+
<matchCondition>equals</matchCondition>
47+
<name>text</name>
48+
<type>Main</type>
49+
<value>Detailed Import</value>
50+
</webElementProperties>
51+
<webElementProperties>
52+
<isSelected>false</isSelected>
53+
<matchCondition>equals</matchCondition>
54+
<name>xpath</name>
55+
<type>Main</type>
56+
<value>id(&quot;importDetailed&quot;)</value>
57+
</webElementProperties>
58+
<webElementXpaths>
59+
<isSelected>true</isSelected>
60+
<matchCondition>equals</matchCondition>
61+
<name>xpath:attributes</name>
62+
<type>Main</type>
63+
<value>//div[@id='importDetailed']</value>
64+
</webElementXpaths>
65+
<webElementXpaths>
66+
<isSelected>false</isSelected>
67+
<matchCondition>equals</matchCondition>
68+
<name>xpath:idRelative</name>
69+
<type>Main</type>
70+
<value>//div[@id='sormasui-1655777373-overlays']/div[2]/div/div/div[3]/div</value>
71+
</webElementXpaths>
72+
<webElementXpaths>
73+
<isSelected>false</isSelected>
74+
<matchCondition>equals</matchCondition>
75+
<name>xpath:neighbor</name>
76+
<type>Main</type>
77+
<value>(.//*[normalize-space(text()) and normalize-space(.)='Line Listing Import'])[1]/following::div[3]</value>
78+
</webElementXpaths>
79+
<webElementXpaths>
80+
<isSelected>false</isSelected>
81+
<matchCondition>equals</matchCondition>
82+
<name>xpath:neighbor</name>
83+
<type>Main</type>
84+
<value>(.//*[normalize-space(text()) and normalize-space(.)=''])[2]/following::div[3]</value>
85+
</webElementXpaths>
86+
<webElementXpaths>
87+
<isSelected>false</isSelected>
88+
<matchCondition>equals</matchCondition>
89+
<name>xpath:position</name>
90+
<type>Main</type>
91+
<value>//div[3]/div[2]/div/div/div[3]/div</value>
92+
</webElementXpaths>
93+
</WebElementEntity>
Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<WebElementEntity>
3+
<description></description>
4+
<name>div_Download Import Template</name>
5+
<tag></tag>
6+
<elementGuidId>61a3ccbe-16c9-417e-bd48-70ab6bc8d84e</elementGuidId>
7+
<selectorMethod>BASIC</selectorMethod>
8+
<useRalativeImagePath>false</useRalativeImagePath>
9+
<webElementProperties>
10+
<isSelected>true</isSelected>
11+
<matchCondition>equals</matchCondition>
12+
<name>tag</name>
13+
<type>Main</type>
14+
<value>div</value>
15+
</webElementProperties>
16+
<webElementProperties>
17+
<isSelected>false</isSelected>
18+
<matchCondition>equals</matchCondition>
19+
<name>tabindex</name>
20+
<type>Main</type>
21+
<value>0</value>
22+
</webElementProperties>
23+
<webElementProperties>
24+
<isSelected>false</isSelected>
25+
<matchCondition>equals</matchCondition>
26+
<name>role</name>
27+
<type>Main</type>
28+
<value>button</value>
29+
</webElementProperties>
30+
<webElementProperties>
31+
<isSelected>false</isSelected>
32+
<matchCondition>equals</matchCondition>
33+
<name>class</name>
34+
<type>Main</type>
35+
<value>v-button v-widget primary v-button-primary vspace-top-3 v-button-vspace-top-3</value>
36+
</webElementProperties>
37+
<webElementProperties>
38+
<isSelected>true</isSelected>
39+
<matchCondition>equals</matchCondition>
40+
<name>id</name>
41+
<type>Main</type>
42+
<value>import-step-2</value>
43+
</webElementProperties>
44+
<webElementProperties>
45+
<isSelected>false</isSelected>
46+
<matchCondition>equals</matchCondition>
47+
<name>text</name>
48+
<type>Main</type>
49+
<value>Download Import Template</value>
50+
</webElementProperties>
51+
<webElementProperties>
52+
<isSelected>false</isSelected>
53+
<matchCondition>equals</matchCondition>
54+
<name>xpath</name>
55+
<type>Main</type>
56+
<value>id(&quot;import-step-2&quot;)</value>
57+
</webElementProperties>
58+
<webElementXpaths>
59+
<isSelected>true</isSelected>
60+
<matchCondition>equals</matchCondition>
61+
<name>xpath:attributes</name>
62+
<type>Main</type>
63+
<value>//div[@id='import-step-2']</value>
64+
</webElementXpaths>
65+
<webElementXpaths>
66+
<isSelected>false</isSelected>
67+
<matchCondition>equals</matchCondition>
68+
<name>xpath:idRelative</name>
69+
<type>Main</type>
70+
<value>//div[@id='sormasui-1655777373-overlays']/div[3]/div/div/div[3]/div/div/div[3]/div/div[3]/div</value>
71+
</webElementXpaths>
72+
<webElementXpaths>
73+
<isSelected>false</isSelected>
74+
<matchCondition>equals</matchCondition>
75+
<name>xpath:neighbor</name>
76+
<type>Main</type>
77+
<value>(.//*[normalize-space(text()) and normalize-space(.)='Step 2: Download the Import Template'])[1]/following::div[4]</value>
78+
</webElementXpaths>
79+
<webElementXpaths>
80+
<isSelected>false</isSelected>
81+
<matchCondition>equals</matchCondition>
82+
<name>xpath:neighbor</name>
83+
<type>Main</type>
84+
<value>(.//*[normalize-space(text()) and normalize-space(.)='Download Data Dictionary'])[1]/following::div[8]</value>
85+
</webElementXpaths>
86+
<webElementXpaths>
87+
<isSelected>false</isSelected>
88+
<matchCondition>equals</matchCondition>
89+
<name>xpath:position</name>
90+
<type>Main</type>
91+
<value>//div[3]/div/div[3]/div</value>
92+
</webElementXpaths>
93+
</WebElementEntity>

0 commit comments

Comments
 (0)