Skip to content

Commit bf3ea4d

Browse files
committed
chore: modify tests to use different series and avoid ordering issue on PostgreSQL
Addition of new tests in 52df7f3, reveal a difference in the order of sales in the series list: on PostgreSQL sales without dates (NULL) are shown first. This change apply a workaround for that issue by using different series to fix the build. Address to #1492
1 parent 5404551 commit bf3ea4d

File tree

1 file changed

+2
-1
lines changed
  • src/test/robotframework/series/sales/creation

1 file changed

+2
-1
lines changed

src/test/robotframework/series/sales/creation/logic.robot

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,15 @@ Force Tags series sales logic
99

1010
*** Test Cases ***
1111
Add a sale with only required fields
12+
Go To ${SITE_URL}/series/2
1213
Select From List By Label id:seller Tommy Lee Jones
1314
Input Text id:price 125
1415
Select From List By Value id:currency RUB
1516
Submit Form id:add-series-sales-form
1617
Element Text Should Be id:series-sale-1-info Tommy Lee Jones was selling for 125.00 RUB
1718

1819
Add a sale with all fields
20+
Go To ${SITE_URL}/series/3
1921
Input Text id:date 04.01.2021
2022
Select From List By Label id:seller Eicca Toppinen
2123
Input Text id:url http://example.com/series-sale
@@ -35,4 +37,3 @@ Before Test Suite
3537
Open Browser ${SITE_URL}/account/auth ${BROWSER}
3638
Register Keyword To Run On Failure Log Source
3739
Log In As login=admin password=test
38-
Go To ${SITE_URL}/series/2

0 commit comments

Comments
 (0)