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.MainNavMenus
testMainNavMenus
org.openqa.selenium.ElementNotInteractableException: element not interactable
(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-210-230.ec2.internal', ip: '10.31.210.230', os.name: 'Linux', os.arch: 'amd64', os.version: '4.14.238-125.422.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.Ct4pr9}, goog:chromeOptions: {debuggerAddress: localhost:44811}, 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: 9ca9406b6332217f77c7daedc9aaf9ab
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:71)
at corusent.qa.corusent.tests.header.MainNavMenus.testMainNavMenus(MainNavMenus.java:25)
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.header.MainNavCorusLogo
corusent.qa.corusent.tests.header.HamburgerBtn
corusent.qa.corusent.tests.footer.CopyrightYear
corusent.qa.corusent.tests.footer.FooterCorusLogo
/codebuild/output/src789673754/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: 52 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!
testFooterMenus
1. Verify each Footer - Menu text is not empty. ......
About Corus
Social Responsibility
Advertising
Investor Relations
Careers
Accessibility
Terms & Conditions
Privacy Policy
Contact Us
Regulatory
Frequently Asked Questions
---------- This test is Passed!
2. Verify each Footer - Menu link returns statusCode 200. ......
FooterMenus - About Corus... https://uat1.corusent.com/about-corus/overview - 200
FooterMenus - Social Responsibility... https://uat1.corusent.com/social-responsibility/overview - 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 - Accessibility... https://uat1.corusent.com/accessibility - 200
FooterMenus - Terms & Conditions... https://uat1.corusent.com/terms-conditions - 200
FooterMenus - Privacy Policy... https://uat1.corusent.com/privacy-policy - 200
FooterMenus - Contact Us... https://uat1.corusent.com/contact-us - 200
FooterMenus - Regulatory... https://uat1.corusent.com/regulatory - 200
FooterMenus - Frequently Asked Questions... https://uat1.corusent.com/faq - 200
---------- 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!
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!
testCopyrightYear
1. Verify footer copyrigth year is updated. ......
The CopyrightYear: 2021
---------- This test is Passed!
testMainNavMenus
1. Verify Main Nav Menus - the text is not empty and links return statusCode 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/ - 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!
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/)
0 ms
corusent.qa.corusent.tests.header.MainNavCorusLogo
beforeMethod(Chrome, https://uat1.corusent.com/)
14 ms
testHeaderNavLogo
2251 ms
corusent.qa.corusent.tests.header.HeaderCorusLogo
testHeaderLogo
2254 ms
corusent.qa.corusent.tests.header.HamburgerBtn
testHamburgerMenuBtn
2263 ms
afterMethod
8909 ms
corusent.qa.corusent.tests.header.MainNavMenus
beforeMethod(Chrome, https://uat1.corusent.com/)
8977 ms
testMainNavMenus
9377 ms
corusent.qa.corusent.tests.header.HeaderCorusLogo
afterMethod
9783 ms
corusent.qa.corusent.tests.footer.CopyrightYear
beforeMethod(Chrome, https://uat1.corusent.com/)
9850 ms
testCopyrightYear
10296 ms
corusent.qa.corusent.tests.header.MainNavCorusLogo
afterMethod
10796 ms
corusent.qa.corusent.tests.footer.FooterCorusLogo
beforeMethod(Chrome, https://uat1.corusent.com/)
10865 ms
testFooterLogo
11297 ms
corusent.qa.corusent.tests.footer.CopyrightYear
afterMethod
11814 ms
corusent.qa.corusent.tests.footer.FooterMenus
beforeMethod(Chrome, https://uat1.corusent.com/)
11881 ms
testFooterMenus
12265 ms
corusent.qa.corusent.tests.footer.FooterCorusLogo
afterMethod
15354 ms
corusent.qa.corusent.tests.footer.SocialIcons
beforeMethod(Chrome, https://uat1.corusent.com/)
15421 ms
testSocialIcons
15696 ms
afterMethod
19215 ms
corusent.qa.corusent.tests.header.MainNavMenus
afterMethod
20925 ms
corusent.qa.corusent.tests.footer.FooterMenus
afterMethod
21273 ms