Skip to content
Snippets Groups Projects
Verified Commit 09e0dbb3 authored by Sebastian Bergandy's avatar Sebastian Bergandy :keyboard:
Browse files

OZG-7473 make data test ids unique

Based on CR comment.
parent 20de309b
No related branches found
No related tags found
1 merge request!104Administration: Neu hinzugefügte Felder für Statistik speichern
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
label="Formengine" label="Formengine"
placeholder="Tragen Sie hier die Formengine des Formulars ein." placeholder="Tragen Sie hier die Formengine des Formulars ein."
isRequired="true" isRequired="true"
data-test-id="form-engine-name" data-test-id="form-engine-name-text-editor"
dataTestId="form-engine-name" dataTestId="form-engine-name"
></ods-text-editor> ></ods-text-editor>
<ods-text-editor <ods-text-editor
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
label="FormID" label="FormID"
placeholder="Tragen Sie hier die FormID des Formulars ein." placeholder="Tragen Sie hier die FormID des Formulars ein."
isRequired="true" isRequired="true"
data-test-id="form-id" data-test-id="form-id-text-editor"
dataTestId="form-id" dataTestId="form-id"
></ods-text-editor> ></ods-text-editor>
</div> </div>
......
...@@ -27,8 +27,8 @@ describe('AggregationMappingFormComponent', () => { ...@@ -27,8 +27,8 @@ describe('AggregationMappingFormComponent', () => {
let component: AggregationMappingFormComponent; let component: AggregationMappingFormComponent;
let fixture: ComponentFixture<AggregationMappingFormComponent>; let fixture: ComponentFixture<AggregationMappingFormComponent>;
const formEngineNameInputTestId: string = getDataTestIdOf('form-engine-name'); const formEngineNameInputTestId: string = getDataTestIdOf('form-engine-name-text-editor');
const formIdInputTestId: string = getDataTestIdOf('form-id'); const formIdInputTestId: string = getDataTestIdOf('form-id-text-editor');
const addMappingButton: string = getDataTestIdOf('add-mapping'); const addMappingButton: string = getDataTestIdOf('add-mapping');
const aggregationMappingStateResource: StateResource<AggregationMappingResource> = createStateResource( const aggregationMappingStateResource: StateResource<AggregationMappingResource> = createStateResource(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment