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

1. Summary

Total Runs Success Rate Total time Failures Errors Skipped

4

100.0%

18.255 seconds

0

0

0

2. Features

2.1. Functionality of Component Variant: iFrame with Parameters in LG PASS

Result: PASS Time: 4.568 seconds

  • Given: >the page hierarchy is created as "Components" > "Content" > "External"

  • And >I am in the component showcase page

  • And >the component is on the showcase page

  • And >"Width" is set to 600

  • And >"Height" is set to 900

  • And >"No" is selected in "Show Scrollbar" selection

1
def selector = "#external1"
  • 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 Its external content is loaded

1
waitFor { withFrame("external1") {  $("#external-page1-text") } }
  • And Should have sample content in iFrame 600x900

1
2
withFrame("external1") { browser.page.find("#external-page1-text").text().trim().toLowerCase() == "External Page Content 1".toLowerCase() }
takeScreenshot($(selector).firstElement(), "Should have sample content in iFrame 600x900")
Current

Functionality of Component Variant iFrame with Parameters in LG Should have sample content in iFrame 600x900

  • And I should be able to see the width of the iframe is set to 600

1
assert $(selector).attr("width") == "600"
  • And I should be able to see the height of the iframe is set to 900

1
assert $(selector).attr("height") == "900"
  • And I should not see the horizontal and vertical scroll bar

1
assert $(selector).attr("scrolling") == "false"
  • Where:

2.2. Functionality of Component Variant: iFrame without Parameters in LG PASS

Result: PASS Time: 4.150 seconds

  • Given: >the page hierarchy is created as "Components" > "Content" > "External"

  • And >I am in the component showcase page

  • And >the component is on the showcase page

  • And >"Width" is leave blank

  • And >"Height" is leave blank

  • And >"Show Scrollbar" selection leave as default (default = "Yes")

1
def selector = "#external2"
  • 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 Its external content is loaded

1
waitFor { withFrame("external2") { "#external-page1-text" } }
  • And Should have sample content in iFrame with scrollbar

1
2
withFrame("external2") { browser.page.find("#external-page1-text").text().trim().toLowerCase() == "External Page Content 1".toLowerCase() }
takeScreenshot($(selector).firstElement(), "Should have sample content in iFrame with scrollbar")
Current

Functionality of Component Variant iFrame without Parameters in LG Should have sample content in iFrame with scrollbar

  • And I should see the horizontal and vertical scrollbar

1
$(selector).attr("scrolling") == "yes"
  • Where:

2.3. Functionality of Component Variant: SSI Include in LG PASS

Result: PASS Time: 3.501 seconds

  • Given: >the page hierarchy is created as "Components" > "Content" > "External"

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
def selector = "#external3"
  • 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 SSI Include tag

1
assert $(selector).getAttribute("innerHTML").contains("#include")
  • Where:

2.4. Functionality of Component Variant: Server Import in LG PASS

Result: PASS Time: 4.811 seconds

  • Given: >the page hierarchy is created as "Components" > "Content" > "External"

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
def selector = "#external4"
  • 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 imported content

1
2
assert $(selector).text().trim().contains("Adobe")
takeScreenshot($(selector).firstElement(), "Should have imported content")
Current

Functionality of Component Variant Server Import in LG Should have imported content

  • Where: