2022-11-27 09:42:12 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, python
|
|
|
|
, robotframework
|
|
|
|
, robotframework-pythonlibcore
|
|
|
|
, selenium
|
|
|
|
, approvaltests
|
|
|
|
, pytest-mockito
|
|
|
|
, pytestCheckHook
|
|
|
|
, robotstatuschecker
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2022-02-10 20:34:41 +00:00
|
|
|
version = "6.0.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "robotframework-seleniumlibrary";
|
|
|
|
|
|
|
|
# no tests included in PyPI tarball
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "robotframework";
|
|
|
|
repo = "SeleniumLibrary";
|
|
|
|
rev = "v${version}";
|
2022-02-10 20:34:41 +00:00
|
|
|
sha256 = "1rjzz6mrx4zavcck2ry8269rf3dkvvs1qfa9ra7dkppbarrjin3f";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-11-27 09:42:12 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
robotframework
|
|
|
|
robotframework-pythonlibcore
|
|
|
|
selenium
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-11-27 09:42:12 +00:00
|
|
|
checkInputs = [
|
|
|
|
approvaltests
|
|
|
|
pytest-mockito
|
|
|
|
pytestCheckHook
|
|
|
|
robotstatuschecker
|
|
|
|
];
|
|
|
|
|
|
|
|
disabledTestPaths = [
|
|
|
|
# https://github.com/robotframework/SeleniumLibrary/issues/1804
|
|
|
|
"utest/test/keywords/test_webdrivercache.py"
|
|
|
|
];
|
|
|
|
|
|
|
|
disabledTests = [
|
|
|
|
"test_create_opera_executable_path_not_set"
|
|
|
|
"test_create_opera_executable_path_set"
|
|
|
|
"test_create_opera_with_options"
|
|
|
|
"test_create_opera_with_service_log_path_real_path"
|
|
|
|
"test_get_executable_path"
|
|
|
|
"test_get_ff_profile_instance_FirefoxProfile"
|
|
|
|
"test_has_options"
|
|
|
|
"test_importer"
|
|
|
|
"test_log_file_with_index_exist"
|
|
|
|
"test_opera"
|
|
|
|
"test_single_method"
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2022-11-27 09:42:12 +00:00
|
|
|
changelog = "https://github.com/robotframework/SeleniumLibrary/blob/${src.rev}/docs/SeleniumLibrary-${version}.rst";
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Web testing library for Robot Framework";
|
|
|
|
homepage = "https://github.com/robotframework/SeleniumLibrary";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = [ maintainers.marsam ];
|
|
|
|
};
|
|
|
|
}
|