summaryrefslogtreecommitdiff
path: root/hyprtester/src/tests/main/gestures.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'hyprtester/src/tests/main/gestures.cpp')
-rw-r--r--hyprtester/src/tests/main/gestures.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/hyprtester/src/tests/main/gestures.cpp b/hyprtester/src/tests/main/gestures.cpp
index 4c56e904..9b31cdb6 100644
--- a/hyprtester/src/tests/main/gestures.cpp
+++ b/hyprtester/src/tests/main/gestures.cpp
@@ -45,11 +45,15 @@ static bool test() {
EXPECT(Tests::windowCount(), 1);
// Give the shell a moment to initialize
- std::this_thread::sleep_for(std::chrono::milliseconds(100));
+ std::this_thread::sleep_for(std::chrono::milliseconds(500));
- OK(getFromSocket("/dispatch plugin:test:gesture up,4"));
+ OK(getFromSocket("/dispatch plugin:test:gesture up,5"));
+ OK(getFromSocket("/dispatch plugin:test:gesture down,5"));
+ OK(getFromSocket("/dispatch plugin:test:gesture left,5"));
+ OK(getFromSocket("/dispatch plugin:test:gesture right,5"));
+ OK(getFromSocket("/dispatch plugin:test:gesture right,4"));
- EXPECT(waitForWindowCount(0, "Gesture sent ctrl+d to kitty"), true);
+ EXPECT(waitForWindowCount(0, "Gesture sent paste exit + enter to kitty"), true);
EXPECT(Tests::windowCount(), 0);