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.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
corusent.qa.globalstream.tests.header.MenuLinks
/codebuild/output/src701029181/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: Wed May 01 19:22:53 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: [58e018c7f20cefffaffd6fdf5e397e14, findElement {using=css selector, value=#corusPlayer1 div.jw-display div.jw-icon[aria-label='Play']}]
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:39821}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: linux, proxy: Proxy(), se:cdp: ws://localhost:39821/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: 58e018c7f20cefffaffd6fdf5e397e14
CheckPoint: User can start video player.
0 ignored methods
Methods in chronological order
corusent.qa.globalstream.tests.footer.CopyrightYear
beforeMethod(Chrome, https://watch.globaltv.com/)
0 ms
corusent.qa.globalstream.tests.footer.FooterNavLinks
beforeMethod(Chrome, https://watch.globaltv.com/)
2 ms
corusent.qa.globalstream.tests.footer.CorusLogo
beforeMethod(Chrome, https://watch.globaltv.com/)
5 ms
testFooterCorusLogo
5725 ms
corusent.qa.globalstream.tests.footer.CopyrightYear
testCopyrightYear
5959 ms
corusent.qa.globalstream.tests.footer.FooterNavLinks
testFooterNavLinks
7320 ms
corusent.qa.globalstream.tests.footer.CopyrightYear
afterMethod
15666 ms
corusent.qa.globalstream.tests.footer.SocialLinks
beforeMethod(Chrome, https://watch.globaltv.com/)
15998 ms
corusent.qa.globalstream.tests.footer.CorusLogo
afterMethod
18239 ms
corusent.qa.globalstream.tests.header.GlobalLogo
beforeMethod(Chrome, https://watch.globaltv.com/)
18414 ms
corusent.qa.globalstream.tests.footer.SocialLinks
testFooterSocialLinks
19540 ms
corusent.qa.globalstream.tests.footer.FooterNavLinks
afterMethod
22235 ms
corusent.qa.globalstream.tests.header.MenuLinks
beforeMethod(Chrome, https://watch.globaltv.com/)
22498 ms
corusent.qa.globalstream.tests.header.GlobalLogo
testHeaderGlobalLogo
24107 ms
corusent.qa.globalstream.tests.footer.SocialLinks
afterMethod
26122 ms
corusent.qa.globalstream.tests.search.BasicSearch
beforeMethod(Chrome, https://watch.globaltv.com/)
26546 ms
corusent.qa.globalstream.tests.header.MenuLinks
testHeaderMenuLinks
28420 ms
corusent.qa.globalstream.tests.search.BasicSearch
testBasicSearch
32506 ms
corusent.qa.globalstream.tests.header.GlobalLogo
afterMethod
32755 ms
corusent.qa.globalstream.tests.shows.ShowAirYear
beforeMethod(Chrome, https://watch.globaltv.com/)
33116 ms
corusent.qa.globalstream.tests.header.MenuLinks
afterMethod
36398 ms
corusent.qa.globalstream.tests.shows.ShowShare
beforeMethod(Chrome, https://watch.globaltv.com/)
36631 ms
corusent.qa.globalstream.tests.shows.ShowAirYear
testShowAirYear
39352 ms
corusent.qa.globalstream.tests.shows.ShowShare
testShowShare
42007 ms
corusent.qa.globalstream.tests.search.BasicSearch
afterMethod
51976 ms
corusent.qa.globalstream.tests.video.LiveStream
beforeMethod(Chrome, https://watch.globaltv.com/)
52121 ms
corusent.qa.globalstream.tests.shows.ShowShare
afterMethod
53412 ms
corusent.qa.globalstream.tests.video.LiveStream
testLiveStream(2)
55051 ms
corusent.qa.globalstream.tests.shows.ShowAirYear
afterMethod
58293 ms
corusent.qa.globalstream.tests.video.LiveStream
afterMethod
87275 ms