created on Wed Sep 15 01:18:15 UTC 2021 by root

1. Summary

Total Runs Success Rate Total time Failures Errors Skipped

0

100.0%

2.777 seconds

1

0

1

2. Features

2.1. Functionality of Component Variant: Default in LG FAILURE

Result: FAILURE Time: 1.646 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 (344ae6bde7271fdb2bbbc1d742ebe779)] -> css selector: #pagedate1]]