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

1. Summary

Total Runs Success Rate Total time Failures Errors Skipped

0

100.0%

8.242 seconds

1

0

1

2. Features

2.1. Functionality of Component with Card with Image, Title, Category, Description and Action with Pagination in LG FAILURE

Result: FAILURE Time: 7.438 seconds

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

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
def selector = "#contactlist6"
  • 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 with Pagination in LG The component should be on the page

  • And Has two list items

1
assert $("${selector} ul.list > li").size() == 2
  • And Only next link exists on first page, without previous link

1
2
3
scrollIntoView($("${selector} .pagination").firstElement())
assert $("${selector} .pagination .next").isDisplayed()
assert !$("${selector} .pagination .previous").isDisplayed()
  • And Has pagination details

1
2
assert $("${selector} .pagination .current").text().trim() == "1"
takeScreenshot($(selector).firstElement(), "The component should be on first page")
Current

Functionality of Component with Card with Image Title Category Description and Action with Pagination in LG The component should be on first page

  • And Can select page 2

1
2
3
4
5
scrollIntoView($("${selector} .pagination").firstElement())
$("${selector} .pagination .next a").click()
waitForDocumentReady()
assert $("${selector} .pagination .current").text().trim() == "2"
takeScreenshot($(selector).firstElement(), "The component should be on second page")
Current

Functionality of Component with Card with Image Title Category Description and Action with Pagination in LG The component should be on second page

  • And Can select page 3

1
2
3
4
5
scrollIntoView($("${selector} .pagination").firstElement())
$("${selector} .pagination .next a").click()
waitForDocumentReady()
assert $("${selector} .pagination .current").text().trim() == "3"
takeScreenshot($(selector).firstElement(), "The component should be on third page")
  • And Only previous link exists on last page, without next link

1
2
3
scrollIntoView($("${selector} .pagination").firstElement())
assert !$("${selector} .pagination .next").isDisplayed()
assert $("${selector} .pagination .previous").isDisplayed()
  • And Can select previous page

1
2
3
4
5
scrollIntoView($("${selector} .pagination").firstElement())
$("${selector} .pagination .previous a").click()
waitForDocumentReady()
assert $("${selector} .pagination .current").text().trim() == "2"
takeScreenshot($(selector).firstElement(), "The component should be on forth page")
  • Where: Browser size width: 1366 and height: 1024

The following problems occurred:
Condition failed with Exception:

takeScreenshot($(selector).firstElement(), "The component should be on third page")
|              | |         |
|              | |         [[RemoteWebDriver: chrome on LINUX (344ae6bde7271fdb2bbbc1d742ebe779)] -> css selector: #contactlist6]
|              | #contactlist6
|              [[[RemoteWebDriver: chrome on LINUX (344ae6bde7271fdb2bbbc1d742ebe779)] -> css selector: #contactlist6]]
java.awt.image.RasterFormatException: (y + height) is outside of Raster