mirror of
https://dev.azure.com/Foster-X/CMP329%20CW2/_git/CMP329%20CW2
synced 2025-07-27 05:53:32 +00:00
styling/readability
This commit is contained in:
parent
b759a7c78d
commit
93f223673e
1 changed files with 2 additions and 2 deletions
|
@ -33,7 +33,7 @@ public class TestPoster {
|
||||||
|
|
||||||
@BeforeAll
|
@BeforeAll
|
||||||
public static void initReport() {
|
public static void initReport() {
|
||||||
CsvBuilder.createTestReportFile();
|
CsvBuilder.createTestReportFile();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ParameterizedTest
|
@ParameterizedTest
|
||||||
|
@ -50,7 +50,7 @@ public class TestPoster {
|
||||||
boolean loginAllowed = (!role.equals("unauthorised"));
|
boolean loginAllowed = (!role.equals("unauthorised"));
|
||||||
WebElement username = driver.findElement(By.id(USERNAME_BOX_ID));
|
WebElement username = driver.findElement(By.id(USERNAME_BOX_ID));
|
||||||
WebElement password = driver.findElement(By.id(PASSWORD_BOX_ID));
|
WebElement password = driver.findElement(By.id(PASSWORD_BOX_ID));
|
||||||
WebElement login = driver.findElement(By.id(LOGIN_BUTTON_ID));
|
WebElement login= driver.findElement(By.id(LOGIN_BUTTON_ID));
|
||||||
|
|
||||||
username.sendKeys(usernameText);
|
username.sendKeys(usernameText);
|
||||||
password.sendKeys(passwordText);
|
password.sendKeys(passwordText);
|
||||||
|
|
Loading…
Add table
Reference in a new issue