Sunil Mohan Adapa 84a7d7c928
coturn: Fix functional test for backup/restore
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Joseph Nuthalapati <njoseph@riseup.net>
2020-05-22 22:56:25 +05:30

28 lines
907 B
Gherkin

# SPDX-License-Identifier: AGPL-3.0-or-later
@apps @coturn @backups
Feature: Coturn STUN/TURN Server
Run the Coturn STUN/TURN server.
Background:
Given I'm a logged in user
And advanced mode is on
And the coturn application is installed
Scenario: Enable coturn application
Given the coturn application is disabled
When I enable the coturn application
Then the coturn service should be running
# TODO: Improve this by checking that secret and domain did not change
Scenario: Backup and restore coturn
Given the coturn application is enabled
When I create a backup of the coturn app data with name test_coturn
And I restore the coturn app data backup with name test_coturn
Then the coturn service should be running
Scenario: Disable coturn application
Given the coturn application is enabled
When I disable the coturn application
Then the coturn service should not be running