created on Thu Aug 12 17:49:59 UTC 2021 by root

1. Summary

Total Runs Success Rate Total time Failures Errors Skipped

0

100.0%

4.116 seconds

1

0

10

2. Features

2.1. Default without included components in LG FAILURE

Result: FAILURE Time: 3.066 seconds

  • Given: >the page hierarchy is created as "Components" > "Details" > "Generic Details"

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
def selector = "#generic-details1"
  • 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

Default without included components in LG The component should be on the page

  • And Has Breadcrumb hidden

1
assert $("${selector} .breadcrumb").isEmpty() == true
  • And Has Toolbar hidden

1
assert $("${selector} .navbar").isEmpty() == true
  • And Has Parsys hidden

1
assert $("${selector} .text").isEmpty() == true
  • Where:

The following problems occurred:
Condition not satisfied:

$("${selector} .breadcrumb").isEmpty() == true
|   |                        |         |
|   #generic-details1        false     false
[[[RemoteWebDriver: chrome on LINUX (13b7334604e2b6cfd3853f74d8158456)] -> css selector: #generic-details1 .breadcrumb], [[RemoteWebDriver: chrome on LINUX (13b7334604e2b6cfd3853f74d8158456)] -> css selector: #generic-details1 .breadcrumb], [[RemoteWebDriver: chrome on LINUX (13b7334604e2b6cfd3853f74d8158456)] -> css selector: #generic-details1 .breadcrumb]]

2.2. Default with included components IGNORED

Result: IGNORED Time: 0

URL:

  • Given: >the page hierarchy is created as "Components" > "Details" > "Generic Details"

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
def selector = "#generic-details2"
  • When I am on the component showcase page

1
2
3
setWindowSize(viewport)
waitForAuthorPreviewPage()
report("I am on the component showcase page")
  • Then The component should be on the page

1
2
def component = waitForComponent(selector)
takeScreenshot($(selector).firstElement(), "The component should be on the page")
  • And Section should have a background image

1
assert $(selector).css("background-image").indexOf("/content/dam/aemdesign-showcase/en/components/media/image/city2.jpg") > 0
  • And Has Breadcrumb visible

1
assert $("${selector} nav.breadcrumb").isEmpty() == false
  • And Has Breadcrumb has sample content

1
assert $("${selector} nav.breadcrumb li").first().text().trim() == "AEM.Design Showcase"
  • And Has Breadcrumb has Navigation Title

1
assert $("${selector} nav.breadcrumb li").last().text().trim() == "Page Properties - Navigation Title"
  • And Has Toolbar has sample content

1
assert compareInnerTextContains("${selector} #text_in_toolbar", "Text in Toolbar")
  • And Has Page Date Value

1
assert compareInnerTextContains("${selector} .pagedate time", "September 15, 2019")
  • And Has Title

1
assert compareInnerTextContains("${selector} header > h1", "Page Properties - Page Title")
  • And Has Description

1
assert compareInnerTextContains("${selector} header > .description", "Page Properties - Description")
  • And Has Parsys Text

1
assert compareInnerTextContains("${selector} #text_in_parsys","Text in Parsys")
  • Where:

2.3. Functionality of Component with Hidden Variant IGNORED

Result: IGNORED Time: 0

URL:

  • Given: >the page hierarchy is created as "Components" > "Details" > "Generic Details"

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
def selector = "#generic-details3"
  • 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 be empty

1
assert $(selector).children().size() == 0
  • And Should have hidden attribute

1
assert $("[hidden]${selector}").size() == 1
  • Where:

2.4. Functionality of Component with Background and Inherited Toolbar IGNORED

Result: IGNORED Time: 0

URL:

  • Given: >the page hierarchy is created as "Components" > "Details" > "Generic Details"

  • And >I am in the component showcase page

  • And >the component is on the showcase page

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

1
2
3
setWindowSize(viewport)
waitForAuthorPreviewPage()
report("I am on the component showcase page")
  • Then The component should be on the page

1
2
def component = waitForComponent(selector)
takeScreenshot($(selector).firstElement(), "The component should be on the page")
  • And Section should have a background image

1
assert $(selector).css("background-image").indexOf("/content/dam/aemdesign-showcase/en/components/media/image/city2.jpg") > 0
  • And Has Breadcrumb has sample content

1
assert $("${selector} nav.breadcrumb li").first().text().trim() == "AEM.Design Showcase"
  • And Has Breadcrumb has Navigation Title

1
assert $("${selector} nav.breadcrumb li").last().text().trim() == "Page Properties - Navigation Title"
  • And Has Toolbar has sample content

1
assert compareInnerTextContains("${selector} #text_in_parent_toolbar", "Text in Parent Toolbar")
  • And Has Page Date Value

1
assert compareInnerTextContains("${selector} .pagedate time", "September 15, 2019")
  • And Has Title

1
assert compareInnerTextContains("${selector} header .card-title", "Page Properties - Page Title")
  • And Has Description

1
assert compareInnerTextContains("${selector} header .card-text", "Page Properties - Description")
  • And Has Parsys Text

1
assert compareInnerTextContains("${selector} #text_in_parsys", "Text in Parsys")
  • Where:

2.5. Page Details: Default without included components and hidden Description IGNORED

Result: IGNORED Time: 0

URL:

  • Given: >the page hierarchy is created as "Components" > "Details" > "Generic Details"

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
def selector = "#generic-details5"
  • 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")
  • And Has Breadcrumb hidden

1
assert $("${selector} nav.breadcrumb").isEmpty() == true
  • And Has Toolbar hidden

1
assert $("${selector} .navbar").isEmpty() == true
  • And Has Page Date visible

1
assert $("${selector} .pagedate time").isEmpty() == true
  • And Has Title showing

1
assert $("${selector} header .card-title").isEmpty() == false
  • And Has Description hidden

1
assert $("${selector} header .card-text").isEmpty() == true
  • And Has Parsys hidden

1
assert $("${selector} .text").isEmpty() == true
  • Where:

2.6. Page Details: Default without included components and hidden Title and Description IGNORED

Result: IGNORED Time: 0

URL:

  • Given: >the page hierarchy is created as "Components" > "Details" > "Generic Details"

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
2
def selector = "#generic-details6"
def selectorContainer = "#contentblock6"
  • 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")
  • And Has Breadcrumb hidden

1
assert $("${selector} nav.breadcrumb").isEmpty() == true
  • And Has Toolbar hidden

1
assert $("${selector} .navbar").isEmpty() == true
  • And Has Page Date visible

1
assert $("${selector} .pagedate time").isEmpty() == false
  • And Has Title showing

1
assert $("${selector} h1").isEmpty() == true
  • And Has Description hidden

1
assert $("${selector} .description").isEmpty() == true
  • And Has Parsys hidden

1
assert $("${selector} .text").isEmpty() == true
  • Where:

2.7. Custom Variant using Field Template Card with selected Fields Subtitle, Title, Description and Action IGNORED

Result: IGNORED Time: 0

URL:

  • Given: >the page hierarchy is created as "Components" > "Details" > "Generic Details"

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
def selector = "#generic-details7"
  • 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")
  • And Has Sub Title

1
assert compareInnerTextContains("${selector} .card-subtitle", "Page Properties - Subtitle")
  • And Has Title

1
assert compareInnerTextContains("${selector} .card-title", "Page Properties - Page Title")
  • And Has Description

1
assert compareInnerTextContains("${selector} .card-text", "Page Properties - Description")
  • And Has Action

1
assert compareInnerTextContains("${selector} .card-action", "Page Properties - Navigation Title")
  • Where:

2.8. Variant Template with Breadcrumb, SubTitle, Title, Description and Action IGNORED

Result: IGNORED Time: 0

URL:

  • Given: >the page hierarchy is created as "Components" > "Details" > "Generic Details"

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
def selector = "#generic-details8"
  • 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")
  • And Has Sub Title visible

1
assert $("${selector} .breadcrumb").isEmpty() == false
  • And Has Title visible

1
assert $("${selector} .card-subtitle").isEmpty() == false
  • And Has Title visible

1
assert $("${selector} .card-title").isEmpty() == false
  • And Has Description visible

1
assert $("${selector} .card-text").isEmpty() == false
  • And Has Action visible

1
assert $("${selector} .card-action").isEmpty() == false
  • Where:

2.9. Default without included components and Page Date, Custom Title and Description IGNORED

Result: IGNORED Time: 0

URL:

  • Given: >the page hierarchy is created as "Components" > "Details" > "Generic Details"

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
def selector = "#generic-details9"
  • 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")
  • And Has Breadcrumb hidden

1
assert $("${selector} nav.breadcrumb").isEmpty() == true
  • And Has Toolbar hidden

1
assert $("${selector} .navbar").isEmpty() == true
  • And Has Page Date visible

1
assert $("${selector} .pagedate time").isEmpty() == false
  • And Has Title showing

1
assert $("${selector} .card-title").isEmpty() == false
  • And Has Description hidden

1
assert $("${selector} .card-text").isEmpty() == false
  • And Has Parsys hidden

1
assert $("${selector} .text").isEmpty() == true
  • Where:

2.10. Page Details: Default metadata added to page IGNORED

Result: IGNORED Time: 0

URL:

  • Given: >the page hierarchy is created as "Components" > "Details" > "Generic Details"

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
def selector = "#generic-details"
  • 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 Page has metadata field og:title from Details component

1
assert $("meta[property='og:title']").attr("content").equals("Page Properties - Page Title")
  • And Page has metadata field og:type

1
assert $("meta[property='og:type']").attr("content").equals("article")
  • And Page has metadata field og:image

1
assert $("meta[property='og:image']").attr("content").contains("generic-details.thumb.")
  • And Page has metadata field og:url

1
assert $("meta[property='og:url']").attr("content").contains("details/generic-details.html")
  • And Page has canonical link

1
assert $("link[rel='canonical']").attr("href").contains("details/generic-details.html")