created on Wed Sep 15 01:30:13 UTC 2021 by root

1. Summary

Total Runs Success Rate Total time Failures Errors Skipped

0

100.0%

11.377 seconds

1

0

15

2. Features

2.1. Page List: Default variant using Default badge in LG IGNORED

Result: IGNORED Time: 5.314 seconds

  • Given: >the page hierarchy is created as "Components" > "Lists" > "Page List"

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
2
def selector = "#pagelist1"
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

Page List Default variant using Default badge in LG The component should be on the page

  • And Has five list items

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

1
assert $("${selector} li.first").text().trim() == "Page1"
  • And Has last item

1
assert $("${selector} li.last").text().trim() == "Page5"
  • And Has three plain items

1
assert $("${selector} li.item").size() == 3
  • Where: Browser size width: 1366 and height: 1024

2.2. Page List: Default variant using Icon badge in LG FAILURE

Result: FAILURE Time: 5.403 seconds

  • Given: >the page hierarchy is created as "Components" > "Lists" > "Page List"

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
2
def selector = "#pagelist2"
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

Page List Default variant using Icon badge in LG The component should be on the page

  • And Has five list items

1
assert $("${selector} li").size() == 3
  • And Has icon as contents

1
assert $("${selector} li i").size() == 3
  • Where: Browser size width: 1366 and height: 1024

The following problems occurred:
Condition not satisfied:

$("${selector} li i").size() == 3
|   |                 |      |
[]  #pagelist2        0      false

2.3. Page List: Default variant using Image badge IGNORED

Result: IGNORED Time: 0

URL:

  • Given: >the page hierarchy is created as "Components" > "Lists" > "Page List"

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
2
def selector = "#pagelist3"
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")
  • And Has five list items

1
assert $("${selector} li").size() == 5
  • And Has image as contents

1
assert $("${selector} li img").size() == 5
  • Where: Browser size width: #viewport.width and height: #viewport.height

2.4. Page List: Default variant using Card badge IGNORED

Result: IGNORED Time: 0

URL:

  • Given: >the page hierarchy is created as "Components" > "Lists" > "Page List"

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
2
def selector = "#pagelist4"
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")
  • And Has five list items

1
assert $("${selector} li").size() == 5
  • And Has card as contents

1
assert $("${selector} li .card").size() == 5
  • Where: Browser size width: #viewport.width and height: #viewport.height

2.5. Page List: Default variant using Horizontal badge IGNORED

Result: IGNORED Time: 0

URL:

  • Given: >the page hierarchy is created as "Components" > "Lists" > "Page List"

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
2
def selector = "#pagelist5"
def selectorContainer = "#contentblock5 .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")
  • And Has five list items

1
assert $("${selector} li").size() == 3
  • And Has card as contents

1
assert $("${selector} li .card").size() == 3
  • Where: Browser size width: #viewport.width and height: #viewport.height

2.6. Page List: Default Empty IGNORED

Result: IGNORED Time: 0

URL:

  • Given: >the page hierarchy is created as "Components" > "Lists" > "Page List"

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
2
def selector = "#pagelist6"
def selectorContainer = "#contentblock6 .contents"
  • 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 Has no content

1
assert $("${selector} .content > child").isEmpty() == true
  • Where: Browser size width: #viewport.width and height: #viewport.height

2.7. Badge: Card with Image, Title, Description and Action IGNORED

Result: IGNORED Time: 0

URL:

  • Given: >the page hierarchy is created as "Components" > "Lists" > "Page List"

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
2
def selector = "#pagelist29"
def selectorContainer = "#contentblock29 .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")
  • And Has two list items

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

1
assert $("${selector} > div > ul > li.first > div > div.card-img-top > img").attr("alt") == "Page1"
  • And Has title in first item

1
assert $("${selector} > div > ul > li.first > div > div.card-body > h3").text() == "Page1"
  • And Has description in first item

1
assert $("${selector} > div > ul > li.first > div > div.card-body > div.card-text").text() == "Page with Licensed Page Image, with non-Licensed Secondary Image and with Background non-Licensed Image"
  • And Has call to action in first item

1
assert $("${selector} > div > ul > li.first > div > div.card-body > div > a").text().toUpperCase() == "BUTTON TEXT"
  • Where: Browser size width: #viewport.width and height: #viewport.height

2.8. Page List: Default variant using Card badge with List Split every 2 IGNORED

Result: IGNORED Time: 0

URL:

  • Given: >the page hierarchy is created as "Components" > "Lists" > "Page List"

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
2
def selector = "#pagelist30"
def selectorContainer = "#contentblock30 .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")
  • And Has three lists

1
assert $("${selector} ul").size() == 3
  • And Has five list items

1
assert $("${selector} li").size() == 5
  • And First list has two items

1
assert $("${selector} ul").getAt(0).find("li").size() == 2
  • And Second list has two items

1
assert $("${selector} ul").getAt(1).find("li").size() == 2
  • And Third list has one items

1
assert $("${selector} ul").getAt(2).find("li").size() == 1
  • Where: Browser size width: #viewport.width and height: #viewport.height

2.9. Page List: Default with Thumbnail Override IGNORED

Result: IGNORED Time: 0

URL:

  • Given: >the page hierarchy is created as "Components" > "Lists" > "Page List"

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
2
def selector = "#pagelist31"
def selectorContainer = "#contentblock31 .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")
  • And Has two list items

1
assert $("${selector} li").size() == 3
  • And Last item should have thumbnail override from list

1
2
assert $("${selector} li img").getAt(0).attr("src").contains("/cablecar.jpg/")
takeScreenshot($(selector).firstElement(), "Last item should have thumbnail override from list")
  • Where: Browser size width: #viewport.width and height: #viewport.height

2.10. Page List: Default without Thumbnail Override IGNORED

Result: IGNORED Time: 0

URL:

  • Given: >the page hierarchy is created as "Components" > "Lists" > "Page List"

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
2
def selector = "#pagelist32"
def selectorContainer = "#contentblock32 .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")
  • And Has two list items

1
assert $("${selector} li").size() == 3
  • And Last item should have thumbnail override from page details

1
2
assert $("${selector} li img").getAt(0).attr("src").contains("/city2.jpg/")
takeScreenshot($(selector).firstElement(), "Last item should have thumbnail override from page details")
  • Where: Browser size width: #viewport.width and height: #viewport.height

2.11. Page List: Pages with Analytics IGNORED

Result: IGNORED Time: 0

URL:

  • Given: >the page hierarchy is created as "Components" > "Lists" > "Page List"

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
2
def selector = "#pagelist33"
def selectorContainer = "#contentblock33 .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")
  • And First page link should have attribute: data-layer-track

1
assert $("${selector} ul li a").getAt(0).attr("data-layer-track").equals("true")
  • And First page link should have attribute: data-layer-label

1
assert $("${selector} ul li a").getAt(0).attr("data-layer-label").equals("link")
  • And First page link should have attribute: data-layer-location

1
assert $("${selector} ul li a").getAt(0).attr("data-layer-location").equals("pagelist")
  • Where: Browser size width: #viewport.width and height: #viewport.height

2.12. Page List: Pages with Title and Description Trim IGNORED

Result: IGNORED Time: 0

URL:

  • Given: >the page hierarchy is created as "Components" > "Lists" > "Page List"

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
2
def selector = "#pagelist34"
def selectorContainer = "#contentblock34 .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")
  • And Page Title Should be trimmed

1
assert $("${selector} ul li .card-title").getAt(0).text().equals("Pag...")
  • And Page Description Should be trimmed

1
assert $("${selector} ul li .card-text").getAt(0).text().equals("Page with ..more")
  • Where: Browser size width: #viewport.width and height: #viewport.height

2.13. Page List: Pages with Analytics Track Only IGNORED

Result: IGNORED Time: 0

URL:

  • Given: >the page hierarchy is created as "Components" > "Lists" > "Page List"

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
def selector = "#pagelist35"
  • 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 First page link should have attribute: data-layer-track

1
assert $("${selector} ul li a").getAt(0).attr("data-layer-track").equals("true")
  • And First page link should have attribute: data-layer-label

1
assert $("${selector} ul li a").getAt(0).attr("data-layer-label").equals("badge Link Description")
  • And First page link should have attribute: data-layer-location

1
assert $("${selector} ul li a").getAt(0).attr("data-layer-location").equals("")
  • And Second page link should have attribute: data-layer-track

1
assert $("${selector} ul li a").getAt(1).attr("data-layer-track").equals("true")
  • And Second page link should have attribute: data-layer-label

1
assert $("${selector} ul li a").getAt(1).attr("data-layer-label").equals("Badge Link")
  • And Third page link should have attribute: data-layer-track

1
assert $("${selector} ul li a").getAt(2).attr("data-layer-track").equals("true")
  • And Third page link should have attribute: data-layer-label

1
assert $("${selector} ul li a").getAt(2).attr("data-layer-label").equals("Page3")
  • Where: Browser size width: #viewport.width and height: #viewport.height

2.14. Page List: Pages with no Details IGNORED

Result: IGNORED Time: 0

URL:

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

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
def selector = "#pagelist36"
  • 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 five items of page missing details

1
assert $("${selector} .page-missing-details").size() == 5
  • Where: Browser size width: #viewport.width and height: #viewport.height

Result: IGNORED Time: 0

URL:

  • Given: >the page hierarchy is created as "Components" > "Lists" > "Page List"

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
def selector = "#pagelist39"
  • 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 List Component Does not have attribute data-layer-label

1
assert $("${selector}").getAttribute("data-layer-label").size() == 0
  • And List Has three items

1
assert $("${selector} li").size() == 3
  • And First Items - Has title

1
assert $("${selector} > div > ul > li.first > div > div.card-body > h3").text() == "Page1"
  • And First Items - Has description

1
assert $("${selector} > div > ul > li.first > div > div.card-body > div.card-text").text() == "Page with Licensed Page Image, with non-Licensed Secondary Image and with Background non-Licensed Image"
  • And First Items - Has call to action with overridden text

1
assert $("${selector} > div > ul > li.first > div > div.card-body > div > a").text().toUpperCase() == "READ MORE"
  • And First Items - Has call to action with custom css

1
assert $("${selector} > div > ul > li.first > div > div.card-body > div > a").getAttribute("class").contains("btn-primary")
  • And First Items - Has card with custom css

1
assert $("${selector} > div > ul > li.first > div").getAttribute("class").contains("card bg-grey-1")
  • Where: Browser size width: #viewport.width and height: #viewport.height