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

OZG-2508 OZG-2520 E2E - cypress.util.ts nutzen (2)

parent fb3b10dc
No related branches found
No related tags found
No related merge requests found
...@@ -12,7 +12,7 @@ import { VorgangE2E } from '../../../model/vorgang'; ...@@ -12,7 +12,7 @@ import { VorgangE2E } from '../../../model/vorgang';
import { MainPage, waitForSpinnerToDisappear } from '../../../page-objects/main.po'; import { MainPage, waitForSpinnerToDisappear } from '../../../page-objects/main.po';
import { VorgangPage } from '../../../page-objects/vorgang.po'; import { VorgangPage } from '../../../page-objects/vorgang.po';
import { WiedervorlagePage } from '../../../page-objects/wiedervorlage.po'; import { WiedervorlagePage } from '../../../page-objects/wiedervorlage.po';
import { containClass, contains, exist, notContainClass, notExist } from '../../../support/cypress.util'; import { containClass, contains, exist, haveLength, notContainClass, notExist } from '../../../support/cypress.util';
import { TEST_FILE_WITHOUT_CONTENT, TEST_FILE_WITH_CONTENT, TEST_FILE_WITH_CONTENT_46MB } from '../../../support/data.util'; import { TEST_FILE_WITHOUT_CONTENT, TEST_FILE_WITH_CONTENT, TEST_FILE_WITH_CONTENT_46MB } from '../../../support/data.util';
import { uploadEmptyFile, uploadFile } from '../../../support/file-upload'; import { uploadEmptyFile, uploadFile } from '../../../support/file-upload';
import { loginAsSabine } from '../../../support/user-util'; import { loginAsSabine } from '../../../support/user-util';
...@@ -215,7 +215,7 @@ describe('Wiedervorlage attachments', () => { ...@@ -215,7 +215,7 @@ describe('Wiedervorlage attachments', () => {
it('should still have 1 attachment only', () => { it('should still have 1 attachment only', () => {
const attachmentList: AttachmentListE2EComponent = wiedervorlageContainerInVorgang.getWiedervorlage(wiedervorlage.betreff).getAttachmentContainer().getList(); const attachmentList: AttachmentListE2EComponent = wiedervorlageContainerInVorgang.getWiedervorlage(wiedervorlage.betreff).getAttachmentContainer().getList();
attachmentList.getRoot().haveLength(1) haveLength(attachmentList.getRoot(), 1);
}) })
}) })
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment