corusent.qa.globalstream.tests.video.LiveStream
testLiveStream
(2)
java.lang.AssertionError: Video Player was not started. expected [true] but found [false]
at corusent.qa.globalstream.tests.video.LiveStream.testLiveStream(LiveStream.java:76)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
... Removed 17 stack frames
(Verify Live Stream)
corusent.qa.globalstream.tests.footer.CorusLogo
testFooterCorusLogo
java.lang.AssertionError: Footer Corus Logo Link (href) does not return status code 200 expected [true] but found [false]
at corusent.qa.globalstream.tests.footer.CorusLogo.testFooterCorusLogo(CorusLogo.java:16)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
... Removed 17 stack frames
(Verify Corus Brand Logo in footer)
corusent.qa.globalstream.tests.footer.CopyrightYear
corusent.qa.globalstream.tests.footer.SocialLinks
corusent.qa.globalstream.tests.search.BasicSearch
corusent.qa.globalstream.tests.shows.ShowAirYear
corusent.qa.globalstream.tests.shows.ShowShare
corusent.qa.globalstream.tests.footer.FooterNavLinks
corusent.qa.globalstream.tests.header.GlobalLogo
/codebuild/output/src2257400006/src/GlobalStream/resources/testngGlobalStreamUat.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
<suite thread-count="3" parallel="classes" name="TestSuiteGlobalStreamUat" guice-stage="DEVELOPMENT" verbose="0">
<test thread-count="3" parallel="classes" name="GlobalStreamChromeDesktopUat" verbose="0">
<parameter name="paramBrowserType" value="Chrome"/>
<parameter name="paramTestUrl" value="https://watch.globaltv.com/"/>
<classes>
<class name="corusent.qa.globalstream.tests.footer.CopyrightYear"/>
<class name="corusent.qa.globalstream.tests.footer.CorusLogo"/>
<class name="corusent.qa.globalstream.tests.footer.FooterNavLinks"/>
<class name="corusent.qa.globalstream.tests.footer.SocialLinks"/>
<class name="corusent.qa.globalstream.tests.header.GlobalLogo"/>
<class name="corusent.qa.globalstream.tests.header.MenuLinks"/>
<class name="corusent.qa.globalstream.tests.search.BasicSearch"/>
<class name="corusent.qa.globalstream.tests.shows.ShowAirYear"/>
<class name="corusent.qa.globalstream.tests.shows.ShowShare"/>
<class name="corusent.qa.globalstream.tests.video.LiveStream"/>
</classes>
</test> <!-- GlobalStreamChromeDesktopUat -->
</suite> <!-- TestSuiteGlobalStreamUat -->
Tests for TestSuiteGlobalStreamUat
- GlobalStreamChromeDesktopUat (10 classes)
Groups for TestSuiteGlobalStreamUat
Times for TestSuiteGlobalStreamUat
Total running time: 2 minutes
Reporter output for TestSuiteGlobalStreamUat
testLiveStream(2)
Test for channel: Global News National - started at: Mon May 06 21:11:00 GMT 2024
Step: User navigates to page: https://watch.globaltv.com/channel/49a91e7f-1023-430f-8d66-561055f3d0f7/
Step: User starts video player.
Exception in PageObjectVideoPlayer.java - method: startPlayer. Could not start live stream by clicking on the play icon.
Screenshot added below..
Exception added below..
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"css selector","selector":"#corusPlayer1 div.jw-display div.jw-icon[aria-label='Play']"}
(Session info: chrome-headless-shell=124.0.6367.60)
For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#no-such-element-exception
Build info: version: '4.20.0', revision: '866c76ca80'
System info: os.name: 'Linux', os.arch: 'amd64', os.version: '4.14.291-218.527.amzn2.x86_64', java.version: '11.0.19'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Command: [1c3a4ef37ddf8561e50a169f360bafe6, findElement {value=#corusPlayer1 div.jw-display div.jw-icon[aria-label='Play'], using=css selector}]
Capabilities {acceptInsecureCerts: false, browserName: chrome-headless-shell, browserVersion: 124.0.6367.60, chrome: {chromedriverVersion: 124.0.6367.60 (8771130bd84f..., userDataDir: /tmp/.org.chromium.Chromium...}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress: localhost:42239}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: linux, proxy: Proxy(), se:cdp: ws://localhost:42239/devtoo..., se:cdpVersion: 124.0.6367.60, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:extension:minPinLength: true, webauthn:extension:prf: true, webauthn:virtualAuthenticators: true}
Session ID: 1c3a4ef37ddf8561e50a169f360bafe6
CheckPoint: User can start video player.
0 ignored methods
Methods in chronological order
corusent.qa.globalstream.tests.footer.CorusLogo
beforeMethod(Chrome, https://watch.globaltv.com/)
0 ms
corusent.qa.globalstream.tests.footer.CopyrightYear
beforeMethod(Chrome, https://watch.globaltv.com/)
2 ms
corusent.qa.globalstream.tests.footer.FooterNavLinks
beforeMethod(Chrome, https://watch.globaltv.com/)
2 ms
corusent.qa.globalstream.tests.footer.CopyrightYear
testCopyrightYear
6099 ms
corusent.qa.globalstream.tests.footer.CorusLogo
testFooterCorusLogo
6463 ms
corusent.qa.globalstream.tests.footer.FooterNavLinks
testFooterNavLinks
6997 ms
corusent.qa.globalstream.tests.footer.CopyrightYear
afterMethod
14573 ms
corusent.qa.globalstream.tests.footer.SocialLinks
beforeMethod(Chrome, https://watch.globaltv.com/)
14889 ms
corusent.qa.globalstream.tests.footer.CorusLogo
afterMethod
15953 ms
corusent.qa.globalstream.tests.header.GlobalLogo
beforeMethod(Chrome, https://watch.globaltv.com/)
16195 ms
corusent.qa.globalstream.tests.footer.SocialLinks
testFooterSocialLinks
20194 ms
corusent.qa.globalstream.tests.header.GlobalLogo
testHeaderGlobalLogo
20805 ms
corusent.qa.globalstream.tests.footer.FooterNavLinks
afterMethod
23374 ms
corusent.qa.globalstream.tests.header.MenuLinks
beforeMethod(Chrome, https://watch.globaltv.com/)
23711 ms
corusent.qa.globalstream.tests.footer.SocialLinks
afterMethod
27398 ms
corusent.qa.globalstream.tests.search.BasicSearch
beforeMethod(Chrome, https://watch.globaltv.com/)
27751 ms
corusent.qa.globalstream.tests.header.GlobalLogo
afterMethod
28231 ms
corusent.qa.globalstream.tests.shows.ShowAirYear
beforeMethod(Chrome, https://watch.globaltv.com/)
28481 ms
corusent.qa.globalstream.tests.header.MenuLinks
testHeaderMenuLinks
33738 ms
corusent.qa.globalstream.tests.search.BasicSearch
testBasicSearch
34036 ms
corusent.qa.globalstream.tests.shows.ShowAirYear
testShowAirYear
34551 ms
corusent.qa.globalstream.tests.header.MenuLinks
afterMethod
37160 ms
corusent.qa.globalstream.tests.shows.ShowShare
beforeMethod(Chrome, https://watch.globaltv.com/)
37437 ms
testShowShare
42653 ms
corusent.qa.globalstream.tests.shows.ShowAirYear
afterMethod
52585 ms
corusent.qa.globalstream.tests.video.LiveStream
beforeMethod(Chrome, https://watch.globaltv.com/)
52688 ms
corusent.qa.globalstream.tests.search.BasicSearch
afterMethod
53585 ms
corusent.qa.globalstream.tests.shows.ShowShare
afterMethod
53662 ms
corusent.qa.globalstream.tests.video.LiveStream
testLiveStream(2)
54729 ms
afterMethod
88151 ms