summaryrefslogtreecommitdiffstats
path: root/tests/manual/wasm/selenium/qwasmwindow/run.sh
diff options
context:
space:
mode:
authorPiotr Wierciński <[email protected]>2023-12-06 16:41:11 +0100
committerPiotr Wierciński <[email protected]>2024-02-07 13:15:09 +0100
commitd2862a8f026bcce5a31aff08adc98013f8becf3f (patch)
tree9566c54b5bd3dbd154626fbca784a40ec3618b65 /tests/manual/wasm/selenium/qwasmwindow/run.sh
parenta046bc19e451f6f2e42ac1fcddaf5ef3efc81f0d (diff)
wasm: Refractor Selenium manual test into auto test
Using Selenium for WebAssembly testing enables us to test user interactions, which is very valuable. Turning this test into automated allows us to run it in CI pipeline. This will help with detecting regressions. Two of these tests are currently failing on CI machine and they have been temporarily disabled. Change-Id: I754dd05955e55eb031070f5328ef715b7826c2b5 Reviewed-by: Morten Johan Sørvig <[email protected]> Reviewed-by: Qt CI Bot <[email protected]>
Diffstat (limited to 'tests/manual/wasm/selenium/qwasmwindow/run.sh')
-rwxr-xr-xtests/manual/wasm/selenium/qwasmwindow/run.sh23
1 files changed, 0 insertions, 23 deletions
diff --git a/tests/manual/wasm/selenium/qwasmwindow/run.sh b/tests/manual/wasm/selenium/qwasmwindow/run.sh
deleted file mode 100755
index f6271d6131a..00000000000
--- a/tests/manual/wasm/selenium/qwasmwindow/run.sh
+++ /dev/null
@@ -1,23 +0,0 @@
-#! /bin/bash
-
-# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
-
-set -m
-
-function removeServer()
-{
- [ -z "$cleanupPid" ] || kill $cleanupPid
-}
-
-trap removeServer EXIT
-
-script_dir=`dirname ${BASH_SOURCE[0]}`
-cd "$script_dir"
-python3 qtwasmserver.py -p 8001 > /dev/null 2>&1 &
-cleanupPid=$!
-
-python3 qwasmwindow.py $@
-
-echo 'Press any key to continue...' >&2
-read -n 1