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:
Joseph Nuthalapati authored and James Valleroy committed 2018-04-08 12:36:10 -04:00
1 parent a950371d2a
commit 2ac2726752
1 file changed
+2 -2
+2 -2
View File
@@ -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):