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

add conflict solve

parent eaa6692e
No related branches found
No related tags found
No related merge requests found
...@@ -9,7 +9,7 @@ import { ...@@ -9,7 +9,7 @@ import {
vorgangStatusLabelE2E, vorgangStatusLabelE2E,
} from 'apps/alfa-e2e/src/model/vorgang'; } from 'apps/alfa-e2e/src/model/vorgang';
import { uploadFile } from 'apps/alfa-e2e/src/support/file-upload'; import { uploadFile } from 'apps/alfa-e2e/src/support/file-upload';
import { getAdjustedDateFormatted } from 'apps/alfa-e2e/src/support/tech.util'; import { getAdjustedDateGerman } from 'apps/alfa-e2e/src/support/tech.util';
import 'cypress-real-events/support'; import 'cypress-real-events/support';
import { VorgangListE2EComponent } from '../../../components/vorgang/vorgang-list.e2e.component'; import { VorgangListE2EComponent } from '../../../components/vorgang/vorgang-list.e2e.component';
import { MainPage, waitForSpinnerToDisappear } from '../../../page-objects/main.po'; import { MainPage, waitForSpinnerToDisappear } from '../../../page-objects/main.po';
...@@ -64,7 +64,7 @@ describe('Bescheid Wizard', () => { ...@@ -64,7 +64,7 @@ describe('Bescheid Wizard', () => {
vorgangFormularButtons.getBescheidenButton().click(); vorgangFormularButtons.getBescheidenButton().click();
bescheidWizard.getAbgelehntButton().click(); bescheidWizard.getAbgelehntButton().click();
enterWith(bescheidWizard.getDateInput(), getAdjustedDateFormatted(-1)); enterWith(bescheidWizard.getDateInput(), getAdjustedDateGerman(-1));
bescheidWizard.getWeiterButton().click(); bescheidWizard.getWeiterButton().click();
uploadFile(bescheidWizard.getUploadBescheidButton(), TEST_FILE_BESCHEID_VALID); uploadFile(bescheidWizard.getUploadBescheidButton(), TEST_FILE_BESCHEID_VALID);
notExist(bescheidWizard.getBescheidUploadSpinner()); notExist(bescheidWizard.getBescheidUploadSpinner());
...@@ -82,7 +82,7 @@ describe('Bescheid Wizard', () => { ...@@ -82,7 +82,7 @@ describe('Bescheid Wizard', () => {
); );
vorgangFormularButtons.getBescheidenButton().click(); vorgangFormularButtons.getBescheidenButton().click();
contains(bescheidWizard.getStatusText(), bewilligtText + ' ' + getAdjustedDateFormatted(0)); contains(bescheidWizard.getStatusText(), bewilligtText + ' ' + getAdjustedDateGerman(0));
bescheidWizard.getWeiterButton().click(); bescheidWizard.getWeiterButton().click();
notExist(bescheidWizard.getFileAnhangValid()); notExist(bescheidWizard.getFileAnhangValid());
notExist(bescheidWizard.getFileBescheidValid()); notExist(bescheidWizard.getFileBescheidValid());
...@@ -90,7 +90,7 @@ describe('Bescheid Wizard', () => { ...@@ -90,7 +90,7 @@ describe('Bescheid Wizard', () => {
it('should save all data after clicking X and confirm save', () => { it('should save all data after clicking X and confirm save', () => {
bescheidWizard.getAbgelehntButton().click(); bescheidWizard.getAbgelehntButton().click();
bescheidWizard.getDateInput().clear().type(getAdjustedDateFormatted(-1)); enterWith(bescheidWizard.getDateInput(), getAdjustedDateGerman(-1));
bescheidWizard.getWeiterButton().click(); bescheidWizard.getWeiterButton().click();
uploadFile(bescheidWizard.getUploadBescheidButton(), TEST_FILE_BESCHEID_VALID); uploadFile(bescheidWizard.getUploadBescheidButton(), TEST_FILE_BESCHEID_VALID);
notExist(bescheidWizard.getBescheidUploadSpinner()); notExist(bescheidWizard.getBescheidUploadSpinner());
...@@ -107,7 +107,7 @@ describe('Bescheid Wizard', () => { ...@@ -107,7 +107,7 @@ describe('Bescheid Wizard', () => {
); );
vorgangFormularButtons.getBescheidenButton().click(); vorgangFormularButtons.getBescheidenButton().click();
contains(bescheidWizard.getStatusText(), abgelehntText + ' ' + getAdjustedDateFormatted(-1)); contains(bescheidWizard.getStatusText(), abgelehntText + ' ' + getAdjustedDateGerman(-1));
bescheidWizard.getWeiterButton().click(); bescheidWizard.getWeiterButton().click();
exist(bescheidWizard.getFileAnhangValid()); exist(bescheidWizard.getFileAnhangValid());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment