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
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OZG-Cloud
app
frontend-clients
Commits
eb04e5b7
Commit
eb04e5b7
authored
11 months ago
by
OZGCloud
Browse files
Options
Downloads
Patches
Plain Diff
OZG-5243 update historie test to new method
parent
28733357
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
alfa-client/apps/alfa-e2e/src/e2e/main-tests/historie/historie.cy.ts
+30
-44
30 additions, 44 deletions
.../apps/alfa-e2e/src/e2e/main-tests/historie/historie.cy.ts
with
30 additions
and
44 deletions
alfa-client/apps/alfa-e2e/src/e2e/main-tests/historie/historie.cy.ts
+
30
−
44
View file @
eb04e5b7
...
...
@@ -241,9 +241,8 @@ describe('Historie', () => {
describe
(
'
vorgang order
'
,
()
=>
{
it
(
'
assign user
'
,
()
=>
{
const
historieItem
:
VorgangFormularDatenHistorieItemE2EComponent
=
vorgangDatenFormular
.
getHistorieContainer
()
.
getListItemByIndex
(
0
);
const
historieItem
:
VorgangFormularDatenHistorieItemE2EComponent
=
vorgangDatenFormular
.
getHistorieItemByIndex
(
0
);
exist
(
historieItem
.
getRoot
());
contains
(
historieItem
.
getHeadline
(),
HistorieHeadlineE2E
.
ASSIGN_USER
);
...
...
@@ -254,9 +253,8 @@ describe('Historie', () => {
describe
(
'
kommentar order
'
,
()
=>
{
it
(
'
create kommentar
'
,
()
=>
{
const
historieItem
:
VorgangFormularDatenHistorieItemE2EComponent
=
vorgangDatenFormular
.
getHistorieContainer
()
.
getListItemByIndex
(
1
);
const
historieItem
:
VorgangFormularDatenHistorieItemE2EComponent
=
vorgangDatenFormular
.
getHistorieItemByIndex
(
1
);
exist
(
historieItem
.
getRoot
());
contains
(
historieItem
.
getHeadline
(),
HistorieHeadlineE2E
.
CREATE_KOMMENTAR
);
...
...
@@ -270,9 +268,8 @@ describe('Historie', () => {
});
it
(
'
edit kommentar
'
,
()
=>
{
const
historieItem
:
VorgangFormularDatenHistorieItemE2EComponent
=
vorgangDatenFormular
.
getHistorieContainer
()
.
getListItemByIndex
(
2
);
const
historieItem
:
VorgangFormularDatenHistorieItemE2EComponent
=
vorgangDatenFormular
.
getHistorieItemByIndex
(
2
);
exist
(
historieItem
.
getRoot
());
contains
(
historieItem
.
getHeadline
(),
HistorieHeadlineE2E
.
EDIT_KOMMENTAR
);
...
...
@@ -291,9 +288,8 @@ describe('Historie', () => {
describe
(
'
forward order
'
,
()
=>
{
it
(
'
forward vorgang
'
,
()
=>
{
const
historieItem
:
VorgangFormularDatenHistorieItemE2EComponent
=
vorgangDatenFormular
.
getHistorieContainer
()
.
getListItemByIndex
(
3
);
const
historieItem
:
VorgangFormularDatenHistorieItemE2EComponent
=
vorgangDatenFormular
.
getHistorieItemByIndex
(
3
);
exist
(
historieItem
.
getRoot
());
contains
(
historieItem
.
getHeadline
(),
HistorieHeadlineE2E
.
FORWARD_VORGANG
);
...
...
@@ -301,10 +297,9 @@ describe('Historie', () => {
notExist
(
historieItem
.
getExpandButton
());
});
it
(
'
foward successful
'
,
()
=>
{
const
historieItem
:
VorgangFormularDatenHistorieItemE2EComponent
=
vorgangDatenFormular
.
getHistorieContainer
()
.
getListItemByIndex
(
4
);
it
(
'
forward successful
'
,
()
=>
{
const
historieItem
:
VorgangFormularDatenHistorieItemE2EComponent
=
vorgangDatenFormular
.
getHistorieItemByIndex
(
4
);
exist
(
historieItem
.
getRoot
());
contains
(
historieItem
.
getHeadline
(),
HistorieHeadlineE2E
.
FORWARD_SUCCESSFUL
);
...
...
@@ -312,10 +307,9 @@ describe('Historie', () => {
notExist
(
historieItem
.
getExpandButton
());
});
it
(
'
foward failed
'
,
()
=>
{
const
historieItem
:
VorgangFormularDatenHistorieItemE2EComponent
=
vorgangDatenFormular
.
getHistorieContainer
()
.
getListItemByIndex
(
5
);
it
(
'
forward failed
'
,
()
=>
{
const
historieItem
:
VorgangFormularDatenHistorieItemE2EComponent
=
vorgangDatenFormular
.
getHistorieItemByIndex
(
5
);
exist
(
historieItem
.
getRoot
());
contains
(
historieItem
.
getHeadline
(),
HistorieHeadlineE2E
.
FORWARD_FAILED
);
...
...
@@ -326,9 +320,8 @@ describe('Historie', () => {
describe
(
'
postfach nachricht order
'
,
()
=>
{
it
(
'
send postfach mail
'
,
()
=>
{
const
historieItem
:
VorgangFormularDatenHistorieItemE2EComponent
=
vorgangDatenFormular
.
getHistorieContainer
()
.
getListItemByIndex
(
6
);
const
historieItem
:
VorgangFormularDatenHistorieItemE2EComponent
=
vorgangDatenFormular
.
getHistorieItemByIndex
(
6
);
exist
(
historieItem
.
getRoot
());
contains
(
historieItem
.
getHeadline
(),
HistorieHeadlineE2E
.
SEND_POSTFACH_NACHRICHT
);
...
...
@@ -349,9 +342,8 @@ describe('Historie', () => {
});
it
(
'
send postfach nachricht
'
,
()
=>
{
const
historieItem
:
VorgangFormularDatenHistorieItemE2EComponent
=
vorgangDatenFormular
.
getHistorieContainer
()
.
getListItemByIndex
(
7
);
const
historieItem
:
VorgangFormularDatenHistorieItemE2EComponent
=
vorgangDatenFormular
.
getHistorieItemByIndex
(
7
);
exist
(
historieItem
.
getRoot
());
contains
(
historieItem
.
getHeadline
(),
HistorieHeadlineE2E
.
SEND_POSTFACH_NACHRICHT
);
...
...
@@ -372,9 +364,8 @@ describe('Historie', () => {
});
it
(
'
receive postfach nachricht
'
,
()
=>
{
const
historieItem
:
VorgangFormularDatenHistorieItemE2EComponent
=
vorgangDatenFormular
.
getHistorieContainer
()
.
getListItemByIndex
(
8
);
const
historieItem
:
VorgangFormularDatenHistorieItemE2EComponent
=
vorgangDatenFormular
.
getHistorieItemByIndex
(
8
);
exist
(
historieItem
.
getRoot
());
contains
(
historieItem
.
getHeadline
(),
HistorieHeadlineE2E
.
RECEIVE_POSTFACH_NACHRICHT
);
...
...
@@ -396,9 +387,8 @@ describe('Historie', () => {
});
it
(
'
resend postfach nachricht
'
,
()
=>
{
const
historieItem
:
VorgangFormularDatenHistorieItemE2EComponent
=
vorgangDatenFormular
.
getHistorieContainer
()
.
getListItemByIndex
(
9
);
const
historieItem
:
VorgangFormularDatenHistorieItemE2EComponent
=
vorgangDatenFormular
.
getHistorieItemByIndex
(
9
);
exist
(
historieItem
.
getRoot
());
contains
(
historieItem
.
getHeadline
(),
HistorieHeadlineE2E
.
RESEND_POSTFACH_NACHRICHT
);
...
...
@@ -408,9 +398,8 @@ describe('Historie', () => {
describe
(
'
wiedervorlage order
'
,
()
=>
{
it
(
'
create wiedervorlage
'
,
()
=>
{
const
historieItem
:
VorgangFormularDatenHistorieItemE2EComponent
=
vorgangDatenFormular
.
getHistorieContainer
()
.
getListItemByIndex
(
10
);
const
historieItem
:
VorgangFormularDatenHistorieItemE2EComponent
=
vorgangDatenFormular
.
getHistorieItemByIndex
(
10
);
exist
(
historieItem
.
getRoot
());
contains
(
historieItem
.
getHeadline
(),
HistorieHeadlineE2E
.
CREATE_WIEDERVORLAGE
);
...
...
@@ -430,9 +419,8 @@ describe('Historie', () => {
});
it
(
'
edit wiedervorlage
'
,
()
=>
{
const
historieItem
:
VorgangFormularDatenHistorieItemE2EComponent
=
vorgangDatenFormular
.
getHistorieContainer
()
.
getListItemByIndex
(
11
);
const
historieItem
:
VorgangFormularDatenHistorieItemE2EComponent
=
vorgangDatenFormular
.
getHistorieItemByIndex
(
11
);
exist
(
historieItem
.
getRoot
());
contains
(
historieItem
.
getHeadline
(),
HistorieHeadlineE2E
.
EDIT_WIEDERVORLAGE
);
...
...
@@ -455,9 +443,8 @@ describe('Historie', () => {
});
it
(
'
wiedervorlage erledigen
'
,
()
=>
{
const
historieItem
:
VorgangFormularDatenHistorieItemE2EComponent
=
vorgangDatenFormular
.
getHistorieContainer
()
.
getListItemByIndex
(
12
);
const
historieItem
:
VorgangFormularDatenHistorieItemE2EComponent
=
vorgangDatenFormular
.
getHistorieItemByIndex
(
12
);
exist
(
historieItem
.
getRoot
());
contains
(
historieItem
.
getHeadline
(),
HistorieHeadlineE2E
.
WIEDERVORLAGE_ERLEDIGEN
);
...
...
@@ -466,9 +453,8 @@ describe('Historie', () => {
});
it
(
'
wiedervorlage wiedereroeffnen
'
,
()
=>
{
const
historieItem
:
VorgangFormularDatenHistorieItemE2EComponent
=
vorgangDatenFormular
.
getHistorieContainer
()
.
getListItemByIndex
(
13
);
const
historieItem
:
VorgangFormularDatenHistorieItemE2EComponent
=
vorgangDatenFormular
.
getHistorieItemByIndex
(
13
);
exist
(
historieItem
.
getRoot
());
contains
(
historieItem
.
getHeadline
(),
HistorieHeadlineE2E
.
WIEDERVORLAGE_WIEDEREROEFFNEN
);
...
...
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