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

1. Summary

Total Runs Success Rate Total time Failures Errors Skipped

0

100.0%

2.981 seconds

1

0

6

2. Features

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

Result: FAILURE Time: 2.273 seconds

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

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
2
def selector = "#contactlist1"
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} ul.list > li").size() == 6
  • And Has first item

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

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

The following problems occurred:
Condition not satisfied:

$("${selector} li.first").text().trim() == "Mr Max Barrass"
|   |                     |      |      |
|   #contactlist1         |      |      false
|                         |      |      3 differences (78% similarity)
|                         |      |      M(---)ax Barrass
|                         |      |      M(r M)ax Barrass
|                         |      Max Barrass
|                         Max Barrass
[[[RemoteWebDriver: chrome on LINUX (344ae6bde7271fdb2bbbc1d742ebe779)] -> css selector: #contactlist1 li.first]]

2.2. Functionality of Component with Card Action with Icon, Title, Category and Description IGNORED

Result: IGNORED Time: 0

URL:

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

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
def selector = "#contactlist2"
  • 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} ul.list > li").size() == 2
  • And Has card title

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

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

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

2.3. Functionality of Component with Card Action with Image, Title, Category and Description IGNORED

Result: IGNORED Time: 0

URL:

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

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
def selector = "#contactlist3"
  • 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} ul.list > li").size() == 2
  • And Has card has image

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

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

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

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

2.4. Functionality of Component with Card with Icon, Title, Category, Description and Action IGNORED

Result: IGNORED Time: 0

URL:

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

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
def selector = "#contactlist4"
  • 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} ul.list > li").size() == 2
  • And Has card title

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

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

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

2.5. Functionality of Component with Card with Image, Title, Category, Description and Action IGNORED

Result: IGNORED Time: 0

URL:

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

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
def selector = "#contactlist5"
  • 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} ul.list > li").size() == 2
  • And Has card has image

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

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

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

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

2.6. Functionality of Component with Card with Image, Title, Category, Description and Email Action Format IGNORED

Result: IGNORED Time: 0

URL:

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

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
def selector = "#contactlist7"
  • 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 card description

1
assert $("${selector} .card-link").getAt(0).getAttribute("href").contains("mailto:")
  • Where: Browser size width: #viewport.width and height: #viewport.height