From: Michael Stapelberg Date: Fri, 3 Jun 2011 00:05:34 +0000 (+0200) Subject: add testcase for the fullscreen restart problem of the previous commit X-Git-Tag: tree-pr4~95 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=30501e7c8aa42ac4ed9c06f9a6ab7524d376c62b;p=i3%2Fi3 add testcase for the fullscreen restart problem of the previous commit --- diff --git a/testcases/t/68-regress-fullscreen-restart.t b/testcases/t/68-regress-fullscreen-restart.t new file mode 100644 index 00000000..fcc9ac7e --- /dev/null +++ b/testcases/t/68-regress-fullscreen-restart.t @@ -0,0 +1,28 @@ +#!perl +# vim:ts=4:sw=4:expandtab +# +# Verifies that i3 survives inplace restarts with fullscreen containers +# +use i3test; +use X11::XCB qw(:all); +use X11::XCB::Connection; + +my $x = X11::XCB::Connection->new; + +fresh_workspace; + +open_standard_window($x); +open_standard_window($x); + +cmd 'layout stacking'; +sleep 1; + +cmd 'fullscreen'; +sleep 1; + +cmd 'restart'; +sleep 1; + +does_i3_live; + +done_testing;