@@ -23,8 +23,9 @@ Import series from an external site (in English, use category, country and date
23
23
Element Text Should Be id=parsed-issue-year 2000
24
24
Submit Form id=start-import-series-form
25
25
${encodedUrl } = Encode URL http://127.0.0.1:8080/image/1
26
- Location Should Be ${SITE_URL } /series/add?category=prehistoric-animals&country=italy&image_url=${encodedUrl }
27
- # TODO: verify category
26
+ Location Should Be ${SITE_URL } /series/add?category=prehistoric-animals&country=italy&image_url=${encodedUrl } &year=2000
27
+ ${category } = Get Selected List Label id=category
28
+ Should Be Equal ${category } Prehistoric animals
28
29
# TODO: verify country
29
30
# We can't use "Textfield Value Should Be" because it causes NPE:
30
31
# https://github.com/MarkusBernhardt/robotframework-selenium2library-java/issues/92
@@ -47,8 +48,9 @@ Import series from an external site (in Russian, use description locator)
47
48
Element Text Should Be id=parsed-issue-year 2000
48
49
Submit Form id=start-import-series-form
49
50
${encodedUrl } = Encode URL http://localhost:8080/image/1
50
- Location Should Be ${SITE_URL } /series/add?category=prehistoric-animals&country=italy&image_url=${encodedUrl }
51
- # TODO: verify category
51
+ Location Should Be ${SITE_URL } /series/add?category=prehistoric-animals&country=italy&image_url=${encodedUrl } &year=2000
52
+ ${category } = Get Selected List Label id=category
53
+ Should Be Equal ${category } Prehistoric animals
52
54
# TODO: verify country
53
55
# We can't use "Textfield Value Should Be" because it causes NPE:
54
56
# https://github.com/MarkusBernhardt/robotframework-selenium2library-java/issues/92
0 commit comments