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

1. Summary

Total Runs Success Rate Total time Failures Errors Skipped

0

100.0%

13.945 seconds

1

0

12

2. Features

2.1. Functionality of Component Variant: Default in LG IGNORED

Result: IGNORED Time: 2.028 seconds

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

  • And >I am in the component showcase page

  • And >the component is on the showcase page

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

1
2
3
setWindowSize(viewport)
waitForAuthorPreviewPage()
takeScreenshot($(selector).firstElement(), "I am on the component showcase page")
Current

Functionality of Component Variant Default in LG I am on the component showcase page

  • Then The component should be on the page

1
def component = waitForComponent(selector)
  • And Should have sample rich text

1
assert $(selector + " .text[component]").text().trim() == "Variant: Default"
  • Where: Browser size width: 1366 and height: 1024

2.2. Functionality of Component Variant: Default Container in LG IGNORED

Result: IGNORED Time: 1.563 seconds

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

  • And >I am in the component showcase page

  • And >the component is on the showcase page

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

1
2
3
setWindowSize(viewport)
waitForAuthorPreviewPage()
report("I am on the component showcase page")
  • Then The component should be on the page

1
def component = waitForComponent(selector)
  • And Should have sample rich text

1
assert $(selector + " .text[component]").text().trim() == "Variant: Default Container"
  • Where: Browser size width: 1366 and height: 1024

2.3. Functionality of Component Variant: Float Section in LG IGNORED

Result: IGNORED Time: 1.549 seconds

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

  • And >I am in the component showcase page

  • And >the component is on the showcase page

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

1
2
3
setWindowSize(viewport)
waitForAuthorPreviewPage()
report("I am on the component showcase page")
  • Then The component should be on the page

1
def component = waitForComponent(selector)
  • And Should have sample rich text

1
assert $(selector + " .text[component]").text().trim() == "Variant: Float Section"
  • Where: Browser size width: 1366 and height: 1024

2.4. Functionality of Component Variant: Description List Section in LG IGNORED

Result: IGNORED Time: 1.567 seconds

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

  • And >I am in the component showcase page

  • And >the component is on the showcase page

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

1
2
3
setWindowSize(viewport)
waitForAuthorPreviewPage()
report("I am on the component showcase page")
  • Then The component should be on the page

1
def component = waitForComponent(selector)
  • And Should have sample rich text

1
assert $(selector + " .text[component]").text().trim() == "Variant: Description List Section"
  • Where: Browser size width: 1366 and height: 1024

2.5. Functionality of Component Variant: Field Set Section in LG IGNORED

Result: IGNORED Time: 1.633 seconds

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

  • And >I am in the component showcase page

  • And >the component is on the showcase page

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

1
2
3
setWindowSize(viewport)
waitForAuthorPreviewPage()
report("I am on the component showcase page")
  • Then The component should be on the page

1
def component = waitForComponent(selector)
  • And Should have sample title text

1
assert $(selector + " .legend").text().trim() == "Variant: Field Set Section"
  • And Should have sample rich text

1
assert $(selector + " .text[component]").text().trim() == "Variant: Field Set Section"
  • Where:

2.6. Functionality of Component Variant: Advanced Plain Section in LG IGNORED

Result: IGNORED Time: 1.565 seconds

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

  • And >I am in the component showcase page

  • And >the component is on the showcase page

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

1
2
3
setWindowSize(viewport)
waitForAuthorPreviewPage()
report("I am on the component showcase page")
  • Then The component should be on the page

1
def component = waitForComponent(selector)
  • And Should have sample rich text

1
assert $(selector + " .text[component]").text().trim() == "Variant: Advanced Plain Section"
  • Where:

Result: IGNORED Time: 1.566 seconds

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

  • And >I am in the component showcase page

  • And >the component is on the showcase page

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

1
2
3
setWindowSize(viewport)
waitForAuthorPreviewPage()
report("I am on the component showcase page")
  • Then The component should be on the page

1
def component = waitForComponent(selector)
  • And Should have sample rich text

1
assert $(selector + " .text[component]").text().trim() == "Variant: Advanced Section with Links"
  • Where:

2.8. Functionality of Component Variant: Section with Background in LG FAILURE

Result: FAILURE Time: 1.696 seconds

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

  • And >I am in the component showcase page

  • And >the component is on the showcase page

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

1
2
3
setWindowSize(viewport)
waitForAuthorPreviewPage()
report("I am on the component showcase page")
  • Then The component should be on the page

1
def component = waitForComponent(selector)
  • And Should have sample rich text

1
assert $(selector + " .text[component]").text().trim() == "Variant: Section with Background"
  • And Section should have a background image

1
assert $(selector).css("background-image").contains(".png")
  • Where:

The following problems occurred:
Condition not satisfied:

$(selector).css("background-image").contains(".png")
| |         |                       |
| |         none                    false
| #contentblock8
[[[RemoteWebDriver: chrome on LINUX (344ae6bde7271fdb2bbbc1d742ebe779)] -> css selector: #contentblock8]]

2.9. Functionality of Component Variant: Section with Background Video IGNORED

Result: IGNORED Time: 0

URL:

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

  • And >I am in the component showcase page

  • And >the component is on the showcase page

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

1
2
3
4
5
setWindowSize(viewport)
waitForAuthorPreviewPage()
assert js.exec( "\$(\"$selector video\")[0].pause(); return true;")
assert js.exec( "\$(\"$selector video\")[0].currentTime=2; return true;")
takeScreenshot($(selector).firstElement(), "I am on the component showcase page")
  • Then The component should be on the page

1
def component = waitForComponent(selector)
  • And Should have sample rich text

1
assert $(selector + " .text[component]").size() > 0
  • And Section should have a background image

1
assert $(selector).css("background-image").contains(".png")
  • And Section should have video tag with video rendition

1
assert $("${selector} source").firstElement().getAttribute("src").contains(".video.")
  • Where:

2.10. Functionality of Component Variant: Parsys IGNORED

Result: IGNORED Time: 0

URL:

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

  • And >I am in the component showcase page

  • And >the component is on the showcase page

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

1
2
3
setWindowSize(viewport)
waitForAuthorPreviewPage()
takeScreenshot($(selector).firstElement(), "I am on the component showcase page")
  • Then The component should be on the page

1
def component = waitForComponent(selector)
  • And Should have sample rich text

1
assert $(selector + " .text[component]").text().trim() == "Variant: Parsys"
  • Where:

2.11. Functionality of Component Variant: Child Section IGNORED

Result: IGNORED Time: 0

URL:

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

  • And >I am in the component showcase page

  • And >the component is on the showcase page

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

1
2
3
setWindowSize(viewport)
waitForAuthorPreviewPage()
takeScreenshot($(selector).firstElement(), "I am on the component showcase page")
  • Then The component should be on the page

1
def component = waitForComponent(selector)
  • And Should have sample child sections

1
assert $(selector + " .childsection").size() == 3
  • When I click first child section button

1
2
3
scrollIntoView($("#contentblock11a-heading button").firstElement())
clickOnElement($("#contentblock11a-heading button").firstElement())
takeScreenshot($(selector).firstElement(), "I click first child section button")
  • Then Fist child section content should be expanded

1
2
waitFor (3, 0.1) { $("#contentblock11a-content [component].text").isDisplayed() }
takeScreenshot($(selector).firstElement(), "Fist child section content should be expanded")
  • Where:

2.12. Functionality of Component Variant: Section with Background using Image Option using Manual MediaQuery with Rendition IGNORED

Result: IGNORED Time: 0

URL:

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

  • And >I am in the component showcase page

  • And >the component is on the showcase page

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

1
2
3
setWindowSize(viewport)
waitForAuthorPreviewPage()
takeScreenshot($(selector).firstElement(), "I am on the component showcase page")
  • Then The component should be on the page

1
def component = waitForComponent(selector)
  • And Style element should use custom rendition

1
assert $("#background-contentblock12").getAttribute("innerHTML").indexOf("aem-design-logo.png") > 0
  • Where: