Skip to content

Commit 49ba80f

Browse files
committed
refactor: don't do log out right before closing a browser in the integration tests.
Giving that a browser will be closed, logging out is a superfluous action. I hope it also speed up the tests a little bit. No functional changes.
1 parent a048e02 commit 49ba80f

29 files changed

+1
-33
lines changed

src/test/robotframework/account/activation/misc-user.robot

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,4 @@ Before Test
2222
Go To ${SITE_URL}/account/activate
2323

2424
After Test Suite
25-
Log Out
2625
Close Browser

src/test/robotframework/account/authentication/misc-user.robot

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,4 @@ Before Test
2222
Go To ${SITE_URL}/account/auth
2323

2424
After Test Suite
25-
Log Out
2625
Close Browser

src/test/robotframework/account/registration/misc-user.robot

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,4 @@ Before Test
2222
Go To ${SITE_URL}/account/register
2323

2424
After Test Suite
25-
Log Out
2625
Close Browser
Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
*** Settings ***
2-
Documentation Common steps for login/logout of a user
2+
Documentation Common steps for users authentication
33
44
*** Keywords ***
55
Log In As
@@ -9,7 +9,3 @@ Log In As
99
Input Text id=login ${login}
1010
Input Password id=password ${password}
1111
Submit Form id=auth-account-form
12-
13-
Log Out
14-
[Documentation] Logout the current user
15-
Submit Form id=logout-form

src/test/robotframework/category/creation/logic.robot

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,4 @@ Before Test
4040
Go To ${SITE_URL}/category/add
4141

4242
After Test Suite
43-
Log Out
4443
Close Browser

src/test/robotframework/category/creation/misc.robot

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,4 @@ Before Test Suite
4343
Go To ${SITE_URL}/category/add
4444

4545
After Test Suite
46-
Log Out
4746
Close Browser

src/test/robotframework/category/creation/validation.robot

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,5 +92,4 @@ Before Test Suite
9292
Go To ${SITE_URL}/category/add
9393

9494
After Test Suite
95-
Log Out
9695
Close Browser

src/test/robotframework/collection/add-series/validation.robot

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,4 @@ Before Test Suite
3333
Go To ${SITE_URL}/series/2
3434

3535
After Test Suite
36-
Log Out
3736
Close Browser

src/test/robotframework/country/creation/logic.robot

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ Before Test
3838
Go To ${SITE_URL}/country/add
3939

4040
After Test Suite
41-
Log Out
4241
Close Browser
4342

4443
Country Field Should Have Option

src/test/robotframework/country/creation/misc.robot

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,4 @@ Before Test Suite
4343
Go To ${SITE_URL}/country/add
4444

4545
After Test Suite
46-
Log Out
4746
Close Browser

0 commit comments

Comments
 (0)