mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-09-19 04:59:01 +00:00
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 <sunil@medhas.org>
This commit is contained in:
parent
1eed7d581d
commit
ee87c00578
@ -30,12 +30,12 @@ Scenario: Enable ttrss application
|
|||||||
|
|
||||||
Scenario: Backup and restore ttrss
|
Scenario: Backup and restore ttrss
|
||||||
Given the ttrss application is enabled
|
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
|
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
|
And I restore the ttrss app data backup
|
||||||
Then the ttrss service should be running
|
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
|
Scenario: Disable ttrss application
|
||||||
Given the ttrss application is enabled
|
Given the ttrss application is enabled
|
||||||
|
|||||||
@ -242,16 +242,16 @@ def syncthing_assert_folder_not_present(browser, folder_name):
|
|||||||
assert not site.syncthing_folder_is_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):
|
def ttrss_subscribe(browser):
|
||||||
site.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):
|
def ttrss_unsubscribe(browser):
|
||||||
site.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):
|
def ttrss_assert_subscribed(browser):
|
||||||
assert site.ttrss_is_subscribed(browser)
|
assert site.ttrss_is_subscribed(browser)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user