created on Thu Aug 12 17:56:05 UTC 2021 by root

1. Summary

Total Runs Success Rate Total time Failures Errors Skipped

3

100.0%

8.624 seconds

0

0

0

2. Features

2.1. Functionality of Component Menu Source: Page in LG PASS

Result: PASS Time: 2.650 seconds

  • Given: >the page hierarchy is created as "Components" > "Layout" > "ContentBlockMenu"

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
def selector = "#contentblockmenu1"
  • 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 Menu Source Page in LG The component should be on the page

  • And Should have first link with Section Locked

1
assert $("$selector a")[0].getAttribute("innerText") == "Section Locked"
  • And Should have second link with Container Unlocked

1
assert $("$selector a")[1].getAttribute("innerText") == "Container Unlocked"
  • Where:

2.2. Functionality of Component Menu Source: Page in LG PASS

Result: PASS Time: 2.484 seconds

  • Given: >the page hierarchy is created as "Components" > "Layout" > "ContentBlockMenu"

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
def selector = "#contentblockmenu2"
  • 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 Menu Source Page in LG The component should be on the page

  • And Should have first link with Section Locked

1
assert $("$selector a")[0].getAttribute("innerText") == "Section Locked Nested"
  • And Should have second link with Container Unlocked

1
assert $("$selector a")[1].getAttribute("innerText") == "Container Unlocked Nested"
  • Where:

2.3. Functionality of Content Block Menu in Content Block in LG PASS

Result: PASS Time: 2.481 seconds

  • Given: >the page hierarchy is created as "Components" > "Layout" > "ContentBlockMenu"

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
def selector = "#contentblockmenu13"
  • 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 Content Block Menu in Content Block in LG The component should be on the page

  • And Should have sample text from the first content block title

1
assert $("$selector a")[0].getAttribute("innerText") == "Content Block Test 1"
  • And Should have sample text from the second content block title

1
assert $("$selector a")[1].getAttribute("innerText") == "Content Block Test 2"
  • Where: