-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Kamil Nowocin
committed
Mar 22, 2020
1 parent
86c6cd4
commit 6bebad2
Showing
22 changed files
with
289 additions
and
323 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package tests.APP; | ||
package tests.WebAPP; | ||
|
||
import com.ContextInjection; | ||
import com.ExcelEnvironment; | ||
|
@@ -22,14 +22,13 @@ | |
@Listeners({TestNGListener_WEB.class}) | ||
public class Authentication_Tests extends Hooks { | ||
|
||
@Owner("Kamil Nowocin") | ||
@Test(priority = 0, | ||
description = "I can log into automationpractice.com using registered email [email protected]") | ||
@Description("As a user I would like to log in automationpractice.com ->\n" + | ||
"I can log into automationpractice.com using registered email [email protected]") | ||
@Severity(SeverityLevel.CRITICAL) | ||
@Issue("TAP-0001") | ||
@Story("POSITIVE FLOW") | ||
@Owner("Kamil Nowocin") | ||
@Severity(SeverityLevel.CRITICAL) | ||
@Description("[US-111]/[1] As a user I can log into automationpractice.com using registered email \"[email protected]\" & password \"12345\"") | ||
@Test(description = "[US-111]/[1] I can log into automationpractice.com using registered email \"[email protected]\" & password \"12345\"", | ||
priority = 0) | ||
public void test_1() throws Throwable { | ||
//ARRANGE// | ||
ExcelEnvironment.saveTestResultsXLSX(1); | ||
|
@@ -51,14 +50,13 @@ public void test_1() throws Throwable { | |
registrationPageSteps.iCanSeeWelcomeMessage(); | ||
} | ||
|
||
@Owner("Kamil Nowocin") | ||
@Test(priority = 0, | ||
description = "I can't log into automationpractice.com using unregistered email [email protected] and wrong password") | ||
@Description("As a user I would like to log in automationpractice.com ->\n" + | ||
"I can't log into automationpractice.com using email [email protected] and wrong password") | ||
@Severity(SeverityLevel.NORMAL) | ||
@Issue("TAP-0002") | ||
@Story("NEGATIVE FLOW") | ||
@Severity(SeverityLevel.NORMAL) | ||
@Owner("Kamil Nowocin") | ||
@Description("[US-111]/[2] As a user I can't log into automationpractice.com using email \"[email protected]\" & password \"12345\"") | ||
@Test(description = "[US-111]/[2] I can't log into automationpractice.com using email \"[email protected]\" & password \"12345\"", | ||
priority = 0) | ||
public void test_2() throws Throwable { | ||
//ARRANGE// | ||
ExcelEnvironment.saveTestResultsXLSX(2); | ||
|
@@ -80,14 +78,13 @@ public void test_2() throws Throwable { | |
authenticationPageSteps.iCanSeeWarningMessageWithInclude("Authentication failed"); | ||
} | ||
|
||
@Owner("Kamil Nowocin") | ||
@Test(priority = 0, | ||
description = "I can't log into automationpractice.com using registered email [email protected] without password") | ||
@Description("As a user I would like to log in automationpractice.com ->\n" + | ||
"I can't log into automationpractice.com using email [email protected] without password") | ||
@Severity(SeverityLevel.NORMAL) | ||
@Issue("TAP-0003") | ||
@Story("NEGATIVE FLOW") | ||
@Owner("Kamil Nowocin") | ||
@Severity(SeverityLevel.NORMAL) | ||
@Description("[US-111]/[2] As a user I can't log into automationpractice.com using email \"[email protected]\" & password \"null\"") | ||
@Test(description = "[US-111]/[3] I can't log into automationpractice.com using email \"[email protected]\" & password \"null\"", | ||
priority = 0) | ||
public void test_3() throws Throwable { | ||
//ARRANGE// | ||
ExcelEnvironment.saveTestResultsXLSX(3); | ||
|
@@ -109,14 +106,13 @@ public void test_3() throws Throwable { | |
authenticationPageSteps.iCanSeeWarningMessageWithInclude("Password is required"); | ||
} | ||
|
||
@Owner("Kamil Nowocin") | ||
@Test(priority = 0, | ||
description = "I can't log into automationpractice.com using email \"null\" with password") | ||
@Description("As a user I would like to log in automationpractice.com ->\n" + | ||
"I can't log into automationpractice.com using email \"null\" with password") | ||
@Severity(SeverityLevel.NORMAL) | ||
@Issue("TAP-0004") | ||
@Story("NEGATIVE FLOW") | ||
@Owner("Kamil Nowocin") | ||
@Severity(SeverityLevel.NORMAL) | ||
@Description("[US-111]/[2] As a user I can't log into automationpractice.com using email \"null\" & password \"12345\"") | ||
@Test(description = "[US-111]/[4] I can't log into automationpractice.com using email \"null\" & password \"12345\"", | ||
priority = 0) | ||
public void test_4() throws Throwable { | ||
//ARRANGE// | ||
ExcelEnvironment.saveTestResultsXLSX(4); | ||
|
Oops, something went wrong.