From d82f2f5873b01798b430c9e937902f308fe74365 Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Wed, 19 Aug 2020 14:02:10 -0700 Subject: [PATCH] radicale: tests: functional: Add test for backup/restore Signed-off-by: Sunil Mohan Adapa Reviewed-by: Joseph Nuthalapati --- plinth/modules/radicale/tests/radicale.feature | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/plinth/modules/radicale/tests/radicale.feature b/plinth/modules/radicale/tests/radicale.feature index 728e76273..431e00cbb 100644 --- a/plinth/modules/radicale/tests/radicale.feature +++ b/plinth/modules/radicale/tests/radicale.feature @@ -36,6 +36,16 @@ Scenario: Authenticated access rights Then the radicale service should be running And the access rights should be "any user can view or make changes" +@backups +Scenario: Backup and restore radicale + Given the radicale application is enabled + And the access rights are set to "only the owner can view or make changes" + When I create a backup of the radicale app data with name test_radicale + And I change the access rights to "any user can view, but only the owner can make changes" + And I restore the radicale app data backup with name test_radicale + Then the radicale service should be running + And the access rights should be "only the owner can view or make changes" + Scenario: Disable radicale application Given the radicale application is enabled When I disable the radicale application