corusent.qa.corusent.tests.header.MainNavMenus
testMainNavMenus
java.lang.AssertionError: The following asserts failed:
One or more main nav texts are empty or the links do not return statusCode 200 ...... expected [true] but found [false]
at corusent.qa.corusent.tests.header.MainNavMenus.testMainNavMenus(MainNavMenus.java:29)
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 The Main Navigation Menus.)
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:34)
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:51)
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 - Social Icons)
corusent.qa.corusent.tests.header.MainNavCorusLogo
corusent.qa.corusent.tests.footer.FooterCorusLogo
corusent.qa.corusent.tests.header.HamburgerBtn
corusent.qa.corusent.tests.header.HeaderCorusLogo
/codebuild/output/src382308239/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: 59 seconds
Reporter output for CorusentUATRegressionTestSuite
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/ - 200
---------- This test is Passed!
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!
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!
testCopyrightYear
1. Verify footer copyrigth year is updated. ......
The CopyrightYear: 2021
---------- 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!
testFooterMenus
1. Verify each Footer - Menu text is not empty. ......
About Corus
Social Responsibility
Newsroom
Advertising
Investor Relations
Careers
Terms & Conditions
Privacy Policy
FAQ
Regulatory
Accessibility
Contact Us
---------- This test is Passed!
2. Verify each Footer - Menu link returns statusCode 200. ......
FooterMenus - About Corus... https://uat1.corusent.com/about-corus/about-overview - 404
FooterMenus - Social Responsibility... https://uat1.corusent.com/social-responsibility/overview - 200
FooterMenus - Newsroom... https://uat1.corusent.com/advertising/divisions/news - 200
FooterMenus - Advertising... https://uat1.corusent.com/advertising/overview - 200
FooterMenus - Investor Relations... https://uat1.corusent.com/investor-relations/overview - 200
FooterMenus - Careers... https://uat1.corusent.com/careers - 200
FooterMenus - Terms & Conditions... https://uat1.corusent.com/terms-conditions - 200
FooterMenus - Privacy Policy... https://uat1.corusent.com/privacy-policy - 200
FooterMenus - FAQ... https://uat1.corusent.com/faq - 200
FooterMenus - Regulatory... https://uat1.corusent.com/regulatory - 404
FooterMenus - Accessibility... https://uat1.corusent.com/accessibility - 200
FooterMenus - Contact Us... https://uat1.corusent.com/contact-us - 200
---------- This test is Failed!
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/ - 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/
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!
testMainNavMenus
1. Verify Main Nav Menus - the text is not empty and links return statusCode 200. ......
About Corus... Overview... https://uat1.corusent.com//about-corus/about-overview - 404
About Corus... Our Values... https://uat1.corusent.com//about-corus/our-values - 200
About Corus... Leadership... https://uat1.corusent.com//about-corus/leadership - 200
About Corus... Locations and Offices... https://uat1.corusent.com//about-corus/locations-and-offices - 200
About Corus... DEI Action Plan... https://uat1.corusent.com//about-corus/dei-action-plan - 200
About Corus... Speakers and Events... https://uat1.corusent.com//about-corus/speakers-and-events - 200
Brands... https://uat1.corusent.com//brands - 200
Media Centre... Press Releases... https://uat1.corusent.com//news - 200
Media Centre... Media Access Registration... https://uat1.corusent.com//media-centre/media-access-registration - 404
Media Centre... Dropbox Pickup... https://uat1.corusent.com//media-centre/dropbox-pickup - 404
Media Centre... Viewer Relations... https://uat1.corusent.com//media-centre/viewer-relations - 404
Media Centre... Publicity Contacts... https://uat1.corusent.com//media-centre/publicity-contacts - 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 and Inclusion... https://uat1.corusent.com//social-responsibility/diversity-and-inclusion - 200
Social Responsibility... Communities... https://uat1.corusent.com//social-responsibility/communities - 200
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... Information... https://uat1.corusent.com//investor-relations/dividends/information - 200
Investor Relations... Dividends... History... https://uat1.corusent.com//investor-relations/dividends/history - 200
Investor Relations... Dividends... Reinvestment Plan... https://uat1.corusent.com//investor-relations/dividends/reinvestment-plan - 200
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 and Presentations... https://uat1.corusent.com//investor-relations/events-and-presentations - 200
Investor Relations... Shareholder Resources... Shareholder Services... https://uat1.corusent.com//investor-relations/shareholder-resources/shareholder-services - 200
Investor Relations... Shareholder Resources... Stock Information... https://uat1.corusent.com//investor-relations/shareholder-resources/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 - 200
Investor Relations... Governance... Leadership and 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
Advertising... Overview... https://uat1.corusent.com//advertising/overview - 200
Advertising... Television... https://uat1.corusent.com//advertising/television - 200
Advertising... Digital... https://uat1.corusent.com//advertising/digital - 200
Advertising... Radio... https://uat1.corusent.com//advertising/radio - 200
Advertising... Advanced Advertising... https://uat1.corusent.com//advertising/advanced-advertising - 200
Advertising... Local Advertising... https://uat1.corusent.com//advertising/local-advertising - 200
Advertising... Creative Services... https://uat1.corusent.com//advertising/creative-services - 200
Advertising... Divisions... Entertainment... https://uat1.corusent.com//advertising/divisions/entertainment - 200
Advertising... Divisions... Lifestyle... https://uat1.corusent.com//advertising/divisions/lifestyle - 200
Advertising... Divisions... News... https://uat1.corusent.com//advertising/divisions/news - 200
Advertising... Divisions... Kids... https://uat1.corusent.com//advertising/divisions/kids - 200
Careers... https://uat1.corusent.com//careers - 200
Terms & Conditions... https://uat1.corusent.com/terms-conditions - 200
Privacy Policy... https://uat1.corusent.com/privacy-policy - 200
FAQ... https://uat1.corusent.com/faq - 200
Regulatory... https://uat1.corusent.com/regulatory - 404
Accessibility... https://uat1.corusent.com/accessibility - 200
Contact Us... https://uat1.corusent.com/contact-us - 200
---------- This test is Failed!
0 ignored methods
Methods in chronological order
corusent.qa.corusent.tests.header.MainNavCorusLogo
beforeMethod(Chrome, https://uat1.corusent.com/)
0 ms
corusent.qa.corusent.tests.header.HamburgerBtn
beforeMethod(Chrome, https://uat1.corusent.com/)
1 ms
corusent.qa.corusent.tests.header.HeaderCorusLogo
beforeMethod(Chrome, https://uat1.corusent.com/)
1 ms
testHeaderLogo
2160 ms
corusent.qa.corusent.tests.header.HamburgerBtn
testHamburgerMenuBtn
2160 ms
corusent.qa.corusent.tests.header.MainNavCorusLogo
testHeaderNavLogo
2162 ms
corusent.qa.corusent.tests.header.HeaderCorusLogo
afterMethod
8184 ms
corusent.qa.corusent.tests.header.MainNavMenus
beforeMethod(Chrome, https://uat1.corusent.com/)
8316 ms
corusent.qa.corusent.tests.header.HamburgerBtn
afterMethod
8461 ms
corusent.qa.corusent.tests.footer.CopyrightYear
beforeMethod(Chrome, https://uat1.corusent.com/)
8585 ms
corusent.qa.corusent.tests.header.MainNavCorusLogo
afterMethod
8897 ms
corusent.qa.corusent.tests.footer.FooterCorusLogo
beforeMethod(Chrome, https://uat1.corusent.com/)
8981 ms
corusent.qa.corusent.tests.header.MainNavMenus
testMainNavMenus
9080 ms
corusent.qa.corusent.tests.footer.CopyrightYear
testCopyrightYear
9235 ms
corusent.qa.corusent.tests.footer.FooterCorusLogo
testFooterLogo
9402 ms
corusent.qa.corusent.tests.footer.CopyrightYear
afterMethod
12914 ms
corusent.qa.corusent.tests.footer.FooterMenus
beforeMethod(Chrome, https://uat1.corusent.com/)
12980 ms
testFooterMenus
13370 ms
corusent.qa.corusent.tests.footer.FooterCorusLogo
afterMethod
15023 ms
corusent.qa.corusent.tests.footer.SocialIcons
beforeMethod(Chrome, https://uat1.corusent.com/)
15104 ms
testSocialIcons
15557 ms
corusent.qa.corusent.tests.footer.FooterMenus
afterMethod
17258 ms
corusent.qa.corusent.tests.footer.SocialIcons
afterMethod
19719 ms
corusent.qa.corusent.tests.header.MainNavMenus
afterMethod
32532 ms