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:119)
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/src238072446/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: 4 minutes
Reporter output for SuiteWatchGlobalTvLiveStream
testLiveStreamV2(2)
Start UTC Time (2024-05-30T03:32:09.931526Z). Test will run against locked specialty channels
CheckPoint: User can sign in via header nav-link.
Test for channel: Global Toronto - started at: Thu May 30 03:32:21 GMT 2024
Step: User navigates to page: https://watch.globaltv.com/channel/cf7b1a0a-5c2c-4512-8c0d-07ee434048dc/
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: 13
CheckPoint: Video player state is: playing. CheckPoints count: 2
CheckPoint: Video player position is moving forward. CheckPoints count:2
Test for channel: Global Toronto - completed at: Thu May 30 03:33:30 GMT 2024
Test for channel: Global BC - started at: Thu May 30 03:33:30 GMT 2024
Step: User navigates to page: https://watch.globaltv.com/channel/1134f214-333b-4664-93f2-d2c5d19d6b5c/
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: 13
CheckPoint: Video player state is: playing. CheckPoints count: 2
CheckPoint: Video player position is moving forward. CheckPoints count:2
Test for channel: Global BC - completed at: Thu May 30 03:34:24 GMT 2024
Test for channel: Global Calgary - started at: Thu May 30 03:34:24 GMT 2024
Step: User navigates to page: https://watch.globaltv.com/channel/b56eebde-3639-4374-b943-433c17da2951/
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: 13
CheckPoint: Video player state is: playing. CheckPoints count: 2
CheckPoint: Video player position is moving forward. CheckPoints count:2
Test for channel: Global Calgary - completed at: Thu May 30 03:35:27 GMT 2024
Test for channel: Global Edmonton - started at: Thu May 30 03:35:27 GMT 2024
Step: User navigates to page: https://watch.globaltv.com/channel/9d314024-5d57-46ba-a08e-f4b3ab61e1d4/
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: 12
CheckPoint: Video player state is: playing. CheckPoints count: 2
CheckPoint: Video player position is moving forward. CheckPoints count:2
Test for channel: Global Edmonton - completed at: Thu May 30 03:36:36 GMT 2024
Test for channel: Global Maritimes - started at: Thu May 30 03:36:36 GMT 2024
Step: User navigates to page: https://watch.globaltv.com/channel/382d5187-0149-47e1-be61-70a399af2cc9/
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=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: [cc6f4ff9dc9a873735a4cd1868d68235, findElement {using=css selector, value=#corusPlayer1 div.jw-display div.jw-icon[aria-label='Play']}]
Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 124.0.6367.60, chrome: {chromedriverVersion: 124.0.6367.60 (8771130bd84f..., userDataDir: /tmp/.org.chromium.Chromium...}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress: localhost:36379}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: linux, proxy: Proxy(), se:cdp: ws://localhost:36379/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: cc6f4ff9dc9a873735a4cd1868d68235
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)
3795 ms
afterMethod
301519 ms