corusent.qa.globalstream.tests.video.LiveStreamV2
testLiveStreamV2
(2)
java.lang.AssertionError: Video Player was not started. expected [true] but found [false]
at corusent.qa.globalstream.tests.video.LiveStreamV2.testLiveStreamV2(LiveStreamV2.java:122)
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 Unlocked/Locked channels)
/codebuild/output/src3548179979/src/GlobalStream/resources/testngWatchGlobalTvLiveStream.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
<suite thread-count="1" parallel="classes" name="SuiteWatchGlobalTvLiveStream" guice-stage="DEVELOPMENT" verbose="0">
<test thread-count="1" parallel="classes" name="TestWatchGlobalTvLiveStream" verbose="0">
<parameter name="paramBrowserType" value="Chrome"/>
<parameter name="paramTestUrl" value="https://watch.globaltv.com/"/>
<parameter name="paramLoopNumber" value="2"/>
<classes>
<class name="corusent.qa.globalstream.tests.video.LiveStreamV2"/>
</classes>
</test> <!-- TestWatchGlobalTvLiveStream -->
</suite> <!-- SuiteWatchGlobalTvLiveStream -->
Tests for SuiteWatchGlobalTvLiveStream
- TestWatchGlobalTvLiveStream (1 class)
Groups for SuiteWatchGlobalTvLiveStream
Times for SuiteWatchGlobalTvLiveStream
Total running time: 6 minutes
Reporter output for SuiteWatchGlobalTvLiveStream
testLiveStreamV2(2)
Start UTC Time (2024-05-23T09:02:10.254059Z). Test will run against unlocked Global News channels
Test for channel: Global News National - started at: Thu May 23 09:02:10 GMT 2024
Step: User navigates to page: https://watch.globaltv.com/channel/49a91e7f-1023-430f-8d66-561055f3d0f7/
Step: User starts video player.
CheckPoint: User can start video player.
CheckPoint: Confirm response status code is 200 for domain: live.corusdigitaldev.com CheckPoints count: 3
CheckPoint: Video player state is: playing. CheckPoints count: 2
CheckPoint: Video player position is moving forward. CheckPoints count:2
Test for channel: Global News National - completed at: Thu May 23 09:02:40 GMT 2024
Test for channel: Global News BC - started at: Thu May 23 09:02:40 GMT 2024
Step: User navigates to page: https://watch.globaltv.com/channel/48a5882b-a1ec-42d7-bfd7-6c2739e737da/
Step: User starts video player.
CheckPoint: User can start video player.
CheckPoint: Confirm response status code is 200 for domain: live.corusdigitaldev.com CheckPoints count: 3
CheckPoint: Video player state is: playing. CheckPoints count: 2
CheckPoint: Video player position is moving forward. CheckPoints count:2
Test for channel: Global News BC - completed at: Thu May 23 09:03:10 GMT 2024
Test for channel: Global News Toronto - started at: Thu May 23 09:03:10 GMT 2024
Step: User navigates to page: https://watch.globaltv.com/channel/deb8cec5-87fb-460a-ab82-0929374fc5fb/
Step: User starts video player.
CheckPoint: User can start video player.
CheckPoint: Confirm response status code is 200 for domain: live.corusdigitaldev.com CheckPoints count: 2
CheckPoint: Video player state is: playing. CheckPoints count: 2
CheckPoint: Video player position is moving forward. CheckPoints count:2
Test for channel: Global News Toronto - completed at: Thu May 23 09:03:40 GMT 2024
Test for channel: Global News Edmonton - started at: Thu May 23 09:03:40 GMT 2024
Step: User navigates to page: https://watch.globaltv.com/channel/215422c9-d1b9-4009-aaca-32e403f22b01/
Step: User starts video player.
CheckPoint: User can start video player.
CheckPoint: Confirm response status code is 200 for domain: live.corusdigitaldev.com CheckPoints count: 3
CheckPoint: Video player state is: playing. CheckPoints count: 2
CheckPoint: Video player position is moving forward. CheckPoints count:2
Test for channel: Global News Edmonton - completed at: Thu May 23 09:04:10 GMT 2024
Test for channel: Global News Calgary - started at: Thu May 23 09:04:10 GMT 2024
Step: User navigates to page: https://watch.globaltv.com/channel/8970c668-40cd-4ca9-8c4d-25fd04f619b5/
Step: User starts video player.
CheckPoint: User can start video player.
CheckPoint: Confirm response status code is 200 for domain: live.corusdigitaldev.com CheckPoints count: 2
CheckPoint: Video player state is: playing. CheckPoints count: 2
CheckPoint: Video player position is moving forward. CheckPoints count:2
Test for channel: Global News Calgary - completed at: Thu May 23 09:04:41 GMT 2024
Test for channel: Global News Halifax - started at: Thu May 23 09:04:41 GMT 2024
Step: User navigates to page: https://watch.globaltv.com/channel/b60d1d57-2851-4c29-bf5c-36feed988e57/
Step: User starts video player.
CheckPoint: User can start video player.
CheckPoint: Confirm response status code is 200 for domain: live.corusdigitaldev.com CheckPoints count: 2
CheckPoint: Video player state is: playing. CheckPoints count: 2
CheckPoint: Video player position is moving forward. CheckPoints count:2
Test for channel: Global News Halifax - completed at: Thu May 23 09:05:11 GMT 2024
Test for channel: Global News Winnipeg - started at: Thu May 23 09:05:11 GMT 2024
Step: User navigates to page: https://watch.globaltv.com/channel/564df695-94f9-4f27-b1b9-0a936ab01721/
Step: User starts video player.
CheckPoint: User can start video player.
CheckPoint: Confirm response status code is 200 for domain: live.corusdigitaldev.com CheckPoints count: 3
CheckPoint: Video player state is: playing. CheckPoints count: 2
CheckPoint: Video player position is moving forward. CheckPoints count:2
Test for channel: Global News Winnipeg - completed at: Thu May 23 09:05:41 GMT 2024
Test for channel: Global News Montreal - started at: Thu May 23 09:05:41 GMT 2024
Step: User navigates to page: https://watch.globaltv.com/channel/6bfb7f13-9d9d-4211-9c50-fb56330e4ccd/
Step: User starts video player.
CheckPoint: User can start video player.
CheckPoint: Confirm response status code is 200 for domain: live.corusdigitaldev.com CheckPoints count: 3
CheckPoint: Video player state is: playing. CheckPoints count: 2
CheckPoint: Video player position is moving forward. CheckPoints count:2
Test for channel: Global News Montreal - completed at: Thu May 23 09:06:11 GMT 2024
Test for channel: Global News Saskatoon - started at: Thu May 23 09:06:11 GMT 2024
Step: User navigates to page: https://watch.globaltv.com/channel/f191ef59-6c28-42ba-86d0-d47df5280249/
Step: User starts video player.
CheckPoint: User can start video player.
CheckPoint: Confirm response status code is 200 for domain: live.corusdigitaldev.com CheckPoints count: 3
CheckPoint: Video player state is: playing. CheckPoints count: 2
CheckPoint: Video player position is moving forward. CheckPoints count:2
Test for channel: Global News Saskatoon - completed at: Thu May 23 09:06:41 GMT 2024
Test for channel: Global News Regina - started at: Thu May 23 09:06:41 GMT 2024
Step: User navigates to page: https://watch.globaltv.com/channel/3062d0e3-ed4c-4f47-8482-95648250f4b8/
Step: User starts video player.
CheckPoint: User can start video player.
CheckPoint: Confirm response status code is 200 for domain: live.corusdigitaldev.com CheckPoints count: 3
CheckPoint: Video player state is: playing. CheckPoints count: 2
CheckPoint: Video player position is moving forward. CheckPoints count:2
Test for channel: Global News Regina - completed at: Thu May 23 09:07:11 GMT 2024
Test for channel: Global News Okanagan - started at: Thu May 23 09:07:11 GMT 2024
Step: User navigates to page: https://watch.globaltv.com/channel/9fd97fb0-baa8-4191-bd2c-59aa5c9a1d48/
Step: User starts video player.
CheckPoint: User can start video player.
CheckPoint: Confirm response status code is 200 for domain: live.corusdigitaldev.com CheckPoints count: 2
CheckPoint: Video player state is: playing. CheckPoints count: 2
CheckPoint: Video player position is moving forward. CheckPoints count:2
Test for channel: Global News Okanagan - completed at: Thu May 23 09:07:41 GMT 2024
Test for channel: Global News Kingston - started at: Thu May 23 09:07:41 GMT 2024
Step: User navigates to page: https://watch.globaltv.com/channel/023a9e25-f0cf-4d97-af9f-5c665b7d45b9/
Step: User starts video player.
CheckPoint: User can start video player.
CheckPoint: Confirm response status code is 200 for domain: live.corusdigitaldev.com CheckPoints count: 3
CheckPoint: Video player state is: playing. CheckPoints count: 2
CheckPoint: Video player position is moving forward. CheckPoints count:2
Test for channel: Global News Kingston - completed at: Thu May 23 09:08:11 GMT 2024
Test for channel: Global News Peterborough - started at: Thu May 23 09:08:11 GMT 2024
Step: User navigates to page: https://watch.globaltv.com/channel/5eb39b64-58e8-47d2-97ca-25e8cd760b63/
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: [81163eabfa075fa779dc6b58ef0ebe5a, 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:33301}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: linux, proxy: Proxy(), se:cdp: ws://localhost:33301/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: 81163eabfa075fa779dc6b58ef0ebe5a
CheckPoint: User can start video player.
0 ignored methods
Methods in chronological order
corusent.qa.globalstream.tests.video.LiveStreamV2
beforeMethod(Chrome, https://watch.globaltv.com/)
0 ms
testLiveStreamV2(2)
5193 ms
afterMethod
398127 ms