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

add test

parent 7ac7dec6
No related branches found
No related tags found
No related merge requests found
......@@ -5,8 +5,8 @@ export class VorgangZusammenarbeitE2EComponent {
private readonly zustaendigeStelleButton: string = 'zustaendige-stelle-search-button';
private readonly titelText: string = 'Titel-text-input';
private readonly nachrichtText: string = 'Nachricht-textarea';
private readonly sendButton: string = 'zuarbeit-anfragen-button';
private readonly cancelButton: string = 'collaboration-request-abbrechen-button';
private readonly sendButton: string = 'collaboration-request-send-button';
private readonly cancelButton: string = 'collaboration-request-cancel-button';
public getAnfrageButton(): Cypress.Chainable<JQuery<HTMLElement>> {
return cy.getTestElement(this.anfrageButton);
......
......@@ -67,6 +67,7 @@ describe('Vorgang Zusammenarbeit anfragen', () => {
notExist(zusammenarbeitContainer.getStelleNachricht());
notExist(zusammenarbeitContainer.getSendButton());
notExist(zusammenarbeitContainer.getCancelButton());
exist(zusammenarbeitContainer.getAnfrageButton());
});
it('should open new search label for Zustaendige Stelle', () => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment