created on Wed Sep 15 01:16:44 UTC 2021 by root

1. Summary

Total Runs Success Rate Total time Failures Errors Skipped

1

100.0%

3.577 seconds

0

0

0

2. Features

2.1. Functionality of Component Variant: Default in LG PASS

Result: PASS Time: 2.278 seconds

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

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
2
def selector = "#embedsource1"
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
def component = waitForComponent(selector)
  • And Should have sample content

1
2
assert $(selector).text().trim().startsWith("visible text changed with embeded css")
takeScreenshot($(selector).firstElement(), "Should have sample content")
Current

Functionality of Component Variant Default in LG Should have sample content

  • And Custom embed style should apply to element

1
$("${selector} .embed.custom.style").jquery.css("color") == "rgb(255, 0, 0)"
  • And Custom embed script should apply to element

1
$("${selector} .embed.custom.js.hidden").css("display") == "block"
  • Where: