tahoe: Mark Tahoe-LAFS as an advanced app

Tahoe LAFS is an app requiring some technical knowledge to use and its support
in FreedomBox is experimental. The use case of a cluster of FreedomBoxes running
Tahoe-LAFS nodes isn't tested yet. It's intended use case as a backend for the
backups app isn't implemented yet.

- Fixed functional test implementation for advanced mode
- Did not fix failing Tahoe-LAFS tests, keeping them skipped for now.

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
Joseph Nuthalapati 2019-11-08 22:33:24 +05:30 committed by Sunil Mohan Adapa
parent 8e341a6c3b
commit cd1e7b649d
No known key found for this signature in database
GPG Key ID: 43EA1CFF0AA7C5F2
3 changed files with 3 additions and 2 deletions

View File

@ -25,6 +25,7 @@ Feature: Tahoe-LAFS distribute file storage
Background:
Given I'm a logged in user
And advanced mode is on
And the domain name is set to mydomain.example
And the tahoe application is installed
And the domain name for tahoe is set to mydomain.example

View File

@ -75,7 +75,7 @@ def set_home_page(browser, home_page):
def set_advanced_mode(browser, mode):
nav_to_module(browser, 'config')
advanced_mode = browser.find_by_name('configuration-advanced_mode')
advanced_mode = browser.find_by_id('id_advanced_mode')
if mode:
advanced_mode.check()
else:

View File

@ -71,7 +71,7 @@ class TahoeApp(app_module.App):
super().__init__()
menu_item = menu.Menu('menu-tahoe', name, short_description,
'tahoe-lafs', 'tahoe:index',
parent_url_name='apps')
parent_url_name='apps', advanced=True)
self.add(menu_item)
shortcut = frontpage.Shortcut(