test.lua

main 21 lines · 366 bytes Raw
Alex Alex Commit Client Upload Part 2 19/10/2026 00:06
1-- First test
2Test.Test("First test, maximize and hide entergame", function(test, wait, ss, fail)
3 wait(1000)
4 test(function()
5 g_window.maximize()
6 end)
7 wait(3000)
8 ss()
9end)
10
11-- load all tests
12dofiles("tests")
13
14-- add last test
15Test.Test("Last test, do screenshot", function(test, wait, ss, fail)
16 ss()
17end)
18
19-- run tests
20Test.run()
21
Top