Skip to content

Instantly share code, notes, and snippets.

@borodicht
Created December 3, 2024 06:50
Show Gist options
  • Save borodicht/5a91487df7474d7d3d63089e7e10a08a to your computer and use it in GitHub Desktop.
Save borodicht/5a91487df7474d7d3d63089e7e10a08a to your computer and use it in GitHub Desktop.
package tests;
import dto.Account;
import io.qameta.allure.Description;
import org.testng.annotations.Test;
import tests.base.BaseTest;
import static dto.AccountFactory.getAccount;
public class AccountsTest extends BaseTest {
Account account = getAccount("Warm");
@Test(testName = "Create a new account", description = "Check that a new account can be created")
@Description("Create a new account with valid data")
public void checkCreateAccount() {
loginPage.open()
.isPageOpened()
.login("[email protected]", "Password001");
accountStep.create(account);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment