created on Thu Aug 12 17:39:29 UTC 2021 by root

1. Summary

Total Runs Success Rate Total time Failures Errors Skipped

0

100.0%

12.151 seconds

1

0

1

2. Features

2.1. Functionality of Component Variant: Default in LG FAILURE

Result: FAILURE Time: 9.147 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
def selector = "#contentblock1 .cmp-contentfragment"
  • 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).getAttribute("data-path") == "/content/dam/aemdesign-showcase/en/content-fragments/all-field-types"
takeScreenshot($(selector).firstElement(), "Should have sample content")
  • And Custom embed style should apply to element

1
assert compareInnerTextIgnoreCase("${selector} .cmp-contentfragment__element.cmp-contentfragment__element--text .cmp-contentfragment__element-label", "Text")
  • Where:

The following problems occurred:
Condition not satisfied:

$(selector).getAttribute("data-path") == "/content/dam/aemdesign-showcase/en/content-fragments/all-field-types"
| |         |                         |
| |         ""                        false
| #contentblock1 .cmp-contentfragment 68 differences (0% similarity)
|                                     (--------------------------------------------------------------------)
|                                     (/content/dam/aemdesign-showcase/en/content-fragments/all-field-types)
[[[RemoteWebDriver: chrome on LINUX (13b7334604e2b6cfd3853f74d8158456)] -> css selector: #contentblock1 .cmp-contentfragment]]