created on Thu Aug 12 18:03:53 UTC 2021 by root

1. Summary

Total Runs Success Rate Total time Failures Errors Skipped

0

100.0%

3.013 seconds

1

0

2

2. Features

2.1. Functionality of Component Variant: Default with Audio Source in LG FAILURE

Result: FAILURE Time: 2.025 seconds

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

  • And >I am in the component showcase page

  • And >the component is on the showcase page

1
2
def selector = "#audio1"
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 sample content

1
2
assert $("${selector} audio source").attr("src").contains("/recit.mp3")
takeScreenshot($(selector).firstElement(), "Should have sample content")
Current

Functionality of Component Variant Default with Audio Source in LG Should have sample content

  • And Should have sample content loaded

1
assert $("${selector} audio").firstElement().getAttribute("readyState") == "4"
  • And Should have sample content not playing

1
assert js.exec("return \$(\"${selector} audio\")[0].paused == true;")
  • Where: Browser size width: 1366 and height: 1024

The following problems occurred:
Condition not satisfied:

$("${selector} audio").firstElement().getAttribute("readyState") == "4"
|   |                  |              |                          |
|   #audio1            |              0                          false
|                      |                                         1 difference (0% similarity)
|                      |                                         (0)
|                      |                                         (4)
|                      [[RemoteWebDriver: chrome on LINUX (13b7334604e2b6cfd3853f74d8158456)] -> css selector: #audio1 audio]
[[[RemoteWebDriver: chrome on LINUX (13b7334604e2b6cfd3853f74d8158456)] -> css selector: #audio1 audio]]

2.2. Functionality of Component Variant: Default with Video Source IGNORED

Result: IGNORED Time: 0

URL:

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

  • And >I am in the component showcase page

  • And >the component is on the showcase page

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

1
2
assert $("${selector} audio source").attr("src").contains("/FishTank.mp4")
takeScreenshot($(selector).firstElement(), "Should have sample content")
  • And Should have sample content loaded

1
assert $("${selector} audio").firstElement().getAttribute("readyState") == "4"
  • And Should have sample content not playing

1
assert js.exec("return \$(\"${selector} audio\")[0].paused == true;")
  • Where: Browser size width: #viewport.width and height: #viewport.height