mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-03-11 09:04:54 +00:00
functional-tests: Minor cleanup of license headers and whitespace
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
af1406119d
commit
075ccf402a
@ -9,10 +9,10 @@ $ sudo apt install xvfb # optional, to avoid opening browser windows
|
||||
$ pip3 install pytest-xvfb # optional, to avoid opening browser windows
|
||||
```
|
||||
|
||||
- Install the latest version of geckodriver.
|
||||
- Install the latest version of geckodriver.
|
||||
It's usually a single binary which you can place at /usr/local/bin/geckodriver
|
||||
|
||||
- Install the latest version of Mozilla Firefox.
|
||||
- Install the latest version of Mozilla Firefox.
|
||||
Download and extract the latest version from the Firefox website and symlink the binary named `firefox` to /usr/local/bin.
|
||||
|
||||
Geckodriver will then use whatever version of Firefox you symlink as /usr/local/bin/firefox.
|
||||
@ -24,7 +24,7 @@ Geckodriver will then use whatever version of Firefox you symlink as /usr/local/
|
||||
should run the tests using FreedomBox running on a throw-away VM.
|
||||
|
||||
The VM should have NAT port-forwarding enabled so that 4430 on the
|
||||
host forwards to 443 on the guest. The web interface of FreedomBox
|
||||
host forwards to 443 on the guest. The web interface of FreedomBox
|
||||
should be accessible from the host system at https://localhost:4430/.
|
||||
|
||||
# Setup FreedomBox Service for tests
|
||||
@ -53,7 +53,7 @@ can also specify which tests to run, by tag or keyword:
|
||||
$ py.test -k essential
|
||||
```
|
||||
|
||||
If xvfb is installed and you still want to see browser windows, use the
|
||||
If xvfb is installed and you still want to see browser windows, use the
|
||||
`--no-xvfb` command-line argument.
|
||||
|
||||
```
|
||||
|
||||
@ -26,7 +26,7 @@ Background:
|
||||
Scenario: Enable cockpit application
|
||||
Given the cockpit application is disabled
|
||||
When I enable the cockpit application
|
||||
Then the cockpit site should be available
|
||||
Then the cockpit site should be available
|
||||
|
||||
Scenario: Disable cockpit application
|
||||
Given the cockpit application is enabled
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
#
|
||||
# This file is part of Plinth-tester.
|
||||
# This file is part of FreedomBox.
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as
|
||||
|
||||
@ -16,7 +16,7 @@
|
||||
#
|
||||
|
||||
@apps @matrixsynapse
|
||||
Feature: VoIP and Chat Server
|
||||
Feature: VoIP and Chat Server
|
||||
Run Matrix Synapse server
|
||||
|
||||
Background:
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
#
|
||||
# This file is part of Plinth-tester.
|
||||
# This file is part of FreedomBox.
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
#
|
||||
# This file is part of Plinth-tester.
|
||||
# This file is part of FreedomBox.
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
#
|
||||
# This file is part of Plinth-tester.
|
||||
# This file is part of FreedomBox.
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user