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

1. Summary

Total Runs Success Rate Total time Failures Errors Skipped

0

100.0%

5.847 seconds

1

0

1

2. Features

2.1. Functionality of Component Variant: Default in LG FAILURE

Result: FAILURE Time: 3.537 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 (344ae6bde7271fdb2bbbc1d742ebe779)] -> css selector: #contentblock1 .cmp-contentfragment]]