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

OZG-1194 adjust e2e test

parent ef00e89a
No related branches found
No related tags found
No related merge requests found
......@@ -44,7 +44,9 @@ describe('Postfach Nachrichten Attachments', () => {
exist(vorgangList.getRoot());
})
describe('download attachment from vorgang detail', () => {
describe('download attachment from postfach nachrichten page', () => {
const listItem: PostfachMailListItem = postfachPage.getListItem(postfachMailReply.subject);
it('should show vorgang on navigation', () => {
vorgangList.getListItem(vorgang.name).getRoot().click();
......@@ -52,22 +54,6 @@ describe('Postfach Nachrichten Attachments', () => {
exist(vorgangPage.getVorgangDetailHeader().getRoot());
})
it('should show postfach nachrichten attachments', () => {
exist(vorgangPage.getPostfachMailcontainer().getAttachments());
})
it('should download attachment', () => {
postfachMail.getListItem(postfachMailReply.subject).downloadAttachment(binaryFileWithContent.file.name);
vorgangPage.waitForSpinnerToDisappear();
exist(readFileFromDownloads(binaryFileWithContent.file.name));
})
})
describe('download attachment from postfach nachrichten page', () => {
const listItem: PostfachMailListItem = postfachPage.getListItem(postfachMailReply.subject);
it('should navigate on click on subject', () => {
postfachMail.getListItem(postfachMailReply.subject).getRoot().click();
......@@ -86,7 +72,7 @@ describe('Postfach Nachrichten Attachments', () => {
})
})
describe.skip('navigate back', () => {
describe('navigate back', () => {
it('should show vorgang detail', () => {
postfachSubnavigation.getBackButton().click();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment