From ee87c00578a531956ff7e3a225aaad424e4c48c1 Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Tue, 26 Feb 2019 15:19:15 -0800 Subject: [PATCH] ttrss: Make functional test definitions specific to ttrss - So as not to clash with future apps that may have feed add/remove capability. Signed-off-by: Sunil Mohan Adapa --- functional_tests/features/ttrss.feature | 6 +++--- functional_tests/step_definitions/site.py | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/functional_tests/features/ttrss.feature b/functional_tests/features/ttrss.feature index 9a6fbfe37..5cd7da76d 100644 --- a/functional_tests/features/ttrss.feature +++ b/functional_tests/features/ttrss.feature @@ -30,12 +30,12 @@ Scenario: Enable ttrss application Scenario: Backup and restore ttrss Given the ttrss application is enabled - And I subscribe to a feed + And I subscribe to a feed in ttrss When I create a backup of the ttrss app data - And I unsubscribe from the feed + And I unsubscribe from the feed in ttrss And I restore the ttrss app data backup Then the ttrss service should be running - And I should be subscribed to the feed + And I should be subscribed to the feed in ttrss Scenario: Disable ttrss application Given the ttrss application is enabled diff --git a/functional_tests/step_definitions/site.py b/functional_tests/step_definitions/site.py index abbf40b49..100c0a269 100644 --- a/functional_tests/step_definitions/site.py +++ b/functional_tests/step_definitions/site.py @@ -242,16 +242,16 @@ def syncthing_assert_folder_not_present(browser, folder_name): assert not site.syncthing_folder_is_present(browser, folder_name) -@given('I subscribe to a feed') +@given('I subscribe to a feed in ttrss') def ttrss_subscribe(browser): site.ttrss_subscribe(browser) -@when('I unsubscribe from the feed') +@when('I unsubscribe from the feed in ttrss') def ttrss_unsubscribe(browser): site.ttrss_unsubscribe(browser) -@then('I should be subscribed to the feed') +@then('I should be subscribed to the feed in ttrss') def ttrss_assert_subscribed(browser): assert site.ttrss_is_subscribed(browser)