created on Thu Aug 12 17:42:32 UTC 2021 by root

1. Summary

Total Runs Success Rate Total time Failures Errors Skipped

20

100.0%

1 minutes, 36.201 seconds

0

0

0

2. Features

2.1. Functionality of Component Variant: Default in LG PASS

Result: PASS Time: 5.899 seconds

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

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
2
def selector = "#download1"
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
def component = waitForComponent(selector)
  • And Should have sample content

1
2
assert $(selector).text().trim().startsWith("Asset Title")
takeScreenshot($(selector).firstElement(), "Should have sample content")
Current

Functionality of Component Variant Default in LG Should have sample content

  • And When asset is downloaded it matches repository asset file signature

1
assert verifyAssetDownload($(selector).firstElement().getAttribute("href"))
  • Where: Browser size width: 1366 and height: 1024

2.2. Functionality of Component Variant: Simple in LG PASS

Result: PASS Time: 4.906 seconds

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

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
2
def selector = "#download2"
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
def component = waitForComponent(selector)
  • And Should have sample content

1
2
assert $(selector).text().trim().startsWith("Asset Title")
takeScreenshot($(selector).firstElement(), "Should have sample content")
Current

Functionality of Component Variant Simple in LG Should have sample content

  • And Has sample icon line

1
assert $("${selector} .icon").size() != 0
  • And Has title line

1
assert $("${selector} div.title").text() == "Asset Title"
  • And Has description line

1
assert $("${selector} div.description").text() == "Asset Description"
  • And Has info line

1
assert $("${selector} div.info").text().contains("jpeg file")
  • Where: Browser size width: 1366 and height: 1024

2.3. Functionality of Component Variant: Card in LG PASS

Result: PASS Time: 4.366 seconds

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

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
2
def selector = "#download3"
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
def component = waitForComponent(selector)
  • And Should have sample content

1
2
assert $(selector).text().trim().startsWith("Asset Title")
takeScreenshot($(selector).firstElement(), "Should have sample content")
Current

Functionality of Component Variant Card in LG Should have sample content

  • And Has sample icon line

1
assert $("${selector} .icon").size() != 0
  • And Has title line

1
assert $("${selector} .card-title").text() == "Asset Title"
  • And Has description line

1
assert $("${selector} .card-description").text() == "Asset Description"
  • And Has info line

1
assert $("${selector} .card-info").text().contains("jpeg file")
  • And Has button line

1
assert $("${selector} .btn").text().toLowerCase() == "Download".toLowerCase()
  • Where: Browser size width: 1366 and height: 1024

2.4. Functionality of Component Variant: Default with Licensed Image in LG PASS

Result: PASS Time: 4.363 seconds

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

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
2
def selector = "#download4"
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
def component = waitForComponent(selector)
  • And Should have sample content

1
2
assert $(selector).text().trim().startsWith("Licensed Asset Title")
takeScreenshot($(selector).firstElement(), "Should have sample content")
Current

Functionality of Component Variant Default with Licensed Image in LG Should have sample content

  • And Has license line

1
assert $("${selector} .license").text().trim() == "2017 Creator Contributor Copyright Image Owner Copyright Owner"
  • Where: Browser size width: 1366 and height: 1024

2.5. Functionality of Component Variant: Simple with Licensed Image in LG PASS

Result: PASS Time: 4.599 seconds

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

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
2
def selector = "#download5"
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
def component = waitForComponent(selector)
  • And Should have sample content

1
2
assert $(selector).text().trim().startsWith("Licensed Asset Title")
takeScreenshot($(selector).firstElement(), "Should have sample content")
Current

Functionality of Component Variant Simple with Licensed Image in LG Should have sample content

  • And Has sample icon line

1
assert $("${selector} .icon").size() != 0
  • And Has title line

1
assert $("${selector} div.title").text() == "Licensed Asset Title"
  • And Has description line

1
assert $("${selector} div.description").text() == "Licensed Asset Description"
  • And Has info line

1
assert $("${selector} div.info").text().contains("jpeg file")
  • And Has license line

1
assert $("${selector} .license").text().trim() == "2017 Creator Contributor Copyright Image Owner Copyright Owner"
  • Where: Browser size width: 1366 and height: 1024

2.6. Functionality of Component Variant: Card with Licensed Image in LG PASS

Result: PASS Time: 4.321 seconds

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

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
2
def selector = "#download6"
def selectorContainer = "#contentblock6 .contents"
  • 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 content

1
2
assert $(selector).text().trim().startsWith("Licensed Asset Title")
takeScreenshot($(selector).firstElement(), "Should have sample content")
Current

Functionality of Component Variant Card with Licensed Image in LG Should have sample content

  • And Has sample icon line

1
assert $("${selector} span").size() != 0
  • And Has title line

1
assert $("${selector} .card-title").text() == "Licensed Asset Title"
  • And Has description line

1
assert $("${selector} .card-description").text() == "Licensed Asset Description"
  • And Has info line

1
assert $("${selector} .card-info").text().contains("jpeg file")
  • And Has button line

1
assert $("${selector} .btn").text().toLowerCase() == "Download".toLowerCase()
  • And Has license line

1
assert $("${selector} .license").text().trim() == "2017 Creator Contributor Copyright Image Owner Copyright Owner"
  • Where: Browser size width: 1366 and height: 1024

2.7. Functionality of Component Variant: Default without Authored Content in LG PASS

Result: PASS Time: 3.569 seconds

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

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
2
def selector = "#download7"
def selectorContainer = "#contentblock7 .contents"
  • 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 a placehoder image

1
assert $("${selector}[empty]").getAttribute("innerHTML").trim() == ""
  • Where: Browser size width: 1366 and height: 1024

2.8. Functionality of Component Variant: Default with Title and Description in LG PASS

Result: PASS Time: 4.767 seconds

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

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
2
def selector = "#download8"
def selectorContainer = "#contentblock8 .contents"
  • 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 content

1
2
assert $(selector).text().trim().startsWith("Can override non-Licensed Image Title")
takeScreenshot($(selector).firstElement(), "Should have sample content")
Current

Functionality of Component Variant Default with Title and Description in LG Should have sample content

  • And Has license line

1
assert $("${selector} .license").isEmpty()
  • Where: Browser size width: 1366 and height: 1024

2.9. Functionality of Component Variant: Simple with Title and Description in LG PASS

Result: PASS Time: 4.645 seconds

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

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
2
def selector = "#download9"
def selectorContainer = "#contentblock9 .contents"
  • 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 content

1
2
assert $(selector).text().trim().startsWith("Can override non-Licensed Image Title")
takeScreenshot($(selector).firstElement(), "Should have sample content")
Current

Functionality of Component Variant Simple with Title and Description in LG Should have sample content

  • And Has sample icon line

1
assert $("${selector} .icon").size() != 0
  • And Has title line

1
assert $("${selector} div.title").text() == "Can override non-Licensed Image Title"
  • And Has description line

1
assert $("${selector} div.description").text() == "Can override non-Licensed Image Description"
  • And Has info line

1
assert $("${selector} div.info").text().contains("jpeg file")
  • And Has license line

1
assert $("${selector} .license").isEmpty()
  • Where: Browser size width: 1366 and height: 1024

2.10. Functionality of Component Variant: Card with Title and Description in LG PASS

Result: PASS Time: 5.036 seconds

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

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
2
def selector = "#download10"
def selectorContainer = "#contentblock10 .contents"
  • 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 content

1
2
assert $(selector).text().trim().startsWith("Can override non-Licensed Image Title")
takeScreenshot($(selector).firstElement(), "Should have sample content")
Current

Functionality of Component Variant Card with Title and Description in LG Should have sample content

  • And Has sample icon line

1
assert $("${selector} .icon").size() != 0
  • And Has title line

1
assert $("${selector} .card-title").text() == "Can override non-Licensed Image Title"
  • And Has description line

1
assert $("${selector} .card-description").text() == "Can override non-Licensed Image Description"
  • And Has info line

1
assert $("${selector} .card-info").text().contains("jpeg file")
  • And Has button line

1
assert $("${selector} .btn").text().toLowerCase() == "Download".toLowerCase()
  • And Has license line

1
assert $("${selector} .license").isEmpty()
  • Where: Browser size width: 1366 and height: 1024

2.11. Functionality of Component Variant: Simple with Thumbnail Icon in LG PASS

Result: PASS Time: 4.243 seconds

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

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
2
def selector = "#download11"
def selectorContainer = "#contentblock11 .contents"
  • 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 content

1
2
assert $(selector).text().trim().startsWith("Asset Title")
takeScreenshot($(selector).firstElement(), "Should have sample content")
Current

Functionality of Component Variant Simple with Thumbnail Icon in LG Should have sample content

  • And Has sample icon line

1
assert $("${selector} .icon").size() != 0
  • And Has title line

1
assert $("${selector} div.title").text() == "Asset Title"
  • And Has description line

1
assert $("${selector} div.description").text() == "Asset Description"
  • And Has info line

1
assert $("${selector} div.info").text().contains("jpeg file")
  • And Has license line

1
assert $("${selector} .license").isEmpty()
  • Where: Browser size width: 1366 and height: 1024

2.12. Functionality of Component Variant: Card with Thumbnail Icon in LG PASS

Result: PASS Time: 4.779 seconds

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

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
2
def selector = "#download12"
def selectorContainer = "#contentblock12 .contents"
  • 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 content

1
2
assert $(selector).text().trim().startsWith("Asset Title")
takeScreenshot($(selector).firstElement(), "Should have sample content")
Current

Functionality of Component Variant Card with Thumbnail Icon in LG Should have sample content

  • And Has sample icon line

1
assert $("${selector} span.card-icon").size() != 0
  • And Has title line

1
assert $("${selector} .card-title").text() == "Asset Title"
  • And Has description line

1
assert $("${selector} .card-description").text() == "Asset Description"
  • And Has info line

1
assert $("${selector} .card-info").text().contains("jpeg file")
  • And Has button line

1
assert $("${selector} .btn").text().toLowerCase() == "Download".toLowerCase()
  • And Has license line

1
assert $("${selector} .license").isEmpty()
  • Where: Browser size width: 1366 and height: 1024

2.13. Functionality of Component Variant: Simple with Thumbnail using Asset DAM Rendition in LG PASS

Result: PASS Time: 4.737 seconds

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

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
2
def selector = "#download13"
def selectorContainer = "#contentblock13 .contents"
  • 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 content

1
2
assert $(selector).text().trim().startsWith("Asset Title")
takeScreenshot($(selector).firstElement(), "Should have sample content")
Current

Functionality of Component Variant Simple with Thumbnail using Asset DAM Rendition in LG Should have sample content

  • And Uses Asset Rendition as thumbnail

1
assert $("${selector} img").attr("src").contains($("${selector}").attr("href"))
  • And Has title line

1
assert $("${selector} div.title").text() == "Asset Title"
  • And Has description line

1
assert $("${selector} div.description").text() == "Asset Description"
  • And Has info line

1
assert $("${selector} div.info").text().contains("jpeg file")
  • And Has license line

1
assert $("${selector} .license").isEmpty()
  • Where: Browser size width: 1366 and height: 1024

2.14. Functionality of Component Variant: Card with Thumbnail using Asset DAM Rendition in LG PASS

Result: PASS Time: 6.927 seconds

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

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
2
def selector = "#download14"
def selectorContainer = "#contentblock14 .contents"
  • 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 content

1
2
assert $(selector).text().trim().startsWith("Asset Title")
takeScreenshot($(selector).firstElement(), "Should have sample content")
Current

Functionality of Component Variant Card with Thumbnail using Asset DAM Rendition in LG Should have sample content

  • And Uses Asset Rendition as thumbnail

1
assert $("${selector} img").attr("src").contains($("${selector}").attr("href"))
  • And Has title line

1
assert $("${selector} .card-title").text() == "Asset Title"
  • And Has description line

1
assert $("${selector} .card-description").text() == "Asset Description"
  • And Has info line

1
assert $("${selector} .card-info").text().contains("jpeg file")
  • And Has button line

1
assert $("${selector} .btn").text().toLowerCase() == "Download".toLowerCase()
  • And Has license line

1
assert $("${selector} .license").isEmpty()
  • Where: Browser size width: 1366 and height: 1024

2.15. Functionality of Component Variant: Simple with Thumbnail using Thumbnail DAM Rendition in LG PASS

Result: PASS Time: 4.620 seconds

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

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
2
def selector = "#download15"
def selectorContainer = "#contentblock15 .contents"
  • 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 content

1
2
assert $(selector).text().trim().startsWith("Asset Title")
takeScreenshot($(selector).firstElement(), "Should have sample content")
Current

Functionality of Component Variant Simple with Thumbnail using Thumbnail DAM Rendition in LG Should have sample content

  • And Does not use Asset Rendition as thumbnail

1
assert $("${selector} img").attr("src").contains($("${selector}").attr("href")) == false
  • And Uses Thumbnail Asset Rendition

1
assert $("${selector} img").attr("src").contains(".thumbnail.")
  • And Has title line

1
assert $("${selector} div.title").text() == "Asset Title"
  • And Has description line

1
assert $("${selector} div.description").text() == "Asset Description"
  • And Has info line

1
assert $("${selector} div.info").text().contains("jpeg file")
  • And Has license line

1
assert $("${selector} .license").isEmpty()
  • Where: Browser size width: 1366 and height: 1024

2.16. Functionality of Component Variant: Card with Thumbnail using Thumbnail DAM Rendition in LG PASS

Result: PASS Time: 4.722 seconds

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

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
2
def selector = "#download16"
def selectorContainer = "#contentblock16 .contents"
  • 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 content

1
2
assert $(selector).text().trim().startsWith("Asset Title")
takeScreenshot($(selector).firstElement(), "Should have sample content")
Current

Functionality of Component Variant Card with Thumbnail using Thumbnail DAM Rendition in LG Should have sample content

  • And Does not use Asset Rendition as thumbnail

1
assert $("${selector} img").attr("src").contains($("${selector}").attr("href")) == false
  • And Uses Thumbnail Asset Rendition

1
assert $("${selector} img").attr("src").contains(".thumbnail.")
  • And Has title line

1
assert $("${selector} .card-title").text() == "Asset Title"
  • And Has description line

1
assert $("${selector} .card-description").text() == "Asset Description"
  • And Has info line

1
assert $("${selector} .card-info").text().contains("jpeg file")
  • And Has button line

1
assert compareInnerTextIgnoreCase("${selector} .btn","Download")
  • And Has license line

1
assert $("${selector} .license").isEmpty()
  • Where: Browser size width: 1366 and height: 1024

2.17. Functionality of Component Variant: Simple with Custom Thumbnail Rendition in LG PASS

Result: PASS Time: 4.070 seconds

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

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
2
def selector = "#download17"
def selectorContainer = "#contentblock17 .contents"
  • 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 content

1
2
assert $(selector).text().trim().startsWith("Asset Title")
takeScreenshot($(selector).firstElement(), "Should have sample content")
Current

Functionality of Component Variant Simple with Custom Thumbnail Rendition in LG Should have sample content

  • And Does not use Asset Rendition as thumbnail

1
assert $("${selector} img").attr("src").contains($("${selector}").attr("href")) == false
  • And Uses Thumbnail Asset Rendition

1
assert $("${selector} img").attr("src").contains("/thumbnail.img.")
  • And Has title line

1
assert compareInnerTextIgnoreCase("${selector} .title","Asset Title")
  • And Has description line

1
assert compareInnerTextIgnoreCase("${selector} .description","Asset Description")
  • And Has info line

1
assert compareInnerTextContains("${selector} .info","jpeg file")
  • And Has license line

1
assert $("${selector} .license").isEmpty()
  • Where: Browser size width: 1366 and height: 1024

2.18. Functionality of Component Variant: Card with Custom Thumbnail Rendition in LG PASS

Result: PASS Time: 4.741 seconds

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

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
2
def selector = "#download18"
def selectorContainer = "#contentblock18 .contents"
  • 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 All images have loaded

1
waitForImagesToLoad2($("img"))
  • And Should have sample content

1
2
assert $(selector).text().trim().startsWith("Asset Title")
takeScreenshot($(selector).firstElement(), "Should have sample content")
Current

Functionality of Component Variant Card with Custom Thumbnail Rendition in LG Should have sample content

  • And Does not use Asset Rendition as thumbnail

1
assert $("${selector} img").attr("src").contains($("${selector}").attr("href")) == false
  • And Uses Thumbnail Asset Rendition

1
assert $("${selector} img").attr("src").contains("/thumbnail.img.")
  • And Has title line

1
assert compareInnerTextIgnoreCase("${selector} .card-title","Asset Title")
  • And Has description line

1
assert compareInnerTextIgnoreCase("${selector} .card-description","Asset Description")
  • And Has info line

1
assert compareInnerTextContains("${selector} .card-info","jpeg file")
  • And Has button line

1
assert compareInnerTextIgnoreCase("${selector} .btn","Download")
  • And Has license line

1
assert $("${selector} .license").isEmpty()
  • Where: Browser size width: 1366 and height: 1024

2.19. Functionality of Component Variant: Simple with Thumbnail using Asset DAM Rendition and Width Set in LG PASS

Result: PASS Time: 4.574 seconds

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

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
2
def selector = "#download19"
def selectorContainer = "#contentblock19 .contents"
  • 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 All images have loaded

1
waitForImagesToLoad2($("img"))
  • And Should have sample content

1
2
assert $(selector).text().trim().startsWith("Asset Title")
takeScreenshot($(selector).firstElement(), "Should have sample content")
Current

Functionality of Component Variant Simple with Thumbnail using Asset DAM Rendition and Width Set in LG Should have sample content

  • And Uses Asset Rendition as thumbnail

1
assert $("${selector} img").attr("src").contains($("${selector}").attr("href"))
  • And Thumbnail has width specified

1
assert $("${selector}").attr("thumbnailwidth").equals("50")
  • And Has title line

1
assert compareInnerTextIgnoreCase("${selector} .title","Asset Title")
  • And Has description line

1
assert compareInnerTextIgnoreCase("${selector} .description","Asset Description")
  • And Has info line

1
assert compareInnerTextContains("${selector} .info","jpeg file")
  • And Has license line

1
assert $("${selector} .license").isEmpty()
  • Where: Browser size width: 1366 and height: 1024

2.20. Functionality of Component Variant: Simple with Thumbnail using Asset DAM Rendition and Height Set in LG PASS

Result: PASS Time: 4.196 seconds

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

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
2
def selector = "#download20"
def selectorContainer = "#contentblock20 .contents"
  • 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 content

1
2
assert $(selector).text().trim().startsWith("Asset Title")
takeScreenshot($(selector).firstElement(), "Should have sample content")
Current

Functionality of Component Variant Simple with Thumbnail using Asset DAM Rendition and Height Set in LG Should have sample content

  • And Uses Asset Rendition as thumbnail

1
assert $("${selector} img").attr("src").contains($("${selector}").attr("href"))
  • And Thumbnail has height specified

1
assert $("${selector}").attr("thumbnailheight").equals("50")
  • And Has title line

1
assert compareInnerTextIgnoreCase("${selector} .title","Asset Title")
  • And Has description line

1
assert compareInnerTextIgnoreCase("${selector} .description","Asset Description")
  • And Has info line

1
assert compareInnerTextContains("${selector} .info","jpeg file")
  • And Has license line

1
assert $("${selector} .license").isEmpty()
  • Where: Browser size width: 1366 and height: 1024