James Valleroy 929e7626f0
dynamicdns: Convert entered domain name to lower case
Domain name is not case sensitive, but Let's Encrypt certificate paths
use lower-case domain name.

Add an extra 1 second delay to tests that configure DynamicDNS domain.

Test: DynamicDNS functional tests are passing.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2021-03-29 12:59:20 +03:00

29 lines
979 B
Gherkin

# SPDX-License-Identifier: AGPL-3.0-or-later
# TODO Scenario: Configure GnuDIP service
# TODO Scenario: Configure noip.com service
# TODO Scenario: Configure selfhost.bz service
# TODO Scenario: Configure freedns.afraid.org service
# TODO Scenario: Configure other update URL service
@apps @dynamicdns
Feature: Dynamic DNS Client
Update public IP to a GnuDIP server.
Background:
Given I'm a logged in user
And the dynamicdns application is installed
Scenario: Capitalized domain name
Given dynamicdns is configured
When I change the domain name to FreedomBox.example.com
Then the domain name should be freedombox.example.com
@backups
Scenario: Backup and restore configuration
Given dynamicdns is configured
When I create a backup of the dynamicdns app data with name test_dynamicdns
And I change the dynamicdns configuration
And I restore the dynamicdns app data backup with name test_dynamicdns
Then dynamicdns should have the original configuration