mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
tests: snapshots: Remove find_by_value usages
- find_by_value depends on the language being English Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
a950371d2a
commit
2ac2726752
@ -74,12 +74,12 @@ def check_language(browser, language_code):
|
||||
|
||||
def delete_all_snapshots(browser):
|
||||
browser.visit(config['DEFAULT']['url'] + '/plinth/sys/snapshot/all/delete')
|
||||
browser.find_by_value('Delete Snapshots').click()
|
||||
submit(browser)
|
||||
|
||||
|
||||
def create_snapshot(browser):
|
||||
browser.visit(config['DEFAULT']['url'] + '/plinth/sys/snapshot/manage/')
|
||||
browser.find_by_value('Create Snapshot').click()
|
||||
submit(browser) # Click on 'Create Snapshot'
|
||||
|
||||
|
||||
def get_snapshot_count(browser):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user