File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed
main/java/ru/mystamps/web/feature/collection
test/robotframework/collection/add-series Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 28
28
import static ru .mystamps .web .feature .series .SeriesValidation .MIN_STAMPS_IN_SERIES ;
29
29
30
30
// @todo #477 Add to collection: integration test for invisible quantity for a series with 1 stamp
31
- // @todo #477 Add to collection: add integration test for custom number of stamps
32
31
// @todo #663 Add to collection: add integration test for specifying a price
33
32
@ Getter
34
33
@ Setter
Original file line number Diff line number Diff line change @@ -7,14 +7,23 @@ Suite Teardown Close Browser
7
7
Force Tags collection series logic
8
8
9
9
*** Test Cases ***
10
- Add a series to user's collection
10
+ Add a series to user's collection (all stamps)
11
11
Go To ${SITE_URL } /series/2
12
12
Element Text Should Be id:number-of-stamps-block I have 2 out of 2 stamps
13
13
Submit Form id:add-series-form
14
14
Page Should Contain Link css:[href="/series/2"]
15
15
# See https://developer.mozilla.org/en-US/docs/Web/CSS/General_sibling_combinator
16
16
Element Text Should Be css:[href="/series/2"] ~ .label-success New
17
17
18
+ Add a series to user's collection (incomplete series)
19
+ Go To ${SITE_URL } /series/4
20
+ Input Text id:number-of-stamps 2
21
+ Submit Form id:add-series-form
22
+ Page Should Contain Link css:[href="/series/4"]
23
+ Element Text Should Be css:[href="/series/4"] ~ .label-success New
24
+ # See https://developer.mozilla.org/en-US/docs/Web/CSS/General_sibling_combinator
25
+ Element Text Should Be css:[href="/series/4"] ~ .label-default 2 out of 4
26
+
18
27
*** Keywords ***
19
28
Before Test Suite
20
29
Open Browser ${SITE_URL } /account/auth ${BROWSER }
You can’t perform that action at this time.
0 commit comments