created on Wed Sep 15 01:17:38 UTC 2021 by root

1. Summary

Total Runs Success Rate Total time Failures Errors Skipped

1

100.0%

3.096 seconds

0

0

8

2. Features

2.1. Functionality of Component Variant: Default IGNORED

Result: IGNORED Time: 0

URL:

  • Given: The page hierarchy is created as "Components" > "Content" > "Link"

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

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

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

1
2
assert $(selector).text().trim() == "Link: Default"
report("Should have sample component text")
  • And Should have video-play module tag

1
2
assert $(selector).attr("data-modules") == "play-video"
report("Should have sample component text")
  • Where:

2.2. Functionality of Component Variant: Button IGNORED

Result: IGNORED Time: 0

URL:

  • Given: The page hierarchy is created as "Components" > "Content" > "Link"

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

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

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

1
2
assert $(selector).text().trim() == "Link: Button"
report("Should have sample component text")
  • Where:

2.3. Functionality of Component Variant: Default no Label IGNORED

Result: IGNORED Time: 0

URL:

  • Given: The page hierarchy is created as "Components" > "Content" > "Link"

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

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

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

1
2
assert $(selector).text().trim() == "Link"
report("Should have sample component text")
  • Where:

2.4. Functionality of Component Variant: Default with Analytics in LG PASS

Result: PASS Time: 1.749 seconds

  • Given: The page hierarchy is created as "Components" > "Content" > "Link"

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

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

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

1
2
assert $(selector).text().trim() == "Link"
report("Should have sample component text")
  • And Should have analytics attribute: data-layer-track

1
assert $(selector).attr("data-layer-track") == "true"
  • And Should have analytics attribute: data-layer-label

1
assert $(selector).attr("data-layer-label") == "link description"
  • And Should have analytics attribute: data-layer-location

1
assert $(selector).attr("data-layer-location") == "link page"
  • Where:

2.5. Functionality of Component Variant: Button with Analytics IGNORED

Result: IGNORED Time: 0

URL:

  • Given: The page hierarchy is created as "Components" > "Content" > "Link"

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

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

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

1
2
assert $(selector).text().trim() == "Link"
report("Should have sample component text")
  • And Should have analytics attribute: data-layer-track

1
assert $(selector).attr("data-layer-track") == "true"
  • And Should have analytics attribute: data-layer-label

1
assert $(selector).attr("data-layer-label") == "link description"
  • And Should have analytics attribute: data-layer-location

1
assert $(selector).attr("data-layer-location")  == "link page"
  • Where:

2.6. Functionality of Component Variant: Default with Analytics Track Only IGNORED

Result: IGNORED Time: 0

URL:

  • Given: The page hierarchy is created as "Components" > "Content" > "Link"

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

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

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

1
2
assert $(selector).text().trim() == "Link"
report("Should have sample component text")
  • And Should have analytics attribute: data-layer-track

1
assert $(selector).attr("data-layer-track") == "true"
  • And Should have analytics attribute: data-layer-label

1
assert $(selector).attr("data-layer-label") == "Link"
  • And Should have analytics attribute: data-layer-location

1
assert $(selector).attr("data-layer-location") == ""
  • Where:

2.7. Functionality of Component Variant: Button with Analytics Track Only IGNORED

Result: IGNORED Time: 0

URL:

  • Given: The page hierarchy is created as "Components" > "Content" > "Link"

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

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

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

1
2
assert $(selector).text().trim() == "Link"
report("Should have sample component text")
  • And Should have analytics attribute: data-layer-track

1
assert $(selector).attr("data-layer-track") == "true"
  • And Should have analytics attribute: data-layer-label

1
assert $(selector).attr("data-layer-label") == "Link"
  • And Should have analytics attribute: data-layer-location

1
assert $(selector).attr("data-layer-location") == ""
  • Where:

2.8. Functionality of Component Variant: Button Button with Icon Left IGNORED

Result: IGNORED Time: 0

URL:

  • Given: The page hierarchy is created as "Components" > "Content" > "Link"

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

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

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

1
2
assert $(selector).text().trim() == "Link"
takeScreenshot($(selector).firstElement(), "Should have sample component text")
  • And Should have left icon first

1
assert $("$selector > *").firstElement().getAttribute("class").contains("icon")
  • Where:

2.9. Functionality of Component Variant: Button Button with Icon Right IGNORED

Result: IGNORED Time: 0

URL:

  • Given: The page hierarchy is created as "Components" > "Content" > "Link"

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

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

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

1
2
assert $(selector).text().trim() == "Link"
takeScreenshot($(selector).firstElement(), "Should have sample component text")
  • And Should have right icon last

1
assert $("$selector > *").lastElement().getAttribute("class").contains("icon")
  • Where: