created on Fri Nov 08 02:18:22 UTC 2019 by ?

1. Summary

Total Runs Success Rate Total time Failures Errors Skipped

2

100.0%

2.384 seconds

0

0

0

2. Features

2.1. Page List: RSS Feed PASS

Result: PASS Time: 0.387 seconds

  • Given: >the page hierarchy is created as "Components" > "Lists" > "Page List"

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
def selector = "#pagelist9"
  • When I download the feed file

1
2
def downloadSHA1 = downloadContent("/content/aemdesign-showcase/au/en/component/lists/page-list/_jcr_content/article/par/contentblock9/par/pagelist.rss")
def feedContent = IOUtils.toString(new InputStreamReader(downloadSHA1))
  • Then The feed file should have title tag

1
assert feedContent.contains("<title>Page List</title>")
  • And The feed file should have ttl tag

1
assert feedContent.contains("<ttl>1800</ttl>")

2.2. Page List: Atom Feed PASS

Result: PASS Time: 0.604 seconds

  • Given: >the page hierarchy is created as "Components" > "Lists" > "Page List"

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
def selector = "#pagelist10"
  • When I download the feed file

1
2
def downloadSHA1 = downloadContent("/content/aemdesign-showcase/au/en/component/lists/page-list/_jcr_content/article/par/contentblock10/par/pagelist.feed")
def feedContent = IOUtils.toString(new InputStreamReader(downloadSHA1))
  • Then The page should have title tag

1
assert feedContent.contains("<title type=\"html\">Page List</title>")