Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
alfa
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
alfa
Commits
eb01fb70
Commit
eb01fb70
authored
10 months ago
by
OZGCloud
Browse files
Options
Downloads
Patches
Plain Diff
fix-e2e: trying should('have.attr'..
parent
a2734fd7
Branches
Branches containing commit
Tags
Tags containing commit
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/wiedervorlage/wiedervorlage.erledigen.cy.ts
+7
-5
7 additions, 5 deletions
...2e/main-tests/wiedervorlage/wiedervorlage.erledigen.cy.ts
with
7 additions
and
5 deletions
alfa-client/apps/alfa-e2e/src/e2e/main-tests/wiedervorlage/wiedervorlage.erledigen.cy.ts
+
7
−
5
View file @
eb01fb70
...
@@ -308,20 +308,23 @@ describe('Wiedervorlage erledigen/wiedereroeffnen', () => {
...
@@ -308,20 +308,23 @@ describe('Wiedervorlage erledigen/wiedereroeffnen', () => {
});
});
//Test an die richtige Stelle verschieben und den Test vereinfachen
//Test an die richtige Stelle verschieben und den Test vereinfachen
describe
(
'
View
item
icon
'
,
()
=>
{
describe
(
'
View
Wiedervorlage view
icon
'
,
()
=>
{
const
wiedervorlage
:
WiedervorlageInVorgangE2EComponent
=
const
wiedervorlage
:
WiedervorlageInVorgangE2EComponent
=
wiedervorlageContainerInVorgang
.
getWiedervorlage
(
wiedervorlageZumWiedereroeffnen
.
betreff
);
wiedervorlageContainerInVorgang
.
getWiedervorlage
(
wiedervorlageZumWiedereroeffnen
.
betreff
);
const
locatorIconIsOverdue
:
string
=
'
wiedervorlage-icon-is-overdue
'
;
const
locatorIconIsOverdue
:
string
=
'
wiedervorlage-icon-is-overdue
'
;
const
locatorIconDefault
:
string
=
'
wiedervorlage-icon-default
'
;
const
locatorIconDefault
:
string
=
'
wiedervorlage-icon-default
'
;
it
(
'
back to vorgang list
'
,
()
=>
{
it
(
'
back to vorgang list
'
,
()
=>
{
wait
(
500
);
vorgangPage
.
getSubnavigation
().
getBackButton
().
click
();
vorgangPage
.
getSubnavigation
().
getBackButton
().
click
();
waitForSpinnerToDisappear
();
waitForSpinnerToDisappear
();
});
});
it
(
'
should show red icon
'
,
()
=>
{
it
(
'
should show red icon
'
,
()
=>
{
exist
(
wiedervorlagenView
.
getRoot
().
getTestElementWithClass
(
locatorIconIsOverdue
));
wiedervorlagenView
.
getRoot
()
.
get
(
'
ozgcloud-svgicon
'
)
.
should
(
'
have.attr
'
,
'
data-test-class
'
,
locatorIconIsOverdue
);
// exist(wiedervorlagenView.getRoot().getTestElementWithClass(locatorIconIsOverdue));
});
});
it
(
'
Open Vorgang-Detail-Page
'
,
()
=>
{
it
(
'
Open Vorgang-Detail-Page
'
,
()
=>
{
...
@@ -330,7 +333,6 @@ describe('Wiedervorlage erledigen/wiedereroeffnen', () => {
...
@@ -330,7 +333,6 @@ describe('Wiedervorlage erledigen/wiedereroeffnen', () => {
});
});
it
(
'
should mark as erledigt
'
,
()
=>
{
it
(
'
should mark as erledigt
'
,
()
=>
{
wait
(
500
);
wiedervorlage
.
getLink
().
click
();
wiedervorlage
.
getLink
().
click
();
waitForSpinnerToDisappear
();
waitForSpinnerToDisappear
();
subnavigation
.
erledigen
();
subnavigation
.
erledigen
();
...
@@ -340,12 +342,12 @@ describe('Wiedervorlage erledigen/wiedereroeffnen', () => {
...
@@ -340,12 +342,12 @@ describe('Wiedervorlage erledigen/wiedereroeffnen', () => {
});
});
it
(
'
back to vorgang list
'
,
()
=>
{
it
(
'
back to vorgang list
'
,
()
=>
{
wait
(
500
);
vorgangPage
.
getSubnavigation
().
getBackButton
().
click
();
vorgangPage
.
getSubnavigation
().
getBackButton
().
click
();
waitForSpinnerToDisappear
();
waitForSpinnerToDisappear
();
});
});
it
(
'
should show default icon
'
,
()
=>
{
it
(
'
should show default icon
'
,
()
=>
{
// wiedervorlagenView.getRoot().get('ozgcloud-icon').should('have.attr', 'data-test-class');
exist
(
wiedervorlagenView
.
getRoot
().
getTestElementWithClass
(
locatorIconDefault
));
exist
(
wiedervorlagenView
.
getRoot
().
getTestElementWithClass
(
locatorIconDefault
));
});
});
});
});
...
...
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