Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
frontend-clients
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OZG-Cloud
app
frontend-clients
Commits
d2df66c4
Commit
d2df66c4
authored
4 months ago
by
Cord Westhoff
Browse files
Options
Downloads
Patches
Plain Diff
change OE name for test
parent
d2f5b6f3
No related branches found
No related tags found
1 merge request
!55
E2 e updates
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
alfa-client/apps/admin-e2e/src/e2e/main-tests/benutzer_rollen/benutzer-zu-oe-hinzufuegen.cy.ts
+5
-5
5 additions, 5 deletions
...in-tests/benutzer_rollen/benutzer-zu-oe-hinzufuegen.cy.ts
with
5 additions
and
5 deletions
alfa-client/apps/admin-e2e/src/e2e/main-tests/benutzer_rollen/benutzer-zu-oe-hinzufuegen.cy.ts
+
5
−
5
View file @
d2df66c4
...
...
@@ -13,7 +13,7 @@ describe('Organisationseinheit zu Benutzer hinzufügen', () => {
const
zustaendigeStelleSearchComponent
:
ZustaendigeStelleDialogE2EComponent
=
new
ZustaendigeStelleDialogE2EComponent
();
const
organistationsEinheitOrdnungsamt
:
string
=
'
Ordnungsamt
'
;
const
organisationsEinheitDenkmalpflege
:
string
=
'
Denkmalpflege
'
;
const
organisationsEinheit
Wentorf
:
string
=
'
Liegenschaften
'
;
const
organisationsEinheit
Liegenschaften
:
string
=
'
Liegenschaften
'
;
const
organisationsEinheitNone
:
string
=
'
keine zuständige Stelle zugewiesen
'
;
const
vorname
:
string
=
'
Theo
'
;
const
nachname
:
string
=
'
Testuser
'
;
...
...
@@ -91,7 +91,7 @@ describe('Organisationseinheit zu Benutzer hinzufügen', () => {
it
(
'
should enable new Organisationseinheit for users after adding it
'
,
()
=>
{
mainPage
.
clickOrganisationsEinheitenNavigationItem
();
organisationsEinheitenComponent
.
clickHinzufuegen
();
zustaendigeStelleSearchComponent
.
enterSearchTerm
(
organisationsEinheit
Wentorf
);
zustaendigeStelleSearchComponent
.
enterSearchTerm
(
organisationsEinheit
Liegenschaften
);
zustaendigeStelleSearchComponent
.
getZustaendigeStelleTitle
(
0
).
then
((
title
:
string
)
=>
{
zustaendigeStelleSearchComponent
.
clickFoundItem
(
0
);
});
...
...
@@ -99,12 +99,12 @@ describe('Organisationseinheit zu Benutzer hinzufügen', () => {
mainPage
.
clickBenutzerNavigationItem
();
benutzerPage
.
clickUserEntry
(
benutzername2
);
exist
(
benutzerPage
.
getOrganisationsEinheitCheckbox
(
organisationsEinheit
Wentorf
));
exist
(
benutzerPage
.
getOrganisationsEinheitCheckbox
(
organisationsEinheit
Liegenschaften
));
});
it
(
'
should add new Organisationseinheit to existing user
'
,
()
=>
{
benutzerPage
.
clickOrganisationsEinheitCheckbox
(
organis
t
ationsEinheit
Ordnungsamt
);
benutzerPage
.
clickOrganisationsEinheitCheckbox
(
organisationsEinheit
Liegenschaften
);
benutzerPage
.
saveUser
();
benutzerPage
.
stringExistsInUserEntry
(
organisationsEinheit
Wentorf
,
benutzername2
);
benutzerPage
.
stringExistsInUserEntry
(
organisationsEinheit
Liegenschaften
,
benutzername2
);
});
});
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment