Created
December 3, 2024 06:50
-
-
Save borodicht/5a91487df7474d7d3d63089e7e10a08a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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