forked from djacota/automationpractice
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.py
28 lines (21 loc) · 779 Bytes
/
main.py
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
from src.core.utils import *
from src.pages.p__homepage import Homepage
from src.pages.p__authentication import Authentication
from src.pages.p__myaccount import MyAccount
from src.pages.p__mywishlist import MyWishlist
from src.pages.p__women import Women
from src.tests.tests import Tests
homepage = Homepage()
authentication = Authentication()
myaccount = MyAccount()
mywishlist = MyWishlist()
women = Women()
driverr = Browser()
print("\nPID: " + str(driverr.get_pid()))
Tests.run__test_login(driverr, homepage, authentication, myaccount, mywishlist, women)
driverr.close_driver()
driverr = Browser()
print("\nPID: " + str(driverr.get_pid()))
Tests.run__test(driverr, homepage, authentication, myaccount, mywishlist, women)
driverr.close_driver()
print("\nTest done.")