Skip to content

Commit 917293c

Browse files
committed
refactor(series/import/request-logic.robot): don't check for a page location in integration tests.
Addressed to #900 No functional changes.
1 parent 404b3ff commit 917293c

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/test/robotframework/series/import/request-logic.robot

-10
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ Import series from an external site (in English, use category, country and date
1616
Input Text id=url ${importUrl}
1717
Submit Form id=import-series-form
1818
${requestLocation}= Get Location
19-
Should Match Regexp ${requestLocation} /series/import/request/\\d+
2019
${category}= Get Selected List Label id=category
2120
${country}= Get Selected List Label id=country
2221
${quantity}= Get Value id=quantity
@@ -32,7 +31,6 @@ Import series from an external site (in English, use category, country and date
3231
Input Text id=quantity 1
3332
Submit Form id=create-series-form
3433
${seriesLocation}= Get Location
35-
Should Match Regexp ${seriesLocation} /series/\\d+
3634
Element Text Should Be id=category_name Prehistoric animals
3735
Element Text Should Be id=country_name Italy
3836
Element Text Should Be id=issue_date 2000
@@ -56,8 +54,6 @@ Import series from an external site (in Russian, use description locator)
5654
[Documentation] Verify import from a page in Russian and shared locator
5755
Input Text id=url http://localhost:8080/series/2?lang=ru&str=тест
5856
Submit Form id=import-series-form
59-
${location}= Get Location
60-
Should Match Regexp ${location} /series/import/request/\\d+
6157
${category}= Get Selected List Label id=category
6258
${country}= Get Selected List Label id=country
6359
${quantity}= Get Value id=quantity
@@ -86,14 +82,11 @@ Import series and series sale with existing seller from an external site
8682
Input Text id=url ${MOCK_SERVER}/series/import/request-logic/existing-seller.html
8783
Submit Form id=import-series-form
8884
${requestLocation}= Get Location
89-
Should Match Regexp ${requestLocation} /series/import/request/\\d+
9085
# sale info should be parsed and shown at the request page
9186
List Selection Should Be id=seller Eicca Toppinen
9287
Textfield Value Should Be id=price 111
9388
List Selection Should Be id=currency RUB
9489
Submit Form id=create-series-form
95-
${seriesLocation}= Get Location
96-
Should Match Regexp ${seriesLocation} /series/\\d+
9790
# after importing a series, sale info should be shown at the info page
9891
${currentDate}= Get Current Date result_format=%d.%m.%Y
9992
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
110103
Input Text id=url ${MOCK_SERVER}/series/import/request-logic/new-seller.html
111104
Submit Form id=import-series-form
112105
${requestLocation}= Get Location
113-
Should Match Regexp ${requestLocation} /series/import/request/\\d+
114106
# seller info should be parsed and shown at the request page
115107
${group}= Get Selected List Label id=seller-group
116108
Should Be Equal ${group} example.com
117109
Textfield Value Should Be id=seller-name Lando Livianus
118110
Urlfield Value Should Be id=seller-url http://example.com/lando-livianus
119111
Submit Form id=create-series-form
120-
${seriesLocation}= Get Location
121-
Should Match Regexp ${seriesLocation} /series/\\d+
122112
# after importing a series, sale info should contain a new seller
123113
${currentDate}= Get Current Date result_format=%d.%m.%Y
124114
Element Text Should Be id=series-sale-1-info ${currentDate} Lando Livianus was selling for 320.50 RUB

0 commit comments

Comments
 (0)