corusent.qa.corusent.tests.header.HeaderNavLogo
testHeaderNavLogo
java.lang.AssertionError: The following asserts failed:
The header nav logo does not link to homepage. expected [true] but found [false]
at corusent.qa.corusent.tests.header.HeaderNavLogo.testHeaderNavLogo(HeaderNavLogo.java:45)
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 Corus Brand Logo in header.)
corusent.qa.corusent.tests.header.HeaderLogo
testHeaderLogo
java.lang.AssertionError: The following asserts failed:
The header logo does not link to homepage. expected [true] but found [false]
at corusent.qa.corusent.tests.header.HeaderLogo.testHeaderLogo(HeaderLogo.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 Corus Brand Logo in header.)
/codebuild/output/src192377764/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.HeaderLogo"/>
<class name="corusent.qa.corusent.tests.header.HamburgerMenuBtn"/>
<class name="corusent.qa.corusent.tests.header.HeaderNavLogo"/>
</classes>
</test> <!-- CorusentChromeDesktopRegressionTest -->
</suite> <!-- CorusentUATRegressionTestSuite -->
Tests for CorusentUATRegressionTestSuite
- CorusentChromeDesktopRegressionTest (3 classes)
Groups for CorusentUATRegressionTestSuite
Times for CorusentUATRegressionTestSuite
Total running time: 5 seconds
Reporter output for CorusentUATRegressionTestSuite
testHamburgerMenuBtn
1. Verify hamburger button toggles the main nav menus. ......
Click hamburger button, the main navigation menu is opened!
Click hamburger button again, the main navigation menu is closed!
---------- This test is Passed!
2. Verify hamburger button has text of "Menu". ......
The hamburger button text is: Menu
---------- This test is Passed!
testHeaderLogo
1. Verify header logo image is loaded properly. ......
The Header Logo is loaded: true
---------- This test is Passed!
2. Verify header logo url returns statusCode 200. ......
... https://uat1.corusent.com/ - 200
---------- This test is Passed!
3. Verify header logo links to Homepage. ......
The actual url: https://uat1.corusent.com/
The expected url: https://uat1.corusent.com
---------- This test is Failed!
4. Verify header logo has proper alt attribute. ......
CORUS_LOGO_ALT value is: Corus Entertainment
---------- This test is Passed!
testHeaderNavLogo
1. Verify header nav logo image is loaded properly. ......
The header nav logo is loaded: true
---------- This test is Passed!
2. Verify header nav logo url returns statusCode 200. ......
... https://uat1.corusent.com/ - 200
---------- This test is Passed!
3. Verify header nav logo links to Homepage. ......
The actual url: https://uat1.corusent.com/
The expected url: https://uat1.corusent.com
---------- This test is Failed!
4. Verify header nav logo has proper alt attribute. ......
Coruseng Nav Logo ALT value is: Corus Entertainment
---------- This test is Passed!
0 ignored methods
Methods in chronological order
corusent.qa.corusent.tests.header.HeaderNavLogo
beforeMethod(Chrome, https://uat1.corusent.com/)
0 ms
corusent.qa.corusent.tests.header.HamburgerMenuBtn
beforeMethod(Chrome, https://uat1.corusent.com/)
0 ms
corusent.qa.corusent.tests.header.HeaderLogo
beforeMethod(Chrome, https://uat1.corusent.com/)
3 ms
corusent.qa.corusent.tests.header.HamburgerMenuBtn
testHamburgerMenuBtn
3357 ms
corusent.qa.corusent.tests.header.HeaderLogo
testHeaderLogo
3376 ms
corusent.qa.corusent.tests.header.HeaderNavLogo
testHeaderNavLogo
3397 ms
corusent.qa.corusent.tests.header.HeaderLogo
afterMethod
4282 ms
corusent.qa.corusent.tests.header.HeaderNavLogo
afterMethod
5512 ms
corusent.qa.corusent.tests.header.HamburgerMenuBtn
afterMethod
5951 ms