From c1a383b4f03cf9947c841cfc35722afeb6e130ea Mon Sep 17 00:00:00 2001 From: HanaGemela <49001702+HanaGemela@users.noreply.github.com> Date: Fri, 28 Jul 2023 10:11:26 +0200 Subject: [PATCH] Update test.feature --- test/gui/tst_loginLogout/test.feature | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/test/gui/tst_loginLogout/test.feature b/test/gui/tst_loginLogout/test.feature index d7a565e6d01..70c720f847a 100644 --- a/test/gui/tst_loginLogout/test.feature +++ b/test/gui/tst_loginLogout/test.feature @@ -48,5 +48,17 @@ Feature: Logout users | user | Alice | | password | 1234 | When user "Alice" has logged out of the client-UI - And user "Alice" logs in to the client-UI + And user "Alice" logs in with oauth2 to the client-UI + Then user "Alice" should be connect to the client-UI + + @skipOnOCIS + Scenario: the client re-auths after restarting + Given app "oauth2" has been "enabled" in the server + And the user has started the client + And the user adds the following account with oauth2 enabled: + | server | %local_server% | + | user | Alice | + | password | 1234 | + When user quits the client + And user starts the client Then user "Alice" should be connect to the client-UI