created on Wed Sep 15 01:28:49 UTC 2021 by root

1. Summary

Total Runs Success Rate Total time Failures Errors Skipped

0

100.0%

3.757 seconds

1

0

3

2. Features

2.1. Location List: Default variant using Default badge IGNORED

Result: IGNORED Time: 0

URL:

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

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
def selector = "#locationlist1"
  • When I am on the component showcase page

1
2
setWindowSize(viewport)
waitForAuthorPreviewPage()
  • Then The component should be on the page

1
2
def component = waitForComponent(selector)
takeScreenshot($(selector).firstElement(), "The component should be on the page")
  • And Has five list items

1
assert $("${selector} li").size() == 6
  • Where: Browser size width: #viewport.width and height: #viewport.height

2.2. Location List: Map Data IGNORED

Result: IGNORED Time: 0

URL:

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

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
def selector = "#locationlist2"
  • When I am on the component showcase page

1
2
setWindowSize(viewport)
waitForAuthorPreviewPage()
  • Then The component should be on the page

1
2
def component = waitForComponent(selector)
takeScreenshot($(selector).firstElement(), "The component should be on the page")
  • And Has five features items

1
assert js.exec(" return locationlist2.features.length == 6;")
  • And Map has been created

1
assert js.exec(" return AEMDESIGN.components.locationlist.googleMapsInstances[\$(\"#locationlist2\").data(\"map-index\")]?true:false;")
  • Where: Browser size width: #viewport.width and height: #viewport.height

2.3. Location List: Card with Image, Title, Category, Description and Action badge in LG FAILURE

Result: FAILURE Time: 3.037 seconds

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

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
def selector = "#locationlist3"
  • When I am on the component showcase page

1
2
setWindowSize(viewport)
waitForAuthorPreviewPage()
  • Then The component should be on the page

1
2
def component = waitForComponent(selector)
takeScreenshot($(selector).firstElement(), "The component should be on the page")
  • And Has six list items

1
assert $("${selector} > div > ul > li").size() == 6
  • And With image

1
assert $("${selector} .card img").size() == 6
  • And With Title

1
assert $("${selector} .card .card-title").size() == 6
  • And With Category

1
assert $("${selector} .card .card-taglist").size() == 6
  • And With Description

1
assert $("${selector} .card .card-text").size() == 6
  • And And Action

1
assert $("${selector} .card .card-action").size() == 6
  • Where: Browser size width: 1366 and height: 1024

The following problems occurred:
Condition failed with Exception:

takeScreenshot($(selector).firstElement(), "The component should be on the page")
|              | |         |
|              | |         [[RemoteWebDriver: chrome on LINUX (344ae6bde7271fdb2bbbc1d742ebe779)] -> css selector: #locationlist3]
|              | #locationlist3
|              [[[RemoteWebDriver: chrome on LINUX (344ae6bde7271fdb2bbbc1d742ebe779)] -> css selector: #locationlist3]]
java.awt.image.RasterFormatException: (y + height) is outside of Raster