created on Thu Aug 12 18:07:15 UTC 2021 by root

1. Summary

Total Runs Success Rate Total time Failures Errors Skipped

0

100.0%

9.594 seconds

1

0

5

2. Features

2.1. Functionality of Component Variant: Default in LG IGNORED

Result: IGNORED Time: 2.623 seconds

  • Given: >the page hierarchy is created as "Components" > "Widgets" > "OnlineMedia"

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
2
def selector = "#onlinemedia1"
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)
report("The component should be on the page")
  • And Should have default media provider

1
assert $("${selector}").attr("data-mediaprovider").contains("default")
  • Where: Browser size width: 1366 and height: 1024

2.2. Functionality of Component Variant: Default with YouTube in LG IGNORED

Result: IGNORED Time: 2.676 seconds

  • Given: >the page hierarchy is created as "Components" > "Widgets" > "OnlineMedia"

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
2
def selector = "#onlinemedia2"
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 default media provider

1
assert $("${selector}").attr("data-mediaprovider").contains("youtube")
  • And Should have media id

1
assert $("${selector}").attr("data-mediaid").contains("tL46xeIV5mc")
  • Where: Browser size width: 1366 and height: 1024

2.3. Functionality of Component Variant: Default with Kaltura IGNORED

Result: IGNORED Time: 0

URL:

  • Given: >the page hierarchy is created as "Components" > "Widgets" > "OnlineMedia"

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
2
def selector = "#onlinemedia3"
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")
  • And Should have default media provider

1
assert $("${selector}").attr("data-mediaprovider").contains("kaltura")
  • And Should have media id

1
assert $("${selector}").attr("data-mediaid").contains("1_lph7zzb1")
  • And Should have media title

1
assert $("${selector}").attr("data-mediatitle").contains("kaltura video")
  • And Should have media partner id

1
assert $("${selector}").attr("data-mediapartnerid").contains("_691292")
  • And Should have media player id

1
assert $("${selector}").attr("data-mediaplayerid").contains("20499062")
  • And Should have set width

1
assert $("${selector}").attr("width").toInteger() == 1000
  • And Should have set height

1
assert $("${selector}").attr("height").toInteger() == 850
  • Where: Browser size width: #viewport.width and height: #viewport.height

2.4. Functionality of Component Variant: IFrame with Youtube Video IGNORED

Result: IGNORED Time: 0

URL:

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

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
2
def selector = "#onlinemedia4"
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")
  • And Should have sample src set

1
assert $("${selector}").attr("src").contains("//www.youtube.com/embed/Dk7h22mRYHQ")
  • And Should have boolean attribute

1
assert $("${selector}").attr("allowfullscreen")
  • And Should have class modifier 'embed-responsive'

1
assert $(selector).hasClass("embed-responsive")
  • And Should have schema itemtype='http://schema.org/VideoObject'

1
assert $(selector).getAttribute("itemtype").equals("http://schema.org/VideoObject")
  • Where:

2.5. Functionality of Component Variant: IFrame with Vimeo Video in LG FAILURE

Result: FAILURE Time: 3.197 seconds

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

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
2
def selector = "#onlinemedia5"
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

Functionality of Component Variant IFrame with Vimeo Video in LG The component should be on the page

  • And Should have sample src set

1
assert $("${selector}").attr("src").contains("//player.vimeo.com/video/8733915")
  • And Should have class modifier 'embed-responsive'

1
assert $(selector).hasClass("embed-responsive")
  • Where:

The following problems occurred:
Condition not satisfied:

$(selector).hasClass("embed-responsive")
| |         |
| |         false
| #onlinemedia5
[[[RemoteWebDriver: chrome on LINUX (13b7334604e2b6cfd3853f74d8158456)] -> css selector: #onlinemedia5]]