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

1. Summary

Total Runs Success Rate Total time Failures Errors Skipped

7

100.0%

17.324 seconds

0

0

0

2. Features

2.1. Nav List: Default with Fixed List in LG PASS

Result: PASS Time: 2.403 seconds

  • Given: >the page hierarchy is created as "Components" > "Lists" > "Nav List"

  • And >I am in the component showcase page

  • And >the component is on the showcase page

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

1
2
setWindowSize(viewport)
waitForAuthorPreviewPage()
  • Then The component should be on the page

1
2
def component = waitForComponent(selector)
takeScreenshot($(selector).firstElement(), "The component should be on the page")
Current

Nav List Default with Fixed List in LG The component should be on the page

  • And Has two list items

1
assert $("${selector} li").size() == 2
  • And Has first item

1
assert $("${selector} li").firstElement().getAttribute("textContent").trim().contains("Page1")
  • And Has last item

1
assert $("${selector} li").lastElement().getAttribute("textContent").trim().contains("Page2")
  • Where: Browser size width: 1366 and height: 1024

2.2. Nav List: Simple with Fixed List in LG PASS

Result: PASS Time: 2.464 seconds

  • Given: >the page hierarchy is created as "Components" > "Lists" > "Nav List"

  • And >I am in the component showcase page

  • And >the component is on the showcase page

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

1
2
setWindowSize(viewport)
waitForAuthorPreviewPage()
  • Then The component should be on the page

1
2
def component = waitForComponent(selector)
takeScreenshot($(selector).firstElement(), "The component should be on the page")
Current

Nav List Simple with Fixed List in LG The component should be on the page

  • And Has two list items

1
assert $("${selector} li").size() == 2
  • And Has first item

1
assert $("${selector} .menu a").firstElement().getAttribute("textContent").trim().contains("Page1")
  • And Has last item

1
assert $("${selector} .menu a").lastElement().getAttribute("textContent").trim().contains("Page2")
  • Where: Browser size width: 1366 and height: 1024

2.3. Nav List: Stacked with Fixed List in LG PASS

Result: PASS Time: 2.535 seconds

  • Given: >the page hierarchy is created as "Components" > "Lists" > "Nav List"

  • And >I am in the component showcase page

  • And >the component is on the showcase page

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

1
2
setWindowSize(viewport)
waitForAuthorPreviewPage()
  • Then The component should be on the page

1
2
def component = waitForComponent(selector)
takeScreenshot($(selector).firstElement(), "The component should be on the page")
Current

Nav List Stacked with Fixed List in LG The component should be on the page

  • And Has two list items

1
assert $("${selector} li.dropdown").size() == 2
  • And Has first item

1
assert $("${selector} li.dropdown").getAt(0).find("a.dropdown-toggle").getAttribute("textContent").trim() == "Page1"
  • And First item has five sub items

1
assert $("${selector} li.dropdown").getAt(0).find("div.dropdown-menu a").size() == 5
  • And Has last item

1
assert $("${selector} li.dropdown").getAt(1).find("a.dropdown-toggle").getAttribute("textContent").trim() == "Page2"
  • And Last item has five sub items

1
assert $("${selector} li.dropdown").getAt(1).find("div.dropdown-menu a").size() == 5
  • Where: Browser size width: 1366 and height: 1024

2.4. Nav List: Simple with Children List in LG PASS

Result: PASS Time: 2.481 seconds

  • Given: >the page hierarchy is created as "Components" > "Lists" > "Nav List"

  • And >I am in the component showcase page

  • And >the component is on the showcase page

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

1
2
setWindowSize(viewport)
waitForAuthorPreviewPage()
  • Then The component should be on the page

1
2
def component = waitForComponent(selector)
takeScreenshot($(selector).firstElement(), "The component should be on the page")
Current

Nav List Simple with Children List in LG The component should be on the page

  • And Has five list items

1
assert $("${selector} li").size() == 5
  • And Has first item

1
assert $("${selector} .menu a").firstElement().getAttribute("textContent").trim().contains("Page1")
  • And Has last item

1
assert $("${selector} .menu a").lastElement().getAttribute("textContent").trim().contains("Page5")
  • Where: Browser size width: 1366 and height: 1024

2.5. Nav List: Stacked with Children List in LG PASS

Result: PASS Time: 2.522 seconds

  • Given: >the page hierarchy is created as "Components" > "Lists" > "Nav List"

  • And >I am in the component showcase page

  • And >the component is on the showcase page

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

1
2
setWindowSize(viewport)
waitForAuthorPreviewPage()
  • Then The component should be on the page

1
2
def component = waitForComponent(selector)
takeScreenshot($(selector).firstElement(), "The component should be on the page")
Current

Nav List Stacked with Children List in LG The component should be on the page

  • And Has two list items

1
assert $("${selector} li.dropdown").size() == 5
  • And Has first item

1
assert $("${selector} li.dropdown").getAt(0).find("a.dropdown-toggle").getAttribute("textContent").trim() == "Page1"
  • And First item has five sub items

1
assert $("${selector} li.dropdown").getAt(0).find("div.dropdown-menu a").size() == 5
  • And Has last item

1
assert $("${selector} li.dropdown").getAt(4).find("a.dropdown-toggle").getAttribute("textContent").trim() == "Page5"
  • And First item has five sub items

1
assert $("${selector} li.dropdown").getAt(4).find("div.dropdown-menu a").size() == 5
  • Where: Browser size width: 1366 and height: 1024

2.6. Nav List: Stacked with Children List has correct current page marks LG PASS

Result: PASS Time: 1.663 seconds

  • Given: >the page hierarchy is created as "Components" > "Lists" > "Nav List" > "Pages" > "Page 2" > "Page 2"

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
def selector = "#inheritedListInAside"
  • When I am on the component showcase page

1
2
setWindowSize(viewport)
waitForAuthorPreviewPageUrl("content/aemdesign-showcase/au/en/component/lists/nav-list/pages/page2/page2.html")
  • Then The component should be on the page

1
2
def component = waitForComponent(selector)
takeScreenshot($(selector).firstElement(), "The component should be on the page")
Current

Nav List Stacked with Children List has correct current page marks LG The component should be on the page

  • And Has five nav items

1
assert $("${selector} li.nav-item").size() == 5
  • And Has first menu item not marked as current

1
assert !$("${selector} li.nav-item").getAt(0).getAttribute("class").contains("current")
  • And Has second menu item marked as current

1
assert $("${selector} li.nav-item").getAt(1).getAttribute("class").contains("current")
  • And Has second menu item with link marked as active

1
assert $("${selector} li.nav-item").getAt(1).find("a.active").size() == 1
  • And Has second menu item with link marked as active should have current link title equals Page2

1
assert $("${selector} li.nav-item.current").find("a.current").firstElement().getAttribute("textContent").trim() == "Page2"
  • Where: Browser size width: 1366 and height: 1024

2.7. Nav List: Dropdown with Children List in LG PASS

Result: PASS Time: 2.518 seconds

  • Given: >the page hierarchy is created as "Components" > "Lists" > "Nav List"

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
def selector = "#navlist6"
  • When I am on the component showcase page

1
2
setWindowSize(viewport)
waitForAuthorPreviewPage()
  • Then The component should be on the page

1
2
def component = waitForComponent(selector)
takeScreenshot($(selector).firstElement(), "The component should be on the page")
Current

Nav List Dropdown with Children List in LG The component should be on the page

  • And Has five first level items

1
assert $("${selector} li").size() == 5
  • And First item has five items

1
assert $("[aria-labelledby=navlist6_page1] > .nav-item").size() == 5
  • And First item has five items

1
assert $("[aria-labelledby=navlist6_page1_page1] > .nav-item").size() == 2
  • Where: Browser size width: 1366 and height: 1024