Skip to content
Snippets Groups Projects
Commit ae79097a authored by OZGCloud's avatar OZGCloud
Browse files

fix test component

parent 30ae6434
No related branches found
No related tags found
No related merge requests found
...@@ -45,7 +45,7 @@ export class VorgangBescheidWizardE2EComponent { ...@@ -45,7 +45,7 @@ export class VorgangBescheidWizardE2EComponent {
private readonly bescheidSpeichernButton: string = private readonly bescheidSpeichernButton: string =
'bescheiderstellung-abbrechen-entwurf-speichern'; 'bescheiderstellung-abbrechen-entwurf-speichern';
private readonly uploadBescheidFile: string = '-single-file-upload-button'; private readonly uploadBescheidFile: string = '-single-file-upload-button';
private readonly uploadAttachment: string = 'Attachment_hochladen-file-upload-button'; private readonly uploadAttachment: string = 'Anhang_hochladen-file-upload-button';
private readonly saveBescheid: string = 'save-button'; private readonly saveBescheid: string = 'save-button';
private readonly confirmAndSaveButton: string = 'confirm-and-save-button'; private readonly confirmAndSaveButton: string = 'confirm-and-save-button';
...@@ -100,7 +100,7 @@ export class VorgangBescheidWizardE2EComponent { ...@@ -100,7 +100,7 @@ export class VorgangBescheidWizardE2EComponent {
} }
public getWeiterButton() { public getWeiterButton() {
return cy.getTestElement(this.weiterButton); return cy.getTestElement(this.weiterButton).find(`[type="button"]`);
} }
public getStepCaption() { public getStepCaption() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment