path: plasma-workspace_4:6.5.4-3/appiumtests/applets/cameraindicatortest.py cls.driver = webdriver.Remote(command_executor=f'http://127.0.0.1:{os.getenv("FLASK_PORT", "4723")}', options=options) cls.pipewire_already_running_before_test = subprocess.Popen(["pidof", "pipewire"]).wait() == 0 def tearDown(self) -> None: path: plasma-workspace_4:6.5.4-3/appiumtests/applets/notificationstest.py if __name__ == '__main__': assert "USE_CUSTOM_BUS" in os.environ or subprocess.call(["pidof", "plasmashell"]) != 0 or "KDECI_BUILD" in os.environ, "plasmashell should not be running" logging.getLogger().setLevel(logging.INFO) unittest.main(failfast=True) path: plasma-workspace_4:6.5.4-3/appiumtests/applets/clipboardtest.py if __name__ == '__main__': assert subprocess.call(["pidof", "plasmashell"]) != 0, "The test requires plasmashell to quit" assert os.getenv("GDK_BACKEND") == "wayland", "The test requires wayland GDK_BACKEND" assert os.getenv("QT_QPA_PLATFORM") == "wayland", "The test requires wayland QT_QPA_PLATFORM"