-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdata.py
More file actions
37 lines (24 loc) · 1.12 KB
/
data.py
File metadata and controls
37 lines (24 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
import random
class TestPersonData:
user_name = 'Alex'
login = 'Aleksey_Rogozhnikov_32@yandex.ru'
password = '000000'
class TestUrls:
# Основная страница
url_main_paige = "https://stellarburgers.education-services.ru/"
# Ссылка на страницу входа
url_login = "https://stellarburgers.education-services.ru/login"
# Ссылка страницы Профиля
url_profile = "https://stellarburgers.education-services.ru/account/profile"
# Ссылка на страницу регистрации
url_register = "https://stellarburgers.education-services.ru/register"
# Ссылка на страницу забыл пароль
url_forgot_password = "https://stellarburgers.education-services.ru/forgot-password"
class TestRandomUser:
user_name = 'Alex'
login = f'Alex_Rogozhnikov_32_{random.randint(100, 999)}@yandex.ru'
password = f'{random.randint(100000, 999999)}'
class TestRandomIncorrectPassword:
user_name = 'Alex'
login = 'Aleksey_Rogozhnikov_32@yandex.ru'
password = f'{random.randint(10000, 99999)}'