Warning, /network/neochat/appiumtests/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 # SPDX-License-Identifier: BSD-3-Clause 0002 # SPDX-FileCopyrightText: 2022 Harald Sitter <sitter@kde.org> 0003 0004 0005 if(NOT BUILD_TESTING OR NOT CMAKE_SYSTEM_NAME MATCHES "Linux") 0006 return() 0007 endif() 0008 0009 find_package(SeleniumWebDriverATSPI) 0010 set_package_properties(SeleniumWebDriverATSPI PROPERTIES 0011 DESCRIPTION "Server component for selenium tests using Linux accessibility infrastructure" 0012 PURPOSE "Needed for GUI tests" 0013 URL "https://invent.kde.org/sdk/selenium-webdriver-at-spi" 0014 TYPE OPTIONAL 0015 ) 0016 if(NOT SeleniumWebDriverATSPI_FOUND) 0017 return() 0018 endif() 0019 0020 add_test( 0021 NAME logintest 0022 COMMAND selenium-webdriver-at-spi-run ${CMAKE_CURRENT_SOURCE_DIR}/logintest.py 0023 ) 0024 0025 add_test( 0026 NAME openuserdetailstest 0027 COMMAND selenium-webdriver-at-spi-run ${CMAKE_CURRENT_SOURCE_DIR}/openuserdetailstest.py 0028 )