created on Wed Sep 15 01:27:58 UTC 2021 by root

1. Summary

Total Runs Success Rate Total time Failures Errors Skipped

0

100.0%

2.158 seconds

1

0

3

2. Features

2.1. Lang Nav: Default with Languages Available in LG FAILURE

Result: FAILURE Time: 1.483 seconds

  • Given: >the page hierarchy is created as "Components" > "Lists" > "Language Navigation"

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
def selector = "#langnav1"
  • 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 two list items

1
assert $("${selector} li").size() == 2
  • And Has first item

1
assert $("${selector} li").firstElement().getAttribute("textContent").trim().contains("EN")
  • And Has last item

1
assert $("${selector} li").lastElement().getAttribute("textContent").trim().contains("RU")
  • 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")
|              | |         |
|              | #langnav1 [[RemoteWebDriver: chrome on LINUX (344ae6bde7271fdb2bbbc1d742ebe779)] -> css selector: #langnav1]
|              [[[RemoteWebDriver: chrome on LINUX (344ae6bde7271fdb2bbbc1d742ebe779)] -> css selector: #langnav1]]
java.awt.image.RasterFormatException: negative or zero height

2.2. Lang Nav: Default with Languages Not Available IGNORED

Result: IGNORED Time: 0

URL:

  • Given: >the page hierarchy is created as "Components" > "Lists" > "Language Navigation" > "One Language"

  • And >I am in the component showcase page

  • And >the component is on the showcase page

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

1
2
setWindowSize(viewport)
waitForAuthorPreviewPageUrl("content/aemdesign-showcase/au/en/component/lists/language-navigation/one-language.html")
  • 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 two list items

1
assert $("${selector} li").size() == 1
  • And Has first item

1
assert $("${selector} li").firstElement().getAttribute("textContent").trim().contains("EN")
  • Where: Browser size width: #viewport.width and height: #viewport.height

2.3. Lang Nav: Default with Languages Not Available and Showing Language Root IGNORED

Result: IGNORED Time: 0

URL:

  • Given: >the page hierarchy is created as "Components" > "Lists" > "Language Navigation" > "One Language"

  • And >I am in the component showcase page

  • And >the component is on the showcase page

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

1
2
setWindowSize(viewport)
waitForAuthorPreviewPageUrl("content/aemdesign-showcase/au/en/component/lists/language-navigation/one-language.html")
  • 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 two list items

1
assert $("${selector} li").size() == 2
  • And Has first item

1
assert $("${selector} li").firstElement().getAttribute("textContent").trim().contains("EN")
  • And Has last item

1
assert $("${selector} li").lastElement().getAttribute("textContent").trim().contains("Russian")
  • Where: Browser size width: #viewport.width and height: #viewport.height