created on Wed Sep 15 01:25:54 UTC 2021 by root

1. Summary

Total Runs Success Rate Total time Failures Errors Skipped

0

100.0%

3.391 seconds

1

0

3

2. Features

2.1. Functionality of Component with List of Children Pages in LG FAILURE

Result: FAILURE Time: 2.666 seconds

  • Given: >the page hierarchy is created as "Components" > "Layout" > "ContentTabs"

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
2
def selector = "#contenttabs1"
def selectorContainer = "#contentblock1 .contents"
  • When I am on the component showcase page

1
2
3
setWindowSize(viewport)
waitForAuthorPreviewPage()
takeScreenshot($(selector).firstElement(), "Should have sample content")
Current

Functionality of Component with List of Children Pages in LG Should have sample content

  • Then The component should be on the page

1
def component = waitForComponent(selector)
  • And First tab should be active

1
assert $(selector + " .nav-link.active").text().trim() == "Tab Page Content 1"
  • And Tab breadcrumb should match current page

1
assert $(selector + "_page1 .breadcrumb li.active").getAt(0).text().trim() == "Content Tabs"
  • And Tab contents page title should match tab page

1
assert $(selector + "_page1 .title")[0].getAttribute("innerText").trim() == "Tab Page Content 1"
  • And Tab contents page tags should only have one tag

1
assert $(selector + "_page1 .pagetags li").size() == 1
  • When I select second tab

1
2
$(selector + " .nav-link").getAt(1).click()
waitFor(15, 0.1) { $(selector + " .tab-pane").getAt(1).hasClass("active") }
  • Then Second tab content should be visible

1
2
assert $(selector + " .nav-link.active").text().trim() == "Tab Page Content 2"
takeScreenshot($(selector).firstElement(), "Second tab content show be visible")
  • Where:

The following problems occurred:
Condition not satisfied:

$(selector + "_page1 .pagetags li").size() == 1
| |        |                        |      |
[]|        |                        0      false
  |        #contenttabs1_page1 .pagetags li
  #contenttabs1

2.2. Functionality of Component with List of Static Pages IGNORED

Result: IGNORED Time: 0

URL:

  • Given: >the page hierarchy is created as "Components" > "Layout" > "ContentTabs"

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
2
def selector = "#contenttabs2"
def selectorContainer = "#contentblock2 .contents"
  • When I am on the component showcase page

1
2
3
setWindowSize(viewport)
waitForAuthorPreviewPage()
takeScreenshot($(selector).firstElement(), "I am on the component showcase page")
  • Then The component should be on the page

1
def component = waitForComponent(selector)
  • And First tab should be active

1
assert $(selector + " .nav-link.active").text().trim() == "Content Block"
  • When I select second tab

1
$(selector + " .nav.nav-tabs").find("li").getAt(1).find("a").getAt(0).click()
  • Then Second tab content should be visible

1
2
assert $(selector + " .nav-link.active").text().trim() == "Content Block Lock"
takeScreenshot($(selector).firstElement(), "Second tab content show be visible")
  • Where:

2.3. Functionality of Component Empty IGNORED

Result: IGNORED Time: 0

URL:

  • Given: >the page hierarchy is created as "Components" > "Layout" > "ContentTabs"

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
2
def selector = "#contenttabs3"
def selectorContainer = "#contentblock3 .contents"
  • When I am on the component showcase page

1
2
3
setWindowSize(viewport)
waitForAuthorPreviewPage()
takeScreenshot($(selector).firstElement(), "I am on the component showcase page")
  • Then The component should be on the page

1
def component = waitForComponent(selector)
  • And Should have sample rich text

1
assert $(selector + " .nav-link.active").text().trim() == "Empty"
  • Where: