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

OZG-4994 add test

parent c145223a
No related branches found
No related tags found
No related merge requests found
......@@ -75,7 +75,7 @@ describe('Ungelesene Nachrichten', () => {
before(() => {
initVorgaenge([vorgangWithReply1, vorgangWithReply2]);
initVorgangAttachedItem([postfachNachrichtAttachedItem1]);
//initVorgangAttachedItem([postfachNachrichtAttachedItem2]);
initVorgangAttachedItem([postfachNachrichtAttachedItem2]);
initUsermanagerUsers();
loginAsSabine();
......@@ -97,11 +97,6 @@ describe('Ungelesene Nachrichten', () => {
});
it('should show 1 unread message after viewing first message', () => {
/*const postfachMailToSend: PostfachMailItemE2E = <any>{
subject: 'none',
mailBody: faker.lorem.words(10),
};*/
vorgangList.getListItem(vorgangWithReply1.name).getRoot().click();
waitForSpinnerToDisappear();
......@@ -115,12 +110,7 @@ describe('Ungelesene Nachrichten', () => {
haveLength(vorgangList.getItems(), 1);
});
/*it('should show 0 unread messages after viewing second message', () => {
const postfachMailToSend: PostfachMailItemE2E = <any>{
subject: 'none',
mailBody: faker.lorem.words(10),
};
it('should show 0 unread messages after viewing second message', () => {
vorgangList.getListItem(vorgangWithReply2.name).getRoot().click();
waitForSpinnerToDisappear();
......@@ -132,6 +122,6 @@ describe('Ungelesene Nachrichten', () => {
subnavigation.back();
haveLength(vorgangList.getItems(), 0);
});*/
});
});
});
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment