File tree 3 files changed +6
-7
lines changed 3 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ class SearchTabsLocators:
128
128
hotels_tab = (By .XPATH , "//a[@data-name='hotels']" )
129
129
flights_tab = (By .XPATH , "//a[@data-name='flights']" )
130
130
tours_tab = (By .XPATH , "//a[@data-name='tours']" )
131
- transfer_tab = (By .XPATH , "//a[@data-name='transfer ']" )
131
+ transfer_tab = (By .XPATH , "//a[@data-name='cars ']" )
132
132
visa_tab = (By .XPATH , "//a[@data-name='visa']" )
133
133
134
134
Original file line number Diff line number Diff line change 2
2
import pytest
3
3
from allure_commons .types import AttachmentType
4
4
5
-
6
5
from utils .driver_factory import DriverFactory
7
6
8
7
@@ -15,4 +14,4 @@ def setup(request):
15
14
yield
16
15
if request .session .testsfailed != before_failed :
17
16
allure .attach (driver .get_screenshot_as_png (), name = "Test failed" , attachment_type = AttachmentType .PNG )
18
- driver .quit ()
17
+ driver .quit ()
Original file line number Diff line number Diff line change 9
9
class XlsxReader :
10
10
@staticmethod
11
11
def get_xlsx_hotels_data ():
12
- wb = xlrd .open_workbook (f".. /utils/search_hotels_input_data.xlsx" )
12
+ wb = xlrd .open_workbook (f"./utils/search_hotels_input_data.xlsx" )
13
13
sheet = wb .sheet_by_index (0 )
14
14
data = []
15
15
@@ -24,7 +24,7 @@ def get_xlsx_hotels_data():
24
24
25
25
@staticmethod
26
26
def get_xlsx_flights_data ():
27
- wb = xlrd .open_workbook (f".. /utils/search_flights_input_data.xlsx" )
27
+ wb = xlrd .open_workbook (f"./utils/search_flights_input_data.xlsx" )
28
28
sheet = wb .sheet_by_index (0 )
29
29
data = []
30
30
@@ -46,7 +46,7 @@ def get_xlsx_flights_data():
46
46
47
47
@staticmethod
48
48
def get_xlsx_tours_data ():
49
- wb = xlrd .open_workbook (f".. /utils/search_tours_input_data.xlsx" )
49
+ wb = xlrd .open_workbook (f"./utils/search_tours_input_data.xlsx" )
50
50
sheet = wb .sheet_by_index (0 )
51
51
data = []
52
52
@@ -62,7 +62,7 @@ def get_xlsx_tours_data():
62
62
63
63
@staticmethod
64
64
def get_xlsx_transfers_data ():
65
- wb = xlrd .open_workbook (f".. /utils/search_transfers_input_data.xlsx" )
65
+ wb = xlrd .open_workbook (f"./utils/search_transfers_input_data.xlsx" )
66
66
sheet = wb .sheet_by_index (0 )
67
67
data = []
68
68
You can’t perform that action at this time.
0 commit comments