Skip to content

Commit 56e848f

Browse files
committed
RobotFramework: allow flaky tests to fail by marking them as non-critical.
Addressed to #540, #546, #556, #557
1 parent ad3a23e commit 56e848f

File tree

5 files changed

+8
-0
lines changed

5 files changed

+8
-0
lines changed

pom.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -938,6 +938,10 @@
938938
<!-- See also ru.mystamps.web.Url.SITE constant -->
939939
<variable>SITE_URL:http://127.0.0.1:8080</variable>
940940
</variables>
941+
<nonCriticalTags>
942+
<!-- Allow to tests with this tag to fail without changing final status -->
943+
<nonCriticalTag>unstable</nonCriticalTag>
944+
</nonCriticalTags>
941945
</configuration>
942946
<executions>
943947
<execution>

src/test/robotframework/country/creation/logic.robot

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Force Tags country logic
99
*** Test Cases ***
1010
Create country with name in English
1111
[Documentation] Verify creation of country by filling only mandatory fields
12+
[Tags] unstable
1213
Input Text id=name Germany
1314
Submit Form id=add-country-form
1415
Location Should Be ${SITE_URL}/country/germany

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ Create series by filling only required fields
2222

2323
Create series by filling all fields
2424
[Documentation] Verify creation of series by filling all fields
25+
[Tags] unstable
2526
Select From List By Label id=category Sport
2627
Select Country Italy
2728
Input Text id=quantity 3

src/test/robotframework/series/creation/misc.robot

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Force Tags series misc
99
*** Test Cases ***
1010
Catalog numbers should accept valid values
1111
[Documentation] Verify that fields with catalog numbers accept valid values
12+
[Tags] unstable
1213
[Template] Valid Catalog Numbers Should Be Accepted
1314
7
1415
7,8

src/test/robotframework/series/creation/validation.robot

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ Create series with empty image
3232

3333
Catalog numbers should reject invalid values
3434
[Documentation] Verify that fields with catalog numbers reject invalid values
35+
[Tags] unstable
3536
[Template] Invalid Catalog Numbers Should Be Rejected
3637
t
3738
t,t

0 commit comments

Comments
 (0)