Skip to content

Commit becafef

Browse files
committed
fix test
fix test
1 parent b43f641 commit becafef

File tree

13 files changed

+28
-12
lines changed

13 files changed

+28
-12
lines changed

.idea/misc.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"program_buffer": 10240000
3+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"encoding": "utf-8",
3+
"font": "TkDefaultFont",
4+
"font_size": 12,
5+
"language": "python",
6+
"language_compiler_param": null,
7+
"language_precompiler": null,
8+
"last_file": "C:/program_workspace/python/Integration-testing-environment/test/integrated_test/gui_test/test_script_source/test_py.py",
9+
"program_buffer": 10240000,
10+
"tab_size": "1c",
11+
"theme": {
12+
"tag_keyword_color": "dark orange"
13+
}
14+
}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
from integration_testing_environment import start_ite
2+
start_ite()

test/integrated_test/gui_test/self_autocontrol_test.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def open_file_to_test(file_png: str):
2727
detect_threshold=0.9
2828
)
2929

30-
time.sleep(1)
30+
time.sleep(3)
3131

3232
locate_and_click(
3333
"../../test_source/test_script_source.png",
@@ -57,13 +57,16 @@ def open_file_to_test(file_png: str):
5757
detect_threshold=0.9
5858
)
5959

60+
time.sleep(1)
6061

6162
locate_and_click(
6263
"../../test_source/resize.png",
6364
mouse_keycode="mouse_left",
6465
detect_threshold=0.9
6566
)
6667

68+
time.sleep(1)
69+
6770
open_file_to_test("../../test_source/test_py.png")
6871

6972
time.sleep(1)
@@ -102,7 +105,7 @@ def open_file_to_test(file_png: str):
102105
detect_threshold=0.9
103106
)
104107

105-
time.sleep(10)
108+
time.sleep(5)
106109

107110
open_file_to_test("../../test_source/apitestka_script_json.png")
108111

@@ -174,7 +177,7 @@ def open_file_to_test(file_png: str):
174177
detect_threshold=0.9
175178
)
176179

177-
time.sleep(20)
180+
time.sleep(10)
178181

179182
open_file_to_test("../../test_source/load_density_script_json.png")
180183

@@ -194,7 +197,7 @@ def open_file_to_test(file_png: str):
194197
detect_threshold=0.9
195198
)
196199

197-
time.sleep(15)
200+
time.sleep(10)
198201

199202
locate_and_click(
200203
"../../test_source/close_white.png",
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
print("AAA")

0 commit comments

Comments
 (0)