You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by ze...@apache.org on 2022/06/06 07:26:51 UTC
[incubator-streampipes] branch dev updated: [hotfix] Fix user management cypress tests
This is an automated email from the ASF dual-hosted git repository.
zehnder pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-streampipes.git
The following commit(s) were added to refs/heads/dev by this push:
new 7b4e0f498 [hotfix] Fix user management cypress tests
7b4e0f498 is described below
commit 7b4e0f4984a209464eb79d1f688bcb0ef91db685
Author: Philipp Zehnder <ze...@fzi.de>
AuthorDate: Mon Jun 6 09:26:09 2022 +0200
[hotfix] Fix user management cypress tests
---
ui/cypress/support/utils/UserUtils.ts | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/ui/cypress/support/utils/UserUtils.ts b/ui/cypress/support/utils/UserUtils.ts
index 8dd275448..c816ca634 100644
--- a/ui/cypress/support/utils/UserUtils.ts
+++ b/ui/cypress/support/utils/UserUtils.ts
@@ -28,13 +28,8 @@ export class UserUtils {
.addRole(UserRole.ROLE_ADMIN)
.build();
-
- // public static testUserName = 'admin@streampipes.apache.org';
- // public static testUserPassword = 'admin';
-
public static goToUserConfiguration() {
- cy.visit('#/configuration');
- cy.get('div').contains('Security').parent().click();
+ cy.visit('#/configuration/security');
}
public static addUser(user: User) {