@@ -16,7 +16,6 @@ Import series from an external site (in English, use category, country and date
16
16
Input Text id=url ${importUrl }
17
17
Submit Form id=import-series-form
18
18
${requestLocation } = Get Location
19
- Should Match Regexp ${requestLocation } /series/import/request/\\d+
20
19
${category } = Get Selected List Label id=category
21
20
${country } = Get Selected List Label id=country
22
21
${quantity } = Get Value id=quantity
@@ -32,7 +31,6 @@ Import series from an external site (in English, use category, country and date
32
31
Input Text id=quantity 1
33
32
Submit Form id=create-series-form
34
33
${seriesLocation } = Get Location
35
- Should Match Regexp ${seriesLocation } /series/\\d+
36
34
Element Text Should Be id=category_name Prehistoric animals
37
35
Element Text Should Be id=country_name Italy
38
36
Element Text Should Be id=issue_date 2000
@@ -56,8 +54,6 @@ Import series from an external site (in Russian, use description locator)
56
54
[Documentation] Verify import from a page in Russian and shared locator
57
55
Input Text id=url http://localhost:8080/series/2?lang=ru&str=тест
58
56
Submit Form id=import-series-form
59
- ${location } = Get Location
60
- Should Match Regexp ${location } /series/import/request/\\d+
61
57
${category } = Get Selected List Label id=category
62
58
${country } = Get Selected List Label id=country
63
59
${quantity } = Get Value id=quantity
@@ -86,14 +82,11 @@ Import series and series sale with existing seller from an external site
86
82
Input Text id=url ${MOCK_SERVER } /series/import/request-logic/existing-seller.html
87
83
Submit Form id=import-series-form
88
84
${requestLocation } = Get Location
89
- Should Match Regexp ${requestLocation } /series/import/request/\\d+
90
85
# sale info should be parsed and shown at the request page
91
86
List Selection Should Be id=seller Eicca Toppinen
92
87
Textfield Value Should Be id=price 111
93
88
List Selection Should Be id=currency RUB
94
89
Submit Form id=create-series-form
95
- ${seriesLocation } = Get Location
96
- Should Match Regexp ${seriesLocation } /series/\\d+
97
90
# after importing a series, sale info should be shown at the info page
98
91
${currentDate } = Get Current Date result_format=%d.%m.%Y
99
92
Element Text Should Be id=series-sale-1-info ${currentDate } Eicca Toppinen was selling for 111.00 RUB
@@ -110,15 +103,12 @@ Import series and series sale with a new seller from an external site
110
103
Input Text id=url ${MOCK_SERVER } /series/import/request-logic/new-seller.html
111
104
Submit Form id=import-series-form
112
105
${requestLocation } = Get Location
113
- Should Match Regexp ${requestLocation } /series/import/request/\\d+
114
106
# seller info should be parsed and shown at the request page
115
107
${group } = Get Selected List Label id=seller-group
116
108
Should Be Equal ${group } example.com
117
109
Textfield Value Should Be id=seller-name Lando Livianus
118
110
Urlfield Value Should Be id=seller-url http://example.com/lando-livianus
119
111
Submit Form id=create-series-form
120
- ${seriesLocation } = Get Location
121
- Should Match Regexp ${seriesLocation } /series/\\d+
122
112
# after importing a series, sale info should contain a new seller
123
113
${currentDate } = Get Current Date result_format=%d.%m.%Y
124
114
Element Text Should Be id=series-sale-1-info ${currentDate } Lando Livianus was selling for 320.50 RUB
0 commit comments