tests: Skip initial update

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
This commit is contained in:
James Valleroy 2020-12-19 09:28:18 -05:00 committed by Veiko Aasa
parent 9a6fa83376
commit f5b34704ee
No known key found for this signature in database
GPG Key ID: 478539CAE680674E
2 changed files with 5 additions and 1 deletions

View File

@ -29,7 +29,7 @@
{{ form|bootstrap }}
<input type="submit" class="btn btn-primary" name="update"
<input type="submit" class="btn btn-primary" name="next"
value="{% trans "Next" %}"/>
</form>

View File

@ -279,6 +279,10 @@ def login_with_account(browser, url, username, password):
if '/firstboot/backports' in browser.url:
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 #