Добавлен файл register.negative.spec проверяющий негативные сценарии раздела Регистрация

This commit is contained in:
Vlad Smykov
2025-06-18 17:15:18 +03:00
parent 395a008c74
commit 66f60f10e9
568 changed files with 3084 additions and 218 deletions

View File

@@ -109,4 +109,25 @@ export class RegisterPage {
await this.confirmPasswordInput.fill(data.confirmPassword);
await this.submitButton.click();
}
async fillName(name: string) {
await this.nameInput.fill(name);
}
async fillSurname(surname: string) {
await this.surnameInput.fill(surname);
}
async fillEmail(email: string) {
await this.emailInput.fill(email);
}
async fillPosition(position: string) {
await this.positionInput.fill(position);
}
async submit() {
await this.submitButton.click();
}
}