Orestis Floros
34ef7f8c33
tests: Extract focused_output in library
2021-11-05 18:33:14 +01:00
Orestis Floros
7fc3bf660e
cmd_focus_output: Avoid assertion crash
...
Happened when the command criteria didn't match any windows. For
example: `[con_mark=doesnotexist] focus output left`.
2019-03-22 10:47:48 +02:00
Michael Stapelberg
7ad32fd2d1
tests: replace http:// with https:// where appropriate
...
This was done automatically using:
% sed -i 's,http://build.i3wm.org,https://build.i3wm.org,g ' testcases/t/*.t
2017-09-24 10:19:50 +02:00
Michael Stapelberg
02786155dc
tests: use i3_config arg instead of precisely one launch_with_config
...
This way, tests are shorter, and i3test’s invocation of launch_with_config
parallelizes work better, using dont_block => 1.
2017-09-14 21:46:20 +02:00
Michael Stapelberg
07d583d780
tests: sync_with_i3 before warping pointer
...
To be honest, I’m not entirely sure where the race condition originates
from, but when making sure that there are no pending events
(which is what sync_with_i3 accomplishes) before warping the pointer, we
have less flaky testsuite runs.
closes #1189
2014-02-25 20:44:17 +01:00
jj
b6100dd727
Fix output retrieval for floating cons
...
When focusing/moving to outputs, the method of getting the correct
output for a given container fails if the container in question is
floating and only partially mapped on an output screen. This patch
introduces a fail-safe retrieval of the output for any container.
2013-10-23 23:26:06 +02:00
Michael Stapelberg
338199913b
add boilerplate to all testcases with documentation references
2012-09-10 14:09:01 +02:00
Michael Stapelberg
1bb165a29a
tests: warp the pointer to in multi-monitor tests to avoid flaky tests
2012-04-09 14:48:57 +02:00
Michael Stapelberg
0f10ccdf12
Implement fake-outputs option (cmdline, cfg) for multi-monitor testing
...
This kills the dependency on xdmx and makes the testsuite simpler
and more flexible (in the output sizes / configurations).
2012-04-09 14:28:36 +02:00
Michael Stapelberg
07d07719f0
add testcase for 'focus output'
2012-01-08 11:59:24 +00:00