created on Thu Aug 12 17:53:42 UTC 2021 by root

1. Summary

Total Runs Success Rate Total time Failures Errors Skipped

4

100.0%

9.734 seconds

0

0

0

2. Features

2.1. Functionality of Component in LG PASS

Result: PASS Time: 2.201 seconds

  • Given: >the page hierarchy is created as "Components" > "Layout" > "Breadcrumb"

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
2
def selector = "#breadcrumb1"
def selectorContainer = "#contentblock1 .contents"
  • 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")
Current

Functionality of Component in LG The component should be on the page

  • And There should be a HREF value associated with Components link

1
$(selector + " a[href='/content/aemdesign-showcase/au/en/component.html']", text: "Components")
  • And There should be a HREF value associated with Layout link

1
$(selector + " a[href='/content/aemdesign-showcase/au/en/component/layout.html']", text: "Layout")
  • And There should be a HREF value associated with Breadcrumb link

1
$(selector + " li.active span", text: "Breadcrumb")
  • Where:

2.2. Functionality of Component with Changed Start Level in LG PASS

Result: PASS Time: 2.161 seconds

  • Given: >the page hierarchy is created as "Components" > "Layout" > "Breadcrumb"

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
2
def selector = "#breadcrumb2"
def selectorContainer = "#contentblock2 .contents"
  • 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")
Current

Functionality of Component with Changed Start Level in LG The component should be on the page

  • And First link should be Layout

1
assert $("$selector li").getAt(0).text().trim() == "Layout"
  • And Last link should be Breadcrumb

1
assert $("$selector li").getAt($("$selector li").size()-1).text().trim() == "Breadcrumb"
  • Where:

2.3. Functionality of Component with Changed Start Level and End Level in LG PASS

Result: PASS Time: 2.194 seconds

  • Given: >the page hierarchy is created as "Components" > "Layout" > "Breadcrumb"

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
2
def selector = "#breadcrumb3"
def selectorContainer = "#contentblock3 .contents"
  • 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")
Current

Functionality of Component with Changed Start Level and End Level in LG The component should be on the page

  • And First link should be Components

1
assert $("$selector li").getAt(0).text().trim() == "Components"
  • And Last link should be Layout

1
assert $("$selector li").getAt($("$selector li").size()-1).text().trim() == "Layout"
  • Where:

2.4. Functionality of Component with Show hidden in LG PASS

Result: PASS Time: 2.153 seconds

  • Given: >the page hierarchy is created as "Components" > "Layout" > "Breadcrumb"

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
2
def selector = "#breadcrumb4"
def selectorContainer = "#contentblock4 .contents"
  • 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")
Current

Functionality of Component with Show hidden in LG The component should be on the page

  • And First link should be English

1
assert $("$selector li").getAt(0).text().trim() == "English"
  • And Last link should be Layout

1
assert $("$selector li").getAt($("$selector li").size()-1).text().trim() == "Layout"
  • Where: