corusent.qa.globalstream.tests.video.LiveStreamV3
testLiveStreamV3
(2)
java.lang.AssertionError: Response status code is not 200 for domain: live.corusdigitaldev.com Captured status code was: 404 expected [true] but found [false]
at corusent.qa.globalstream.tests.video.LiveStreamV3.testLiveStreamV3(LiveStreamV3.java:305)
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/src3977897638/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.LiveStreamV3"/>
</classes>
</test> <!-- TestWatchGlobalTvLiveStream -->
</suite> <!-- SuiteWatchGlobalTvLiveStream -->
Tests for SuiteWatchGlobalTvLiveStream
- TestWatchGlobalTvLiveStream (1 class)
Groups for SuiteWatchGlobalTvLiveStream
Times for SuiteWatchGlobalTvLiveStream
Total running time: 7 minutes
Reporter output for SuiteWatchGlobalTvLiveStream
testLiveStreamV3(2)
Platform name: linux
Browser name: chrome
Browser version: 126.0.6478.61
Chrome driver version: {chromedriverVersion=126.0.6478.55 (7616ff175414646cbd1ac65e912fc530b19cc573-refs/branch-heads/6478@{#1402}), userDataDir=/tmp/.org.chromium.Chromium.tLRrmr}
Start UTC Time (2024-07-23T08:32:11.272525Z). Test will run against unlocked Global News channels
Test for channel: Global News National - started at: Tue Jul 23 08:32:12 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: Video player state is: playing. CheckPoints count: 2
CheckPoint: Video player position is moving forward. CheckPoints count:2
CheckPoint: Confirm response status code is 200 for domain: live.corusdigitaldev.com CheckPoints count: 3
Test for channel: Global News National - completed at: Tue Jul 23 08:32:43 GMT 2024
Test for channel: Global News BC - started at: Tue Jul 23 08:32:43 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: Video player state is: playing. CheckPoints count: 2
CheckPoint: Video player position is moving forward. CheckPoints count:2
CheckPoint: Confirm response status code is 200 for domain: live.corusdigitaldev.com CheckPoints count: 3
Test for channel: Global News BC - completed at: Tue Jul 23 08:33:13 GMT 2024
Test for channel: Global News Toronto - started at: Tue Jul 23 08:33:13 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: Video player state is: playing. CheckPoints count: 2
CheckPoint: Video player position is moving forward. CheckPoints count:2
CheckPoint: Confirm response status code is 200 for domain: live.corusdigitaldev.com CheckPoints count: 3
Test for channel: Global News Toronto - completed at: Tue Jul 23 08:33:44 GMT 2024
Test for channel: Global News Edmonton - started at: Tue Jul 23 08:33:44 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: Video player state is: playing. CheckPoints count: 2
CheckPoint: Video player position is moving forward. CheckPoints count:2
CheckPoint: Confirm response status code is 200 for domain: live.corusdigitaldev.com CheckPoints count: 2
Test for channel: Global News Edmonton - completed at: Tue Jul 23 08:34:14 GMT 2024
Test for channel: Global News Calgary - started at: Tue Jul 23 08:34:14 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: Video player state is: playing. CheckPoints count: 2
CheckPoint: Video player position is moving forward. CheckPoints count:2
CheckPoint: Confirm response status code is 200 for domain: live.corusdigitaldev.com CheckPoints count: 3
Test for channel: Global News Calgary - completed at: Tue Jul 23 08:34:44 GMT 2024
Test for channel: Global News Halifax - started at: Tue Jul 23 08:34:44 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: Video player state is: playing. CheckPoints count: 2
CheckPoint: Video player position is moving forward. CheckPoints count:2
CheckPoint: Confirm response status code is 200 for domain: live.corusdigitaldev.com CheckPoints count: 2
Test for channel: Global News Halifax - completed at: Tue Jul 23 08:35:15 GMT 2024
Test for channel: Global News Winnipeg - started at: Tue Jul 23 08:35:15 GMT 2024
Step: User navigates to page: https://watch.globaltv.com/channel/564df695-94f9-4f27-b1b9-0a936ab01721/
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=126.0.6478.61)
For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#no-such-element-exception
Build info: version: '4.21.0', revision: '79ed462ef4'
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: [898ed92edf2f414a10bcc5f91a2c7ed7, findElement {using=css selector, value=#corusPlayer1 div.jw-display div.jw-icon[aria-label='Play']}]
Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 126.0.6478.61, chrome: {chromedriverVersion: 126.0.6478.55 (7616ff175414..., userDataDir: /tmp/.org.chromium.Chromium...}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress: localhost:46333}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: linux, proxy: Proxy(), se:cdp: ws://localhost:46333/devtoo..., se:cdpVersion: 126.0.6478.61, 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: 898ed92edf2f414a10bcc5f91a2c7ed7
Retry run - number: 1. Test for channel: Global News Winnipeg - started at: Tue Jul 23 08:35:52 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: Video player state is: playing. CheckPoints count: 2
CheckPoint: Video player position is moving forward. CheckPoints count:2
CheckPoint: Confirm response status code is 200 for domain: live.corusdigitaldev.com CheckPoints count: 3
Test for channel: Global News Winnipeg - completed at: Tue Jul 23 08:36:22 GMT 2024
Test for channel: Global News Montreal - started at: Tue Jul 23 08:36:22 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: Video player state is: playing. CheckPoints count: 2
CheckPoint: Video player position is moving forward. CheckPoints count:2
CheckPoint: Confirm response status code is 200 for domain: live.corusdigitaldev.com CheckPoints count: 2
Test for channel: Global News Montreal - completed at: Tue Jul 23 08:36:52 GMT 2024
Test for channel: Global News Saskatoon - started at: Tue Jul 23 08:36:52 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: Video player state is: playing. CheckPoints count: 2
CheckPoint: Video player position is moving forward. CheckPoints count:2
CheckPoint: Confirm response status code is 200 for domain: live.corusdigitaldev.com CheckPoints count: 3
Test for channel: Global News Saskatoon - completed at: Tue Jul 23 08:37:22 GMT 2024
Test for channel: Global News Regina - started at: Tue Jul 23 08:37:22 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: Video player state is: playing. CheckPoints count: 2
CheckPoint: Video player position is moving forward. CheckPoints count:2
CheckPoint: Confirm response status code is 200 for domain: live.corusdigitaldev.com CheckPoints count: 2
Test for channel: Global News Regina - completed at: Tue Jul 23 08:37:53 GMT 2024
Test for channel: Global News Okanagan - started at: Tue Jul 23 08:37:53 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: Video player state is: playing. CheckPoints count: 2
CheckPoint: Video player position is moving forward. CheckPoints count:2
CheckPoint: Confirm response status code is 200 for domain: live.corusdigitaldev.com CheckPoints count: 2
Test for channel: Global News Okanagan - completed at: Tue Jul 23 08:38:23 GMT 2024
Test for channel: Global News Kingston - started at: Tue Jul 23 08:38:23 GMT 2024
Step: User navigates to page: https://watch.globaltv.com/channel/023a9e25-f0cf-4d97-af9f-5c665b7d45b9/
Step: User starts video player.
Failure in check whether network call response status code matches 200 for Corus digital live domain.Captured status code was: 404
Screenshot added below..
Retry run - number: 1. Test for channel: Global News Kingston - started at: Tue Jul 23 08:39:00 GMT 2024
Step: User navigates to page: https://watch.globaltv.com/channel/023a9e25-f0cf-4d97-af9f-5c665b7d45b9/
Step: User starts video player.
Failure in check whether network call response status code matches 200 for Corus digital live domain.Captured status code was: 404
Screenshot added below..
Retry run - number: 2. Test for channel: Global News Kingston - started at: Tue Jul 23 08:39:37 GMT 2024
Step: User navigates to page: https://watch.globaltv.com/channel/023a9e25-f0cf-4d97-af9f-5c665b7d45b9/
Step: User starts video player.
Failure in check whether network call response status code matches 200 for Corus digital live domain.Captured status code was: 404
Screenshot added below..
CheckPoint: User can start video player.
CheckPoint: Video player state is: playing. CheckPoints count: 6
CheckPoint: Video player position is moving forward. CheckPoints count:6
CheckPoint: Confirm response status code is 200 for domain: live.corusdigitaldev.com CheckPoints count: 3
0 ignored methods
Methods in chronological order
corusent.qa.globalstream.tests.video.LiveStreamV3
beforeMethod(Chrome, https://watch.globaltv.com/)
0 ms
testLiveStreamV3(2)
3606 ms
afterMethod
480692 ms