summaryrefslogtreecommitdiff
path: root/hyprtester/src/tests/main/workspaces.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'hyprtester/src/tests/main/workspaces.cpp')
-rw-r--r--hyprtester/src/tests/main/workspaces.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/hyprtester/src/tests/main/workspaces.cpp b/hyprtester/src/tests/main/workspaces.cpp
index fa29338c..de724af6 100644
--- a/hyprtester/src/tests/main/workspaces.cpp
+++ b/hyprtester/src/tests/main/workspaces.cpp
@@ -27,6 +27,16 @@ static bool test() {
NLog::log("{}Switching to workspace 1", Colors::YELLOW);
OK(getFromSocket("/dispatch workspace 1"));
+ NLog::log("{}Checking persistent no-mon", Colors::YELLOW);
+ OK(getFromSocket("r/keyword workspace 966,persistent:1"));
+
+ {
+ auto str = getFromSocket("/workspaces");
+ EXPECT_CONTAINS(str, "workspace ID 966 (966)");
+ }
+
+ OK(getFromSocket("/reload"));
+
NLog::log("{}Spawning kittyProc on ws 1", Colors::YELLOW);
auto kittyProcA = Tests::spawnKitty();