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
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
alfa
Commits
cfcc7238
Commit
cfcc7238
authored
Jul 1, 2024
by
OZGCloud
Browse files
Options
Downloads
Patches
Plain Diff
OZG-5243 OZG-6058 changed types to Chainable
parent
4976528a
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/components/vorgang/vorgang-bescheid-wizard.e2e.component.ts
+33
-33
33 additions, 33 deletions
...mponents/vorgang/vorgang-bescheid-wizard.e2e.component.ts
with
33 additions
and
33 deletions
alfa-client/apps/alfa-e2e/src/components/vorgang/vorgang-bescheid-wizard.e2e.component.ts
+
33
−
33
View file @
cfcc7238
...
@@ -69,97 +69,97 @@ export class VorgangBescheidWizardE2EComponent {
...
@@ -69,97 +69,97 @@ export class VorgangBescheidWizardE2EComponent {
private
locatorRoot
:
string
=
'
bescheid-wizard
'
;
private
locatorRoot
:
string
=
'
bescheid-wizard
'
;
public
getRoot
():
HTMLElement
{
public
getRoot
():
Cypress
.
Chainable
<
JQuery
<
HTMLElement
>>
{
return
cy
.
getTestElement
(
this
.
locatorRoot
);
return
cy
.
getTestElement
(
this
.
locatorRoot
);
}
}
public
getBewilligtButton
():
HTMLElement
{
public
getBewilligtButton
():
Cypress
.
Chainable
<
JQuery
<
HTMLElement
>>
{
return
cy
.
getTestElement
(
this
.
bewilligtButton
);
return
cy
.
getTestElement
(
this
.
bewilligtButton
);
}
}
public
getAbgelehntButton
():
HTMLElement
{
public
getAbgelehntButton
():
Cypress
.
Chainable
<
JQuery
<
HTMLElement
>>
{
return
cy
.
getTestElement
(
this
.
abgelehntButton
);
return
cy
.
getTestElement
(
this
.
abgelehntButton
);
}
}
public
getUeberspringenButton
():
HTMLElement
{
public
getUeberspringenButton
():
Cypress
.
Chainable
<
JQuery
<
HTMLElement
>>
{
return
cy
.
getTestElement
(
this
.
ueberspringenButton
);
return
cy
.
getTestElement
(
this
.
ueberspringenButton
);
}
}
public
getStatusText
():
HTMLElement
{
public
getStatusText
():
Cypress
.
Chainable
<
JQuery
<
HTMLElement
>>
{
return
cy
.
getTestElement
(
this
.
statusText
);
return
cy
.
getTestElement
(
this
.
statusText
);
}
}
public
getUeberspringenDialog
():
HTMLElement
{
public
getUeberspringenDialog
():
Cypress
.
Chainable
<
JQuery
<
HTMLElement
>>
{
return
cy
.
getTestElement
(
this
.
ueberspringenDialog
);
return
cy
.
getTestElement
(
this
.
ueberspringenDialog
);
}
}
public
getUeberspringenAbbrechen
():
HTMLElement
{
public
getUeberspringenAbbrechen
():
Cypress
.
Chainable
<
JQuery
<
HTMLElement
>>
{
return
cy
.
getTestElement
(
this
.
ueberspringenAbbrechen
);
return
cy
.
getTestElement
(
this
.
ueberspringenAbbrechen
);
}
}
public
getUeberspringenAbschliessen
():
HTMLElement
{
public
getUeberspringenAbschliessen
():
Cypress
.
Chainable
<
JQuery
<
HTMLElement
>>
{
return
cy
.
getTestElement
(
this
.
ueberspringenAbschliessen
);
return
cy
.
getTestElement
(
this
.
ueberspringenAbschliessen
);
}
}
public
getDateInput
():
HTMLElement
{
public
getDateInput
():
Cypress
.
Chainable
<
JQuery
<
HTMLElement
>>
{
return
cy
.
getTestElement
(
this
.
dateInput
);
return
cy
.
getTestElement
(
this
.
dateInput
);
}
}
public
getDateError
():
HTMLElement
{
public
getDateError
():
Cypress
.
Chainable
<
JQuery
<
HTMLElement
>>
{
return
cy
.
getTestElement
(
this
.
dateError
);
return
cy
.
getTestElement
(
this
.
dateError
);
}
}
public
getWeiterButton
():
HTMLElement
{
public
getWeiterButton
():
Cypress
.
Chainable
<
JQuery
<
HTMLElement
>>
{
return
cy
.
getTestElement
(
this
.
weiterButton
);
return
cy
.
getTestElement
(
this
.
weiterButton
);
}
}
public
getStepCaption
():
HTMLElement
{
public
getStepCaption
():
Cypress
.
Chainable
<
JQuery
<
HTMLElement
>>
{
return
cy
.
getTestElement
(
this
.
stepCaption
);
return
cy
.
getTestElement
(
this
.
stepCaption
);
}
}
public
getStepButton1
():
HTMLElement
{
public
getStepButton1
():
Cypress
.
Chainable
<
JQuery
<
HTMLElement
>>
{
return
cy
.
getTestElement
(
this
.
stepButton1
);
return
cy
.
getTestElement
(
this
.
stepButton1
);
}
}
public
getStepButton2
():
HTMLElement
{
public
getStepButton2
():
Cypress
.
Chainable
<
JQuery
<
HTMLElement
>>
{
return
cy
.
getTestElement
(
this
.
stepButton2
);
return
cy
.
getTestElement
(
this
.
stepButton2
);
}
}
public
getStepButton3
():
HTMLElement
{
public
getStepButton3
():
Cypress
.
Chainable
<
JQuery
<
HTMLElement
>>
{
return
cy
.
getTestElement
(
this
.
stepButton3
);
return
cy
.
getTestElement
(
this
.
stepButton3
);
}
}
public
getCloseButton
():
HTMLElement
{
public
getCloseButton
():
Cypress
.
Chainable
<
JQuery
<
HTMLElement
>>
{
return
cy
.
getTestElement
(
this
.
closeButton
);
return
cy
.
getTestElement
(
this
.
closeButton
);
}
}
public
getCloseDialog
():
HTMLElement
{
public
getCloseDialog
():
Cypress
.
Chainable
<
JQuery
<
HTMLElement
>>
{
return
cy
.
getTestElement
(
this
.
closeDialog
);
return
cy
.
getTestElement
(
this
.
closeDialog
);
}
}
public
getCloseVerwerfenButton
():
HTMLElement
{
public
getCloseVerwerfenButton
():
Cypress
.
Chainable
<
JQuery
<
HTMLElement
>>
{
return
cy
.
getTestElement
(
this
.
bescheidVerwerfenButton
);
return
cy
.
getTestElement
(
this
.
bescheidVerwerfenButton
);
}
}
public
getCloseSpeichernButton
():
HTMLElement
{
public
getCloseSpeichernButton
():
Cypress
.
Chainable
<
JQuery
<
HTMLElement
>>
{
return
cy
.
getTestElement
(
this
.
bescheidSpeichernButton
);
return
cy
.
getTestElement
(
this
.
bescheidSpeichernButton
);
}
}
public
getUploadBescheidButton
():
HTMLElement
{
public
getUploadBescheidButton
():
Cypress
.
Chainable
<
JQuery
<
HTMLElement
>>
{
return
cy
.
getTestElement
(
this
.
uploadBescheidFile
);
return
cy
.
getTestElement
(
this
.
uploadBescheidFile
);
}
}
public
getUploadAttachmentButton
():
HTMLElement
{
public
getUploadAttachmentButton
():
Cypress
.
Chainable
<
JQuery
<
HTMLElement
>>
{
return
cy
.
getTestElement
(
this
.
uploadAttachment
);
return
cy
.
getTestElement
(
this
.
uploadAttachment
);
}
}
public
getFileBescheidValidInWizard
():
HTMLElement
{
public
getFileBescheidValidInWizard
():
Cypress
.
Chainable
<
JQuery
<
HTMLElement
>>
{
return
cy
.
getTestElement
(
this
.
locatorRoot
).
find
(
`[data-test-id=
${
this
.
fileBescheidValid
}
]`
);
return
cy
.
getTestElement
(
this
.
locatorRoot
).
find
(
`[data-test-id=
${
this
.
fileBescheidValid
}
]`
);
}
}
public
getFileAnhangValidInWizard
():
HTMLElement
{
public
getFileAnhangValidInWizard
():
Cypress
.
Chainable
<
JQuery
<
HTMLElement
>>
{
return
cy
.
getTestElement
(
this
.
locatorRoot
).
find
(
`[data-test-id=
${
this
.
fileAnhangValid
}
]`
);
return
cy
.
getTestElement
(
this
.
locatorRoot
).
find
(
`[data-test-id=
${
this
.
fileAnhangValid
}
]`
);
}
}
public
getDeleteButtonOfElement
(
element
:
string
):
HTMLElement
{
public
getDeleteButtonOfElement
(
element
:
string
):
Cypress
.
Chainable
<
JQuery
<
HTMLElement
>>
{
return
cy
.
getTestElement
(
element
).
find
(
'
[title="Anhang löschen"]
'
);
return
cy
.
getTestElement
(
element
).
find
(
'
[title="Anhang löschen"]
'
);
}
}
...
@@ -167,11 +167,11 @@ export class VorgangBescheidWizardE2EComponent {
...
@@ -167,11 +167,11 @@ export class VorgangBescheidWizardE2EComponent {
return
filename
.
replace
(
/
\.
/g
,
''
)
+
'
-file-item
'
;
return
filename
.
replace
(
/
\.
/g
,
''
)
+
'
-file-item
'
;
}
}
public
getBescheidDocument
():
HTMLElement
{
public
getBescheidDocument
():
Cypress
.
Chainable
<
JQuery
<
HTMLElement
>>
{
return
cy
.
getTestElement
(
this
.
bescheidDocument
);
return
cy
.
getTestElement
(
this
.
bescheidDocument
);
}
}
public
getAttachmentDocument
():
HTMLElement
{
public
getAttachmentDocument
():
Cypress
.
Chainable
<
JQuery
<
HTMLElement
>>
{
return
cy
.
getTestElement
(
this
.
attachmentDocument
);
return
cy
.
getTestElement
(
this
.
attachmentDocument
);
}
}
...
@@ -195,31 +195,31 @@ export class VorgangBescheidWizardE2EComponent {
...
@@ -195,31 +195,31 @@ export class VorgangBescheidWizardE2EComponent {
return
cy
.
get
(
this
.
mailTextArea
);
return
cy
.
get
(
this
.
mailTextArea
);
}
}
public
getSaveButton
():
HTMLElement
{
public
getSaveButton
():
Cypress
.
Chainable
<
JQuery
<
HTMLElement
>>
{
return
cy
.
getTestElement
(
this
.
saveBescheid
);
return
cy
.
getTestElement
(
this
.
saveBescheid
);
}
}
public
getSendButton
():
HTMLElement
{
public
getSendButton
():
Cypress
.
Chainable
<
JQuery
<
HTMLElement
>>
{
return
cy
.
getTestElement
(
this
.
sendBescheid
);
return
cy
.
getTestElement
(
this
.
sendBescheid
);
}
}
public
getResultBox
():
HTMLElement
{
public
getResultBox
():
Cypress
.
Chainable
<
JQuery
<
HTMLElement
>>
{
return
cy
.
getTestElement
(
this
.
bescheidResultBox
);
return
cy
.
getTestElement
(
this
.
bescheidResultBox
);
}
}
public
getConfirmAndSaveButton
():
HTMLElement
{
public
getConfirmAndSaveButton
():
Cypress
.
Chainable
<
JQuery
<
HTMLElement
>>
{
return
cy
.
getTestElement
(
this
.
confirmAndSaveButton
);
return
cy
.
getTestElement
(
this
.
confirmAndSaveButton
);
}
}
public
getAntragstellerText
():
HTMLElement
{
public
getAntragstellerText
():
Cypress
.
Chainable
<
JQuery
<
HTMLElement
>>
{
return
cy
.
getTestElement
(
this
.
antragstellerText
);
return
cy
.
getTestElement
(
this
.
antragstellerText
);
}
}
public
getBetreffText
():
HTMLElement
{
public
getBetreffText
():
Cypress
.
Chainable
<
JQuery
<
HTMLElement
>>
{
return
cy
.
getTestElement
(
this
.
betreffText
);
return
cy
.
getTestElement
(
this
.
betreffText
);
}
}
public
getNachrichtText
():
HTMLElement
{
public
getNachrichtText
():
Cypress
.
Chainable
<
JQuery
<
HTMLElement
>>
{
return
cy
.
getTestElement
(
this
.
nachrichtText
);
return
cy
.
getTestElement
(
this
.
nachrichtText
);
}
}
}
}
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