Stop tracking chromedriver.exe

This commit is contained in:
Александров Александр Владимирович 2025-06-23 23:59:52 +03:00
parent d201ad8bfb
commit 6c907351c4
4 changed files with 3 additions and 5 deletions

BIN
.gitignore vendored

Binary file not shown.

View File

@ -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);
}
}

View File

@ -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.