diff options
author | Wojtek Kosior <koszko@koszko.org> | 2021-11-27 13:14:28 +0100 |
---|---|---|
committer | Wojtek Kosior <koszko@koszko.org> | 2021-11-27 13:15:33 +0100 |
commit | 5b2a7a61fd5cf9982f105a3081c2ed7a298b71df (patch) | |
tree | a53b200722278e7cc9793ecd6f2ea134a609cead /test/data | |
parent | 96068ada37bfa1d7e6485551138ba36600664caf (diff) | |
download | browser-extension-5b2a7a61fd5cf9982f105a3081c2ed7a298b71df.tar.gz browser-extension-5b2a7a61fd5cf9982f105a3081c2ed7a298b71df.zip |
add Selenium- and Python-based test system
Diffstat (limited to 'test/data')
-rw-r--r-- | test/data/pages/gotmyowndomain.html | 35 | ||||
-rw-r--r-- | test/data/pages/gotmyowndomain_https.html | 35 |
2 files changed, 70 insertions, 0 deletions
diff --git a/test/data/pages/gotmyowndomain.html b/test/data/pages/gotmyowndomain.html new file mode 100644 index 0000000..42c26cc --- /dev/null +++ b/test/data/pages/gotmyowndomain.html @@ -0,0 +1,35 @@ +<!DOCTYPE html> +<!-- + SPDX-License-Identifier: AGPL-3.0-or-later + + Sample testig page + + This file is part of Haketilo. + + Copyright (C) 2021 jahoti <jahoti@tilde.team> + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as + published by the Free Software Foundation, either version 3 of the + License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see <https://www.gnu.org/licenses/>. + --> +<html> + <head> + <meta name=charset value="latin1"> + <title>Schrodinger's Document</title> + </head> + <body> + A nice, simple page for testing. + <script> + document.write('<p><b>Or so you thought...</b></p>'); + </script> + </body> +</html> diff --git a/test/data/pages/gotmyowndomain_https.html b/test/data/pages/gotmyowndomain_https.html new file mode 100644 index 0000000..95c0be4 --- /dev/null +++ b/test/data/pages/gotmyowndomain_https.html @@ -0,0 +1,35 @@ +<!DOCTYPE html> +<!-- + SPDX-License-Identifier: AGPL-3.0-or-later + + Sample testig page to serve over HTTPS + + This file is part of Haketilo. + + Copyright (C) 2021 jahoti <jahoti@tilde.team> + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as + published by the Free Software Foundation, either version 3 of the + License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see <https://www.gnu.org/licenses/>. + --> +<html> + <head> + <meta name=charset value="latin1"> + <title>Schrodinger's Document</title> + </head> + <body> + A nice, simple page for testing (using HTTPS). + <script> + document.write('<p><b>Or so you thought...</b></p>'); + </script> + </body> +</html> |