mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-08-26 12:46:08 +00:00
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:
parent
8e341a6c3b
commit
cd1e7b649d
@ -25,6 +25,7 @@ Feature: Tahoe-LAFS distribute file storage
|
|||||||
|
|
||||||
Background:
|
Background:
|
||||||
Given I'm a logged in user
|
Given I'm a logged in user
|
||||||
|
And advanced mode is on
|
||||||
And the domain name is set to mydomain.example
|
And the domain name is set to mydomain.example
|
||||||
And the tahoe application is installed
|
And the tahoe application is installed
|
||||||
And the domain name for tahoe is set to mydomain.example
|
And the domain name for tahoe is set to mydomain.example
|
||||||
|
|||||||
@ -75,7 +75,7 @@ def set_home_page(browser, home_page):
|
|||||||
|
|
||||||
def set_advanced_mode(browser, mode):
|
def set_advanced_mode(browser, mode):
|
||||||
nav_to_module(browser, 'config')
|
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:
|
if mode:
|
||||||
advanced_mode.check()
|
advanced_mode.check()
|
||||||
else:
|
else:
|
||||||
|
|||||||
@ -71,7 +71,7 @@ class TahoeApp(app_module.App):
|
|||||||
super().__init__()
|
super().__init__()
|
||||||
menu_item = menu.Menu('menu-tahoe', name, short_description,
|
menu_item = menu.Menu('menu-tahoe', name, short_description,
|
||||||
'tahoe-lafs', 'tahoe:index',
|
'tahoe-lafs', 'tahoe:index',
|
||||||
parent_url_name='apps')
|
parent_url_name='apps', advanced=True)
|
||||||
self.add(menu_item)
|
self.add(menu_item)
|
||||||
|
|
||||||
shortcut = frontpage.Shortcut(
|
shortcut = frontpage.Shortcut(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user