added cypress framework and tests for setup page

This commit is contained in:
tamasmagyar
2022-06-16 08:06:34 +02:00
parent 9a8b484ee8
commit 31c388a6e3
15 changed files with 98 additions and 9 deletions

View File

@@ -0,0 +1,3 @@
export const DashboardPage = {
url: Cypress.env("baseUrl") + "/dashboard",
};

View File

@@ -0,0 +1,7 @@
export const SetupPage = {
url: Cypress.env("baseUrl") + "/setup",
usernameInput: '[data-cy="username-input"]',
passWordInput: '[data-cy="password-input"]',
passwordRepeatInput: '[data-cy="password-repeat-input"]',
submitSetupForm: '[data-cy="submit-setup-form"]',
};