corusent.qa.corusent.tests.header.MainNavMenus
testMainNavMenus
org.openqa.selenium.ElementClickInterceptedException: element click intercepted: Element <span id="nav_item_advertising" role="button" tabindex="9" data-href="/advertising/">...</span> is not clickable at point (134, 475). Other element would receive the click: <ul class="nav_items_sub_list">...</ul>
(Session info: headless chrome=91.0.4472.101)
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
System info: host: 'ip-10-31-216-157.ec2.internal', ip: '10.31.216.157', os.name: 'Linux', os.arch: 'amd64', os.version: '4.14.225-121.362.amzn1.x86_64', java.version: '11.0.11'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 91.0.4472.101, chrome: {chromedriverVersion: 91.0.4472.101 (af52a90bf870..., userDataDir: /tmp/.com.google.Chrome.L0nJLk}, goog:chromeOptions: {debuggerAddress: localhost:36241}, javascriptEnabled: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: LINUX, platformName: LINUX, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webauthn:extension:largeBlob: true, webauthn:virtualAuthenticators: true}
Session ID: ed29ffd14a8e599f7ccc8e5575aa8921
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:187)
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:122)
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158)
at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)
at org.openqa.selenium.remote.RemoteWebElement.execute(RemoteWebElement.java:285)
at org.openqa.selenium.remote.RemoteWebElement.click(RemoteWebElement.java:84)
at corusent.qa.corusent.pageobject.PageObject_Header_MainNavMenus.areMainNavLinksOk(PageObject_Header_MainNavMenus.java:69)
at corusent.qa.corusent.tests.header.MainNavMenus.testMainNavMenus(MainNavMenus.java:22)
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 21 stack frames
(Verify The Main Navigation Menus.)
corusent.qa.corusent.tests.footer.FooterCorusLogo
testFooterLogo
java.lang.AssertionError: The following asserts failed:
The Footer - Corus Logo link's href does not return statusCode 200. expected [true] but found [false]
at corusent.qa.corusent.tests.footer.FooterCorusLogo.testFooterLogo(FooterCorusLogo.java:41)
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 19 stack frames
(Verify Footer - Corus Brand Logo.)
corusent.qa.corusent.tests.footer.FooterMenus
testFooterMenus
java.lang.AssertionError: The following asserts failed:
One or more Footer - Menu link does not return statusCode 200. expected [true] but found [false]
at corusent.qa.corusent.tests.footer.FooterMenus.testFooterMenus(FooterMenus.java:31)
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 19 stack frames
(Verify Footer - Menus.)
corusent.qa.corusent.tests.footer.SocialIcons
testSocialIcons
java.lang.AssertionError: The following asserts failed:
One or more social icon's href does not return statusCode 200. expected [true] but found [false]
at corusent.qa.corusent.tests.footer.SocialIcons.testSocialIcons(SocialIcons.java:48)
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 19 stack frames
(Verify General Social Icons! ......)
corusent.qa.corusent.tests.footer.CopyrightYear
testCopyrightYear
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"css selector","selector":".copyright"}
(Session info: headless chrome=91.0.4472.101)
For documentation on this error, please visit: https://www.seleniumhq.org/exceptions/no_such_element.html
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
System info: host: 'ip-10-31-216-157.ec2.internal', ip: '10.31.216.157', os.name: 'Linux', os.arch: 'amd64', os.version: '4.14.225-121.362.amzn1.x86_64', java.version: '11.0.11'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 91.0.4472.101, chrome: {chromedriverVersion: 91.0.4472.101 (af52a90bf870..., userDataDir: /tmp/.com.google.Chrome.JQ2usw}, goog:chromeOptions: {debuggerAddress: localhost:42589}, javascriptEnabled: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: LINUX, platformName: LINUX, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webauthn:extension:largeBlob: true, webauthn:virtualAuthenticators: true}
Session ID: 1bc31b41b210ce903b82ad161b525e4a
*** Element info: {Using=css selector, value=.copyright}
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:187)
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:122)
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158)
at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:323)
at org.openqa.selenium.remote.RemoteWebDriver.findElementByCssSelector(RemoteWebDriver.java:420)
at org.openqa.selenium.By$ByCssSelector.findElement(By.java:431)
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:315)
at org.openqa.selenium.support.pagefactory.DefaultElementLocator.findElement(DefaultElementLocator.java:69)
at org.openqa.selenium.support.pagefactory.internal.LocatingElementHandler.invoke(LocatingElementHandler.java:38)
at com.sun.proxy.$Proxy11.getAttribute(Unknown Source)
at corusent.qa.corusent.pageobject.PageObject_Footer_CopyRight.isCopyrightYearUpToDate(PageObject_Footer_CopyRight.java:25)
at corusent.qa.corusent.tests.footer.CopyrightYear.testCopyrightYear(CopyrightYear.java:19)
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 21 stack frames
(Verify Footer - Copyright Year is updated.)
corusent.qa.corusent.tests.header.MainNavCorusLogo
corusent.qa.corusent.tests.header.HamburgerBtn
/codebuild/output/src166565481/src/Corusent/resources/TestNG-Corusent-UAT-RegressionTestSuite.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suite SYSTEM "https://testng.org/testng-1.0.dtd">
<suite thread-count="3" parallel="classes" name="CorusentUATRegressionTestSuite" guice-stage="DEVELOPMENT" verbose="0">
<test thread-count="3" parallel="classes" name="CorusentChromeDesktopRegressionTest" verbose="0">
<parameter name="paramBrowserType" value="Chrome"/>
<parameter name="paramTestUrl" value="https://uat1.corusent.com/"/>
<classes>
<class name="corusent.qa.corusent.tests.header.HeaderCorusLogo"/>
<class name="corusent.qa.corusent.tests.header.HamburgerBtn"/>
<class name="corusent.qa.corusent.tests.header.MainNavCorusLogo"/>
<class name="corusent.qa.corusent.tests.header.MainNavMenus"/>
<class name="corusent.qa.corusent.tests.footer.CopyrightYear"/>
<class name="corusent.qa.corusent.tests.footer.FooterCorusLogo"/>
<class name="corusent.qa.corusent.tests.footer.FooterMenus"/>
<class name="corusent.qa.corusent.tests.footer.SocialIcons"/>
</classes>
</test> <!-- CorusentChromeDesktopRegressionTest -->
</suite> <!-- CorusentUATRegressionTestSuite -->
Tests for CorusentUATRegressionTestSuite
- CorusentChromeDesktopRegressionTest (8 classes)
Groups for CorusentUATRegressionTestSuite
Times for CorusentUATRegressionTestSuite
Total running time: 53 seconds
Reporter output for CorusentUATRegressionTestSuite
testHeaderNavLogo
1. Verify Main Nav Menus - Corus Logo image is loaded properly. ......
The Main Nav Menus - Corus Logo is loaded: true
---------- This test is Passed!
2. Verify Main Nav Menus - Corus Logo url returns statusCode 200. ......
... https://uat1.corusent.com/ - 200
---------- This test is Passed!
3. Verify Main Nav Menus - Corus Logo links to Homepage. ......
The Main Nav Menus - Corus Logo link: https://uat1.corusent.com/
---------- This test is Passed!
4. Verify Main Nav Menus - Corus Logo has proper alt attribute. ......
The Main Nav Menus - Corus Logo ALT value is: Corus Entertainment
---------- This test is Passed!
testHeaderLogo
1. Verify Header - Corus Logo image is loaded properly. ......
The Header - Corus Logo is loaded: true
---------- This test is Passed!
2. Verify Header - Corus Logo url returns statusCode 200. ......
... https://uat1.corusent.com/ - 200
---------- This test is Passed!
3. Verify Header - Corus Logo links to Homepage. ......
The Header - Corus Logo Link: https://uat1.corusent.com/
---------- This test is Passed!
4. Verify Header - Corus Logo has proper alt attribute. ......
The Header - Corus Logo ALT value is: Corus Entertainment
---------- This test is Passed!
testHamburgerMenuBtn
1. Verify Header - Hamburger Button toggles the main nav menus. ......
Click Hamburger Button, the Main Nav Menus is opened!
Click Hamburger Button again, the Main Nav Menus is closed!
---------- This test is Passed!
2. Verify Header - Hamburger Button has text of "Menu". ......
The Hamburger Button text is: Menu
---------- This test is Passed!
testCopyrightYear
1. Verify footer copyrigth year is updated. ......
testMainNavMenus
1. Verify Main Nav Menus - the text is not empty and links return statusCode 200. ......
About... Overview... https://uat1.corusent.com/about-corus/about-overview - 404
About... Our Values... https://uat1.corusent.com/about-corus/our-values - 200
About... Leadership... https://uat1.corusent.com/about-corus/leadership - 200
About... Corus Quay... https://uat1.corusent.com/about-corus/corus-quay - 200
About... DEI Action Plan... https://uat1.corusent.com/about-corus/dei-action-plan - 200
About... Speakers and Events... https://uat1.corusent.com/about-corus/speakers-and-events - 200
Brands... https://uat1.corusent.com/our-brands - 404
Social Responsibility... Overview... https://uat1.corusent.com/social-responsibility/overview - 200
Social Responsibility... People... https://uat1.corusent.com/social-responsibility/people - 200
Social Responsibility... Diversity & Inclusion... https://uat1.corusent.com/social-responsibility/diversity-and-inclusion - 200
Social Responsibility... Communities... https://uat1.corusent.com/social-responsibility/communities - 502
Social Responsibility... Industry... https://uat1.corusent.com/social-responsibility/industry - 200
Social Responsibility... Environment... https://uat1.corusent.com/social-responsibility/environment - 200
Social Responsibility... Accessibility... https://uat1.corusent.com/social-responsibility/accessibility - 200
Investor Relations... Overview... https://uat1.corusent.com/investor-relations/overview - 200
Investor Relations... Dividends... Dividend Information... https://uat1.corusent.com/investor-relations/dividend-information - 200
Investor Relations... Dividends... Dividend History... https://uat1.corusent.com/investor-relations/dividend-history - 502
Investor Relations... Dividends... Dividend Reinvestment Plan... https://uat1.corusent.com/investor-relations/dividend-reinvestment-plan - 502
Investor Relations... Financial Reports... https://uat1.corusent.com/investor-relations/financial-reports - 200
Investor Relations... Press Releases... https://uat1.corusent.com/investor-relations/press-releases - 200
Investor Relations... Events & Presentations... https://uat1.corusent.com/investor-relations/events-and-presentations - 200
Investor Relations... Shareholder Resources... Shareholder Services... https://uat1.corusent.com/investor-relations/investor-relations-shareholder/shareholder-services - 404
Investor Relations... Shareholder Resources... Stock Information... https://uat1.corusent.com/investor-relations/stock-information - 200
Investor Relations... Shareholder Resources... Analyst Coverage... https://uat1.corusent.com/investor-relations/shareholder-resources/analyst-coverage - 200
Investor Relations... Shareholder Resources... Frequently Asked Questions... https://uat1.corusent.com/investor-relations/shareholder-resources/frequently-asked-questions - 200
Investor Relations... Shareholder Resources... Contact IR... https://uat1.corusent.com/investor-relations/shareholder-resources/contact-ir - 200
Investor Relations... Email Alerts... https://uat1.corusent.com/investor-relations/email-alerts - 502
Investor Relations... Governance... Leadership & Directors... https://uat1.corusent.com/investor-relations/governance/leadership-and-directors - 200
Investor Relations... Governance... Governance Documents... https://uat1.corusent.com/investor-relations/governance/governance-documents - 200
testSocialIcons
1. Verify each social icon is loaded properly. ......
All 3 Social Icons are loaded.
---------- This test is Passed!
2. Verify the href of each social icon will return statusCode 200. ......
SocialIcons -
... https://www.linkedin.com/company/corus-entertainment - 999
SocialIcons -
... https://www.glassdoor.com/Overview/Working-at-Corus-Entertainment-EI_IE11963.11,30.htm - 503
SocialIcons -
... https://twitter.com/CorusPR - 200
---------- This test is Failed!
3. Verify each social icon links to correct website. ......
https://www.linkedin.com/company/corus-entertainment
https://www.glassdoor.com/Overview/Working-at-Corus-Entertainment-EI_IE11963.11,30.htm
https://twitter.com/CorusPR
---------- This test is Passed!
4. Verify each social icon has proper alt attribute. ......
Visit us on LinkedIn
Visit us on Glassdoor
Visit us on Twitter
---------- This test is Passed!
5. Verify each social icon opens a new tab. ......
_blank...... opens a new tab.
_blank...... opens a new tab.
_blank...... opens a new tab.
---------- This test is Passed!
testFooterMenus
1. Verify each Footer - Menu text is not empty. ......
---------- This test is Passed!
2. Verify each Footer - Menu link returns statusCode 200. ......
---------- This test is Failed!
testFooterLogo
1. Verify Footer - Corus Logo image is loaded properly. ......
The Footer - Corus Logo is loaded: true
---------- This test is Passed!
2. Verify Footer - Corus Logo url returns statusCode 200. ......
... https://uat1.corusent.com/ - 502
---------- This test is Failed!
3. Verify Footer - Corus Logo links to Homepage. ......
The url: https://uat1.corusent.com/
---------- This test is Passed!
4. Verify Footer - Corus Logo has proper alt attribute. ......
The alt: Corus Entertainment
---------- This test is Passed!
0 ignored methods
Methods in chronological order
corusent.qa.corusent.tests.header.HamburgerBtn
beforeMethod(Chrome, https://uat1.corusent.com/)
0 ms
corusent.qa.corusent.tests.header.HeaderCorusLogo
beforeMethod(Chrome, https://uat1.corusent.com/)
2 ms
corusent.qa.corusent.tests.header.MainNavCorusLogo
beforeMethod(Chrome, https://uat1.corusent.com/)
3 ms
testHeaderNavLogo
5642 ms
corusent.qa.corusent.tests.header.HamburgerBtn
testHamburgerMenuBtn
5727 ms
corusent.qa.corusent.tests.header.HeaderCorusLogo
testHeaderLogo
5785 ms
afterMethod
8136 ms
corusent.qa.corusent.tests.header.MainNavMenus
beforeMethod(Chrome, https://uat1.corusent.com/)
8206 ms
corusent.qa.corusent.tests.header.HamburgerBtn
afterMethod
8466 ms
corusent.qa.corusent.tests.footer.CopyrightYear
beforeMethod(Chrome, https://uat1.corusent.com/)
8535 ms
testCopyrightYear
9020 ms
corusent.qa.corusent.tests.header.MainNavCorusLogo
afterMethod
9067 ms
corusent.qa.corusent.tests.footer.FooterCorusLogo
beforeMethod(Chrome, https://uat1.corusent.com/)
9134 ms
corusent.qa.corusent.tests.header.MainNavMenus
testMainNavMenus
10584 ms
corusent.qa.corusent.tests.footer.FooterCorusLogo
testFooterLogo
11803 ms
afterMethod
12097 ms
corusent.qa.corusent.tests.footer.FooterMenus
beforeMethod(Chrome, https://uat1.corusent.com/)
12169 ms
testFooterMenus
12715 ms
corusent.qa.corusent.tests.footer.CopyrightYear
afterMethod
19053 ms
corusent.qa.corusent.tests.footer.SocialIcons
beforeMethod(Chrome, https://uat1.corusent.com/)
19121 ms
testSocialIcons
22998 ms
afterMethod
23860 ms
corusent.qa.corusent.tests.header.MainNavMenus
afterMethod
24696 ms
corusent.qa.corusent.tests.footer.FooterMenus
afterMethod
32788 ms