Skip to content

Commit d90ae3a

Browse files
committed
Modify short-description-locator for mockserver to point to self-explainable locator.
No functional changes.
1 parent 1b80078 commit d90ae3a

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

src/main/resources/application-test.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ app.site-parser[1].currency-value = RUB
6262
app.site-parser[2].name = mockserver
6363
app.site-parser[2].matched-url = http://127.0.0.1:8888
6464
app.site-parser[2].image-url-locator = #series-image-link-1
65-
app.site-parser[2].short-description-locator = .dl-horizontal
65+
app.site-parser[2].short-description-locator = #test-description
6666
app.site-parser[2].seller-locator = #test-seller
6767
app.site-parser[2].price-locator = #test-price
6868
app.site-parser[2].currency-value = RUB

src/main/resources/application-travis.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ app.site-parser[1].currency-value = RUB
5959
app.site-parser[2].name = mockserver
6060
app.site-parser[2].matched-url = http://127.0.0.1:8888
6161
app.site-parser[2].image-url-locator = #series-image-link-1
62-
app.site-parser[2].short-description-locator = .dl-horizontal
62+
app.site-parser[2].short-description-locator = #test-description
6363
app.site-parser[2].seller-locator = #test-seller
6464
app.site-parser[2].price-locator = #test-price
6565
app.site-parser[2].currency-value = RUB

src/test/wiremock/__files/series/import/request-logic/catalog-numbers-in-description.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@
77
<body>
88
Image: <a id="series-image-link-1" href="http://127.0.0.1:8080/image/1">series image</a>
99
<br />
10-
Info: <span class="dl-horizontal">Спорт, 17 марок, Mi# 2242-2246</span>
10+
Info: <span id="test-description">Спорт, 17 марок, Mi# 2242-2246</span>
1111
</body>
1212
</html>

src/test/wiremock/__files/series/import/request-logic/existing-seller.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@
1212
This is needed to simplify an integration test:
1313
required fields "category" and "quantity" will be filled automatically
1414
-->
15-
Info: <span class="dl-horizontal">Спорт, 3 марки</span>
15+
Info: <span id="test-description">Спорт, 3 марки</span>
1616
</body>
1717
</html>

src/test/wiremock/__files/series/import/request-logic/new-seller.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@
1212
This is needed to simplify an integration test:
1313
required fields "category" and "quantity" will be filled automatically
1414
-->
15-
Info: <span class="dl-horizontal">Спорт, 7 марок</span>
15+
Info: <span id="test-description">Спорт, 7 марок</span>
1616
</body>
1717
</html>

0 commit comments

Comments
 (0)