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

OZG-1274 OZG-1342 E2E Tests für Briefumschlag

parent 1b78cb42
No related branches found
No related tags found
No related merge requests found
......@@ -4,6 +4,7 @@ import { UserProfileE2EComponent } from '../user-profile/user-profile.component.
export class VorgangListItemE2EComponent {
private readonly locatorStatus: string = 'status-text';
private readonly locatorPostfachStatus: string = 'postfach-status';
private readonly locatorWiedervorlageNextFrist: string = 'wiedervorlage-next-frist';
private readonly locatorWiedervorlagenList: string = 'wiedervorlagen-list-in-vorgang';
......@@ -21,6 +22,10 @@ export class VorgangListItemE2EComponent {
return this.getRoot().findTestElementWithClass(this.locatorStatus);
}
public getPostfachStatus() {
return this.getRoot().findTestElementWithClass(this.locatorPostfachStatus);
}
public getWiedervorlageNextFrist() {
return this.getRoot().findTestElementWithClass(this.locatorWiedervorlageNextFrist);
}
......
......@@ -60,6 +60,12 @@ describe('PostfachMail', () => {
dropCollections();
})
describe('mail icon', () => {
it('should not be visible', () => {
notExist(vorgangList.getListItem(vorgang.name).getPostfachStatus());
})
})
describe('navigate to vorgang detail', () => {
it('should open vorgang detail', () => {
......@@ -297,6 +303,12 @@ describe('PostfachMail', () => {
exist(vorgangList.getRoot());
})
})
describe('mail icon', () => {
it('should be visible', () => {
exist(vorgangList.getListItem(vorgang.name).getPostfachStatus());
})
})
})
describe('navigate to vorgang detail', () => {
......
......@@ -36,6 +36,7 @@ export class VorgangE2E {
kommentars: KommentarE2E[];
assignedTo: ResourceUriE2E;
clientAttributes: ClientAttributesE2E;
hasPostfachNachricht: boolean;
}
export class EingangE2E {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment