created on Thu Aug 12 17:45:24 UTC 2021 by root

1. Summary

Total Runs Success Rate Total time Failures Errors Skipped

0

100.0%

4.281 seconds

1

0

1

2. Features

2.1. Functionality of Component Variant: Default in LG FAILURE

Result: FAILURE Time: 2.477 seconds

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

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
def selector = "#pagedate1"
  • 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 rich text

1
2
assert $(selector).text().trim().startsWith("February 21, 2018")
takeScreenshot($(selector).firstElement(), "Should have sample page date")
  • And Should have attribute datetime

1
assert $(selector).attr("datetime").trim().equals("2018-02-21")
  • Where:

The following problems occurred:
Condition not satisfied:

$(selector).text().trim().startsWith("February 21, 2018")
| |         |      |      |
| #pagedate1|      |      false
|           |      Wednesday 21 February 2018
|           Wednesday 21 February 2018
[[[RemoteWebDriver: chrome on LINUX (13b7334604e2b6cfd3853f74d8158456)] -> css selector: #pagedate1]]