created on Wed Sep 15 01:29:37 UTC 2021 by root

1. Summary

Total Runs Success Rate Total time Failures Errors Skipped

0

100.0%

4.913 seconds

1

0

5

2. Features

2.1. Functionality of Component with Default variant using Default badge in LG IGNORED

Result: IGNORED Time: 2.033 seconds

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

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
2
def selector = "#newslist1"
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 with Default variant using Default badge in LG The component should be on the page

  • And Has five list items

1
assert $("${selector} li").size() == 6
  • And Has first item with title from Details component

1
assert $("${selector} li.first").text().trim() == "News Title 1"
  • And Has last item with title from Details component

1
assert $("${selector} li.last").text().trim() == "News Title 3"
  • Where: Browser size width: 1366 and height: 1024

2.2. Functionality of Component with Card with Image Title Category Description and Action in LG FAILURE

Result: FAILURE Time: 2.164 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
def selector = "#newslist3"
  • 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 Card with Image Title Category Description and Action in LG The component should be on the page

  • And Has two list items

1
assert $("${selector} li").size() == 2
  • And Has card title

1
assert $("${selector} .card-title").size() == 2
  • And Has card description

1
assert $("${selector} .card-text").size() == 2
  • Where: Browser size width: 1366 and height: 1024

The following problems occurred:
Condition not satisfied:

$("${selector} li").size() == 2
|   |               |      |
|   #newslist3      10     false
[[[RemoteWebDriver: chrome on LINUX (344ae6bde7271fdb2bbbc1d742ebe779)] -> css selector: #newslist3 li], [[RemoteWebDriver: chrome on LINUX (344ae6bde7271fdb2bbbc1d742ebe779)] -> css selector: #newslist3 li], [[RemoteWebDriver: chrome on LINUX (344ae6bde7271fdb2bbbc1d742ebe779)] -> css selector: #newslist3 li], [[RemoteWebDriver: chrome on LINUX (344ae6bde7271fdb2bbbc1d742ebe779)] -> css selector: #newslist3 li], [[RemoteWebDriver: chrome on LINUX (344ae6bde7271fdb2bbbc1d742ebe779)] -> css selector: #newslist3 li], [[RemoteWebDriver: chrome on LINUX (344ae6bde7271fdb2bbbc1d742ebe779)] -> css selector: #newslist3 li], [[RemoteWebDriver: chrome on LINUX (344ae6bde7271fdb2bbbc1d742ebe779)] -> css selector: #newslist3 li], [[RemoteWebDriver: chrome on LINUX (344ae6bde7271fdb2bbbc1d742ebe779)] -> css selector: #newslist3 li], [[RemoteWebDriver: chrome on LINUX (344ae6bde7271fdb2bbbc1d742ebe779)] -> css selector: #newslist3 li], [[RemoteWebDriver: chrome on LINUX (344ae6bde7271fdb2bbbc1d742ebe779)] -> css selector: #newslist3 li]]

2.3. Functionality of Component with Card with Image Title Subtitle 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
def selector = "#newslist4"
  • 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() == 2
  • And Has card images

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

2.4. Functionality of Component with Card with Image Title Subtitle Action and Date 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 = "#newslist5"
  • 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() == 2
  • And Has card images

1
assert $("${selector} img").size() == 2
  • And Has card with date

1
assert $("${selector} .card-date time").size() == 2
  • And Date output has datetime attribute

1
assert $("${selector} .card-date time").firstElement().getAttribute("datetime") == "2019-01-01"
  • And Date output matches format

1
assert $("${selector} .card-date time").firstElement().getAttribute("innerText") == "Tuesday 01 January 2019"
  • Where: Browser size width: #viewport.width and height: #viewport.height

2.5. Functionality of Component with Card with Image Title Subtitle Action and Date with Order by Publish Date 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 = "#newslist6"
  • 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() == 6
  • And First Card is News Title 2

1
assert $("${selector} .card-title").getAt(0).getAttribute("innerText") == "News Title 2"
  • And Second Card is News Title 1

1
assert $("${selector} .card-title").getAt(1).getAttribute("innerText") == "News Title 1"
  • And Third Card is News Title 3

1
assert $("${selector} .card-title").getAt(2).getAttribute("innerText") == "News Title 3"
  • Where: Browser size width: #viewport.width and height: #viewport.height