created on Fri Nov 08 01:26:08 UTC 2019 by ?

1. Summary

Total Runs Success Rate Total time Failures Errors Skipped

6

100.0%

11.880 seconds

0

0

8

2. Features

2.1. Functionality of Component Variant: Default IGNORED

Result: IGNORED Time: 0

  • 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

  • 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

  • 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 XS PASS

Result: PASS Time: 1.606 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: Default with Analytics in SM PASS

Result: PASS Time: 1.446 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.6. Functionality of Component Variant: Default with Analytics in MD PASS

Result: PASS Time: 1.508 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.7. Functionality of Component Variant: Default with Analytics in LG PASS

Result: PASS Time: 1.741 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.8. Functionality of Component Variant: Default with Analytics in XLG PASS

Result: PASS Time: 1.902 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.9. Functionality of Component Variant: Default with Analytics in XXLG PASS

Result: PASS Time: 2.128 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.10. Functionality of Component Variant: Button with Analytics IGNORED

Result: IGNORED Time: 0

  • 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.11. Functionality of Component Variant: Default with Analytics Track Only IGNORED

Result: IGNORED Time: 0

  • 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.12. Functionality of Component Variant: Button with Analytics Track Only IGNORED

Result: IGNORED Time: 0

  • 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.13. Functionality of Component Variant: Button Button with Icon Left IGNORED

Result: IGNORED Time: 0

  • 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.14. Functionality of Component Variant: Button Button with Icon Right IGNORED

Result: IGNORED Time: 0

  • 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: