mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-20 10:34:30 +00:00
tests: Skip initial update
Signed-off-by: James Valleroy <jvalleroy@mailbox.org> Reviewed-by: Veiko Aasa <veiko17@disroot.org>
This commit is contained in:
parent
9a6fa83376
commit
f5b34704ee
@ -29,7 +29,7 @@
|
|||||||
|
|
||||||
{{ form|bootstrap }}
|
{{ form|bootstrap }}
|
||||||
|
|
||||||
<input type="submit" class="btn btn-primary" name="update"
|
<input type="submit" class="btn btn-primary" name="next"
|
||||||
value="{% trans "Next" %}"/>
|
value="{% trans "Next" %}"/>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
|||||||
@ -279,6 +279,10 @@ def login_with_account(browser, url, username, password):
|
|||||||
if '/firstboot/backports' in browser.url:
|
if '/firstboot/backports' in browser.url:
|
||||||
submit(browser, element=browser.find_by_name('next')[0])
|
submit(browser, element=browser.find_by_name('next')[0])
|
||||||
|
|
||||||
|
if '/firstboot/update' in browser.url:
|
||||||
|
browser.find_by_id('id_update_now').uncheck()
|
||||||
|
submit(browser, element=browser.find_by_name('next')[0])
|
||||||
|
|
||||||
|
|
||||||
#################
|
#################
|
||||||
# App utilities #
|
# App utilities #
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user