yG>3v4K|c8!BQGXYvL|_$WV7J8L!ZXhe(5
zjqv#8jjLvg+^Q2_xsqKkLH>2;l-CJr?(f75l_F{seuUr1ZCSRVV_DYiEdH6_3?5c@
zbOo|;tjIrRtRGoA)2ycJ=l@+ZBdnfw$*1_{2$!hVoS-(&y)002ovPDHLkV1hS3k_!L;
diff --git a/tests/firefox/drag_and_drop/images/win/pdf_file.png b/tests/firefox/drag_and_drop/images/win/pdf_file.png
index 852e4e2d00f7213253e497774a773772f09fb4e6..e45509006e6c9635f58b42709312c7f3e6c0954d 100644
GIT binary patch
literal 704
zcmeAS@N?(olHy`uVBq!ia0vp^A|N&g8<1QX;1>s^7>k44ofy`glX(ebM`ngZltlRY
zSS9D@>LsS+C#C9DVstT4fPE4;bsH1+JHo@{EISEfi{E8w==W>t3(ll+GC>+
zvK+}V5TAlYfnK%aveAbJn;n=`i;ZZl9@I
zYpr*-9GmN1p6QagYs))c{f@W?g^a&WKWz~?I=SLW;-lGu#Yv^BZ`*P{I>7umQ}TL4
zug1k&0j4<$Ee#sCJvL7;xK?=RNhteO;TN0x4%l&siuL*0C9
zj>Y|#ciy^s<%NR_PS(#=f91)@vNE$sc$SH$$EDB5l6A8CJiX-}n0}jEeW$iLh4XKq
za`E?c)3Q?!jCQ_ro3r#-*;DD$uVjCGO1bmlLXwSo_M`*_6N`C=qBp3^^d4IMTC3VE
zQECtWyu;h7zv;>b78OSRHlJ#)@r!xSDN(+?PT@Zj*M2MuH~JIsZ`SYR&zs(~wP$*M
dztApR$9Q$sap@b<7yUqK&C}J-Wt~$(696)N1+f4C
literal 220
zcmeAS@N?(olHy`uVBq!ia0vp^njkg@6Oi0(f1wdbE%tPA45^5FI{CCBW
z?O7RZNmKsFbU1Q~^S|RX`^*t(D05#k<8Xkd;xnz&YB$%OJh1Y?E8YyPU4NEozI*#t
zTGI3=bF`{^$71bkr%#>;i2Huxd*LfxHU=wsnHq)$
diff --git a/tests/firefox/drag_and_drop/images/win/png_file.png b/tests/firefox/drag_and_drop/images/win/png_file.png
index 90f88efc37853bf74435101fcbd8301fde51f9cd..9795b572ff8159e1ddb2c66dbbce9d63345767ba 100644
GIT binary patch
literal 869
zcmeAS@N?(olHy`uVBq!ia0vp^HbBh9!3HE>+_yahq!^2X+?^QKos)S9WJhL(M3hAM
z`dB6B=jtV<VstT4fPE4;bsH1+JHo@{EISEfi{E8w==W>t3(ll+GC>+
zvK+}V5TAlYfnK%aveAbJn;nYaSZX`eHv<5)NCLS^Hf*SwN1Q3{6^@i
zE$z(LOfGR|>RBH9>TKVoUU!~%dxE{7`@JUyeHvU_P722R_4rTX?XErC`Ki34
z{l1}@(X^I;UO&&dm$thm-+wUi%!O%vYmYy7|MQ;z_#V^g3~#lx{Mx0N-
zm6kw|bO$O#-pIzRrL8QpJiV@1>T6}=Rd}7(;e`c;T9;l3$B3jJhZjm0b{gxFNnhV0
zv@N~P<>p26dLUAtl=!MM#K++$g&`)N?S_{6?b-?E+`P_*;nC`?gvIvo+Ddho`i(Zj
z>zvn~pIWDt1Tp93vDhA7b9Q4V{mvf4`0+UBn~#x~OAdJ{QAL2=AKt8BhbFD7`K`VX
z0r)d5JkG~&eiwJ!_zP_5d!2tdJkAkCa-NJwySotmdw84!uZAD@@7H*%?{)qG8fscT
T=SVsY00000NkvXXu0mjfu^p5C
diff --git a/tests/firefox/drag_and_drop/images/win/private_window_logo.png b/tests/firefox/drag_and_drop/images/win/private_window_logo.png
new file mode 100644
index 0000000000000000000000000000000000000000..cd59fc6e470bb49660eca899062136cac8eb2f7e
GIT binary patch
literal 499
zcmV?ZwXB#jYI`Oq_9NwmL<)XW!ep8tmE?ir1P5_wMUa$c`+a
z@9vjbS`!tq7_|AjOwxoYG+gf+s`HK*=h0`ZaRdbuCr9Wm)6&gpQ9wcc#u|g^x!lvk
zOQ}@in_oST4s0MOUrqqPBzsyw;kPAur&Pla7(EhD&_9*p`SI1;r|8kaP4x~6CQgo2
z3QtQ+KtcaU8v>Wd*MNvT<;(F^DYPblQDeX@q#%*;=FrCEp*H6H+6AKZ008C}CPIa#
zEHXhJMG6GWYeYWQ6hu%kadHG;+9FeX0R{7`3}yQ|cfgUqv
zc(hg=878O7Xjv1oGowG?dpax}Mf3-}Jm$_Up?s9~&002ovPDHLkV1lvh>ns2O
literal 0
HcmV?d00001
diff --git a/tests/firefox/drag_and_drop/images/win/txt_file.png b/tests/firefox/drag_and_drop/images/win/txt_file.png
index 8fcd14ade472f6fc9a48d40f304dd68a85c896a8..5cc4fd4efbef3ce1218a8826c56f41accbeee909 100644
GIT binary patch
literal 719
zcmeAS@N?(olHy`uVBq!ia0vp^DnQJ|!3HGnEc8?
ztx|+mh4pF`@Az(7{`
z>f0o8uxa@JO71jb^a=Qwv8#KdGjpzo_7amIE$fZ7=YED2aOTz*#qh$)LuC0O-
zy1pEjV?VmT@u84i#}9?r)Z`qXvKzkBa8r)8C|o0${Y#`W}E
zORKr`{g~XFh5I%YzuJ6h`_ef*m#-E}xHL|z>|Dbc9kb=3)HdEz$Ghi#`Mt3=`c#QT
z&cD7jxdD$Glcyii%*zerj
zpOh|r_kPlEt^^ioujvtsk7TxVeko{AG`#A|61-UAk5^iwyM=1jKH;}J{&$N$3U4_a
t<1fwZTUpK=SS}$m-@|$1lk+qGGp+a(dHTXr_B>G1^K|udS?83{1OQq>3PJz?
literal 277
zcmV+w0qXvVP)>ua=9&G^obk~Z6QZuqUCc1Z
b;-BLUY0tFNGdVoI00000NkvXXu0mjfj3aaS
diff --git a/tests/firefox/drag_and_drop/images/win7/drop_here.png b/tests/firefox/drag_and_drop/images/win7/drop_here.png
index 22702f03598b43fb4cf5c07def83e61cefa6fedc..c00b6dc7bcb22d687d48e03a10a1583310808e79 100644
GIT binary patch
literal 233
zcmVL2nE^5i5!S+7{+~C#0Ei0YTLx5eCZ2tA|f0c4fetcCQwUQs_Hbz^btb2C4s)Z
zK+a{JW(t(IP|N6ztwW53^@&*#C5L?Xz)y1If-F$CDg#s=Nm3#3dY!(#4dwOTnO
zY8j2jPYd~cKKPYN1%4YAPUrBuAb^99m==RH$XQ59NERneI
z6=bnk=7v7q-`}TFDfSY1cXx;UKp^m|0K@HK#3<&T-!t;*=}9CKVJK#^
z897iUlR*jE9gW=X?k?UIHet8hsj(PKOaQma<#Hh{9*;Mh&6Cp;3?TX4ZrAO0)1S;w
zBsPM35-fx@^dX&2C_Nzn
diff --git a/tests/firefox/drag_and_drop/images/win7/private_window_logo.png b/tests/firefox/drag_and_drop/images/win7/private_window_logo.png
new file mode 100644
index 0000000000000000000000000000000000000000..cd59fc6e470bb49660eca899062136cac8eb2f7e
GIT binary patch
literal 499
zcmV?ZwXB#jYI`Oq_9NwmL<)XW!ep8tmE?ir1P5_wMUa$c`+a
z@9vjbS`!tq7_|AjOwxoYG+gf+s`HK*=h0`ZaRdbuCr9Wm)6&gpQ9wcc#u|g^x!lvk
zOQ}@in_oST4s0MOUrqqPBzsyw;kPAur&Pla7(EhD&_9*p`SI1;r|8kaP4x~6CQgo2
z3QtQ+KtcaU8v>Wd*MNvT<;(F^DYPblQDeX@q#%*;=FrCEp*H6H+6AKZ008C}CPIa#
zEHXhJMG6GWYeYWQ6hu%kadHG;+9FeX0R{7`3}yQ|cfgUqv
zc(hg=878O7Xjv1oGowG?dpax}Mf3-}Jm$_Up?s9~&002ovPDHLkV1lvh>ns2O
literal 0
HcmV?d00001
diff --git a/tests/firefox/drag_and_drop/paste_image_data.py b/tests/firefox/drag_and_drop/paste_image_data.py
index 349f452b..0d76a281 100644
--- a/tests/firefox/drag_and_drop/paste_image_data.py
+++ b/tests/firefox/drag_and_drop/paste_image_data.py
@@ -23,7 +23,7 @@ class Test(FirefoxTest):
copy_image_context_menu_pattern = Pattern('copy_image_option.png')
navigate('https://mystor.github.io/dragndrop/')
- test_page_opened = exists(paste_image_data_radiobutton_pattern, DEFAULT_SITE_LOAD_TIMEOUT)
+ test_page_opened = exists(paste_image_data_radiobutton_pattern, Settings.site_load_timeout)
assert test_page_opened, 'Firefox started and page loaded successfully.'
click(paste_image_data_radiobutton_pattern)
@@ -32,7 +32,7 @@ class Test(FirefoxTest):
'it has been selected.'
new_tab()
- select_tab(2)
+ select_tab('2')
navigate(LocalWeb.POCKET_TEST_SITE)
two_images_displayed_on_the_page = exists(first_picture_pattern) and exists(second_picture_pattern)
assert two_images_displayed_on_the_page, 'Web page successfully loads.'
@@ -43,20 +43,20 @@ class Test(FirefoxTest):
'clicking at the first image'
click(copy_image_context_menu_pattern)
- select_tab(1)
+ select_tab('1')
edit_paste()
matching_message_appears = scroll_until_pattern_found(matching_message_pattern, type, (Key.PAGE_DOWN,))
assert matching_message_appears, '"Matching" appears under the "Drop Stuff Here" area, the expected ' \
'result is identical to the result.'
- select_tab(2)
+ select_tab('2')
right_click(second_picture_pattern)
copy_image_option_available = exists(copy_image_context_menu_pattern)
assert copy_image_option_available, '"Copy Image" option is available in the context menu after right ' \
'clicking at the second image'
click(copy_image_context_menu_pattern)
- select_tab(1)
+ select_tab('1')
edit_paste()
matching_message_appears = exists(matching_message_pattern)
assert matching_message_appears, '"Matching" appears under the "Drop Stuff Here" area, the expected result ' \
diff --git a/tests/firefox/drag_and_drop/paste_jpeg_file.py b/tests/firefox/drag_and_drop/paste_jpeg_file.py
index 9a47f3d4..12550d60 100644
--- a/tests/firefox/drag_and_drop/paste_jpeg_file.py
+++ b/tests/firefox/drag_and_drop/paste_jpeg_file.py
@@ -51,7 +51,7 @@ class Test(FirefoxTest):
matching_region = Region(not_matching_message_location.x, not_matching_message_location.y,
width=matching_message_width + 10, height=matching_message_height * 2)
- # select_file_in_folder(folderpath, jpg_file_pattern, edit_copy)
+ select_file_in_folder(folderpath, jpg_file_pattern, edit_copy)
drop_here_available = exists(drop_here_pattern)
assert drop_here_available, '"Drop here" pattern available'
@@ -64,7 +64,7 @@ class Test(FirefoxTest):
assert matching_message_displayed, 'Matching appears under the "Drop Stuff Here" area and expected' \
'result is identical to result. '
- # select_file_in_folder(folderpath, pdf_file_pattern, edit_copy)
+ select_file_in_folder(folderpath, pdf_file_pattern, edit_copy)
drop_here_available = exists(drop_here_pattern)
assert drop_here_available, '"Drop here" pattern available'
diff --git a/tests/firefox/drag_and_drop/paste_pdf_file.py b/tests/firefox/drag_and_drop/paste_pdf_file.py
index 3476033a..8181581a 100644
--- a/tests/firefox/drag_and_drop/paste_pdf_file.py
+++ b/tests/firefox/drag_and_drop/paste_pdf_file.py
@@ -51,7 +51,7 @@ class Test(FirefoxTest):
matching_region = Region(not_matching_message_location.x, not_matching_message_location.y,
width=matching_message_width + 10, height=matching_message_height * 2)
- # select_file_in_folder(folderpath, pdf_file_pattern, edit_copy)
+ select_file_in_folder(folderpath, pdf_file_pattern, edit_copy)
drop_here_available = exists(drop_here_pattern)
assert drop_here_available, '"Drop here" pattern available'
@@ -64,7 +64,7 @@ class Test(FirefoxTest):
assert matching_message_displayed, 'Matching appears under the "Drop Stuff Here" area and expected' \
'result is identical to result. '
- # select_file_in_folder(folderpath, jpg_file_pattern, edit_copy)
+ select_file_in_folder(folderpath, jpg_file_pattern, edit_copy)
drop_here_available = exists(drop_here_pattern)
assert drop_here_available, '"Drop here" pattern available'
diff --git a/tests/firefox/drag_and_drop/paste_pdf_file_in_private_window.py b/tests/firefox/drag_and_drop/paste_pdf_file_in_private_window.py
index 18e0df0a..0efafadd 100644
--- a/tests/firefox/drag_and_drop/paste_pdf_file_in_private_window.py
+++ b/tests/firefox/drag_and_drop/paste_pdf_file_in_private_window.py
@@ -55,7 +55,7 @@ class Test(FirefoxTest):
matching_region = Region(not_matching_message_location.x, not_matching_message_location.y,
width=matching_message_width + 10, height=matching_message_height * 2)
- # select_file_in_folder(folderpath, pdf_file_pattern, edit_copy)
+ select_file_in_folder(folderpath, pdf_file_pattern, edit_copy)
drop_here_available = exists(drop_here_pattern)
assert drop_here_available, '"Drop here" pattern available'
@@ -68,7 +68,7 @@ class Test(FirefoxTest):
assert matching_message_displayed, 'Matching appears under the "Drop Stuff Here" area and expected' \
'result is identical to result. '
- # select_file_in_folder(folderpath, jpg_file_pattern, edit_copy)
+ select_file_in_folder(folderpath, jpg_file_pattern, edit_copy)
drop_here_available = exists(drop_here_pattern)
assert drop_here_available, '"Drop here" pattern available'
diff --git a/tests/firefox/drag_and_drop/paste_png_file.py b/tests/firefox/drag_and_drop/paste_png_file.py
index fdb7ae1c..34a95104 100644
--- a/tests/firefox/drag_and_drop/paste_png_file.py
+++ b/tests/firefox/drag_and_drop/paste_png_file.py
@@ -51,7 +51,7 @@ class Test(FirefoxTest):
matching_region = Region(not_matching_message_location.x, not_matching_message_location.y,
width=matching_message_width + 10, height=matching_message_height * 2)
- # select_file_in_folder(folderpath, png_file_pattern, edit_copy)
+ select_file_in_folder(folderpath, png_file_pattern, edit_copy)
drop_here_available = exists(drop_here_pattern)
assert drop_here_available, '"Drop here" pattern available'
@@ -64,7 +64,7 @@ class Test(FirefoxTest):
assert matching_message_displayed, 'Matching appears under the "Drop Stuff Here" area and expected '\
'result is identical to result. '
- # select_file_in_folder(folderpath, txt_file_pattern, edit_copy)
+ select_file_in_folder(folderpath, txt_file_pattern, edit_copy)
drop_here_available = exists(drop_here_pattern)
assert drop_here_available, '"Drop here" pattern available'
diff --git a/tests/firefox/drag_and_drop/paste_png_file_in_private_window.py b/tests/firefox/drag_and_drop/paste_png_file_in_private_window.py
index 149b5c99..c18de0a2 100644
--- a/tests/firefox/drag_and_drop/paste_png_file_in_private_window.py
+++ b/tests/firefox/drag_and_drop/paste_png_file_in_private_window.py
@@ -55,7 +55,7 @@ class Test(FirefoxTest):
matching_region = Region(not_matching_message_location.x, not_matching_message_location.y,
width=matching_message_width + 10, height=matching_message_height * 2)
- # select_file_in_folder(folderpath, png_file_pattern, edit_copy)
+ select_file_in_folder(folderpath, png_file_pattern, edit_copy)
drop_here_available = exists(drop_here_pattern)
assert drop_here_available, '"Drop here" pattern available'
@@ -68,7 +68,7 @@ class Test(FirefoxTest):
assert matching_message_displayed, 'Matching appears under the "Drop Stuff Here" area and expected '\
'result is identical to result. '
- # select_file_in_folder(folderpath, txt_file_pattern, edit_copy)
+ select_file_in_folder(folderpath, txt_file_pattern, edit_copy)
drop_here_available = exists(drop_here_pattern)
assert drop_here_available, '"Drop here" pattern available'
diff --git a/tests/firefox/drag_and_drop/paste_txt_file.py b/tests/firefox/drag_and_drop/paste_txt_file.py
index 83bf3c29..f5138880 100644
--- a/tests/firefox/drag_and_drop/paste_txt_file.py
+++ b/tests/firefox/drag_and_drop/paste_txt_file.py
@@ -50,7 +50,7 @@ class Test(FirefoxTest):
matching_region = Region(not_matching_message_location.x, not_matching_message_location.y,
width=matching_message_width + 10, height=matching_message_height * 2)
- # select_file_in_folder(folderpath, txt_file_pattern, edit_copy)
+ select_file_in_folder(folderpath, txt_file_pattern, edit_copy)
drop_here_available = exists(drop_here_pattern)
assert drop_here_available, '"Drop here" pattern available'
@@ -63,7 +63,7 @@ class Test(FirefoxTest):
assert matching_message_displayed, 'Matching appears under the "Drop Stuff Here" area and expected'\
'result is identical to result. '
- # select_file_in_folder(folderpath, jpg_file_pattern, edit_copy)
+ select_file_in_folder(folderpath, jpg_file_pattern, edit_copy)
drop_here_available = exists(drop_here_pattern)
assert drop_here_available, '"Drop here" pattern available'
diff --git a/tests/firefox/drag_and_drop/paste_txt_file_in_private_window.py b/tests/firefox/drag_and_drop/paste_txt_file_in_private_window.py
index 68ec6dd4..2d78fa6f 100644
--- a/tests/firefox/drag_and_drop/paste_txt_file_in_private_window.py
+++ b/tests/firefox/drag_and_drop/paste_txt_file_in_private_window.py
@@ -54,7 +54,7 @@ class Test(FirefoxTest):
matching_region = Region(not_matching_message_location.x, not_matching_message_location.y,
width=matching_message_width + 10, height=matching_message_height * 2)
- # select_file_in_folder(folderpath, txt_file_pattern, edit_copy)
+ select_file_in_folder(folderpath, txt_file_pattern, edit_copy)
drop_here_available = exists(drop_here_pattern)
assert drop_here_available, '"Drop here" pattern available'
@@ -67,7 +67,7 @@ class Test(FirefoxTest):
assert matching_message_displayed, 'Matching appears under the "Drop Stuff Here" area and expected'\
'result is identical to result. '
- # select_file_in_folder(folderpath, jpg_file_pattern, edit_copy)
+ select_file_in_folder(folderpath, jpg_file_pattern, edit_copy)
drop_here_available = exists(drop_here_pattern)
assert drop_here_available, '"Drop here" pattern available'