From 03621d42a094eb3f1654081a7cc3781ff4e22740 Mon Sep 17 00:00:00 2001 From: Benedikt Kulmann Date: Mon, 31 Aug 2020 10:18:13 +0200 Subject: [PATCH] Run ui tests as our default admin user --- .drone.star | 2 +- ui/tests/acceptance/features/accounts.feature | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.drone.star b/.drone.star index d2898a499..6557b1a2e 100644 --- a/.drone.star +++ b/.drone.star @@ -1,7 +1,7 @@ def main(ctx): before = [ testing(ctx), - UITests(ctx, 'master', 'fdf519acdedb7dfb70468b39af575559cdd5089b', 'master', '0075dbd7b14360de203ec2a327c6b3f5c5844364') + UITests(ctx, 'master', 'fdf519acdedb7dfb70468b39af575559cdd5089b', 'master', 'e0746d8d3a5879d2c0cd4aaf30c07ee98ab2b945') ] stages = [ diff --git a/ui/tests/acceptance/features/accounts.feature b/ui/tests/acceptance/features/accounts.feature index 76ce56440..cc4fbfd44 100644 --- a/ui/tests/acceptance/features/accounts.feature +++ b/ui/tests/acceptance/features/accounts.feature @@ -1,8 +1,8 @@ Feature: Accounts Scenario: list accounts - Given user "user1" has been created with default attributes - And user "user1" has logged in using the webUI + Given user "Moss" has been created with default attributes + And user "Moss" has logged in using the webUI When the user browses to the accounts page Then user "einstein" should be displayed in the accounts list on the WebUI And user "konnectd" should be displayed in the accounts list on the WebUI @@ -11,8 +11,8 @@ Feature: Accounts And user "richard" should be displayed in the accounts list on the WebUI Scenario: change users role - Given user "user1" has been created with default attributes - And user "user1" has logged in using the webUI + Given user "Moss" has been created with default attributes + And user "Moss" has logged in using the webUI When the user browses to the accounts page Then user "einstein" should be displayed in the accounts list on the WebUI When the user changes the role of user "einstein" to "Admin" using the WebUI