pythonPackages.selenium: add test to related nixos test

It'd certainly be better to have a selenium-specific test, but there is
currently none so this will be better than nothing.
This commit is contained in:
Léo Gaspard 2021-04-04 00:31:16 +02:00
parent 3554d52545
commit 0b85cb4d63

View file

@ -6,6 +6,7 @@
, geckodriver , geckodriver
, urllib3 , urllib3
, xorg , xorg
, nixosTests
}: }:
@ -47,6 +48,10 @@ buildPythonPackage rec {
cp -v x_ignore_nofocus.so selenium/webdriver/firefox/${if stdenv.is64bit then "amd64" else "x86"}/ cp -v x_ignore_nofocus.so selenium/webdriver/firefox/${if stdenv.is64bit then "amd64" else "x86"}/
''; '';
passthru.tests = {
testing-bitwarden = nixosTests.bitwarden;
};
meta = with lib; { meta = with lib; {
description = "The selenium package is used to automate web browser interaction from Python"; description = "The selenium package is used to automate web browser interaction from Python";
homepage = "http://www.seleniumhq.org"; homepage = "http://www.seleniumhq.org";