Stop tracking chromedriver.exe
This commit is contained in:
parent
d201ad8bfb
commit
6c907351c4
BIN
.gitignore
vendored
BIN
.gitignore
vendored
Binary file not shown.
@ -12,7 +12,7 @@ public class TestPropManager {
|
||||
try (FileInputStream fis = new FileInputStream("environment.properties")) {
|
||||
properties.load(fis);
|
||||
} catch (IOException e) {
|
||||
throw new RuntimeException("Не удалось загрузить environment.properties", e);
|
||||
throw new RuntimeException("Неудалось загрузить environment.properties", e);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -8,8 +8,8 @@ import org.openqa.selenium.support.ui.*;
|
||||
import java.time.Duration;
|
||||
|
||||
public class BusinessTripPage {
|
||||
private WebDriver driver;
|
||||
private WebDriverWait wait;
|
||||
private final WebDriver driver;
|
||||
private final WebDriverWait wait;
|
||||
|
||||
@FindBy(xpath = "//h1[contains(text(), 'Командировки')]")
|
||||
private WebElement tripsHeader;
|
||||
@ -77,7 +77,6 @@ public class BusinessTripPage {
|
||||
scrollToElement(cityInput);
|
||||
cityInput.clear();
|
||||
cityInput.sendKeys(city);
|
||||
// Optionally assert
|
||||
}
|
||||
|
||||
public void fillDate(By dateLocator, String dateValue) {
|
||||
@ -86,7 +85,6 @@ public class BusinessTripPage {
|
||||
dateInput.clear();
|
||||
dateInput.sendKeys(dateValue);
|
||||
dateInput.sendKeys(Keys.TAB);
|
||||
// Optionally assert
|
||||
}
|
||||
|
||||
public void saveAndClose() {
|
||||
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user