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

OZG-6988 use dataTestId

Sub task: OZG-7446
parent b891c8d7
Branches
Tags
1 merge request!27OZG-6988 implement button
......@@ -28,6 +28,6 @@
<ods-button
text="Weitere Felder auswerten"
(clickEmitter)="navigateToStatistikFieldsForm()"
data-test-id="weitere-felder-auswerten-button"
dataTestId="weitere-felder-auswerten-button"
></ods-button>
</div>
......@@ -25,14 +25,14 @@ import { ROUTES } from '@admin-client/shared';
import { NavigationService } from '@alfa-client/navigation-shared';
import { existsAsHtmlElement, mock, Mock, triggerEvent } from '@alfa-client/test-utils';
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { getDataTestIdOf } from '../../../../../tech-shared/test/data-test';
import { getDataTestIdAttributeOf } from '../../../../../tech-shared/test/data-test';
import { StatistikContainerComponent } from './statistik-container.component';
describe('StatistikContainerComponent', () => {
let component: StatistikContainerComponent;
let fixture: ComponentFixture<StatistikContainerComponent>;
const evaluateAdditionalFieldsTestId: string = getDataTestIdOf('weitere-felder-auswerten-button');
const evaluateAdditionalFieldsTestId: string = getDataTestIdAttributeOf('weitere-felder-auswerten-button');
let navigationService: Mock<NavigationService>;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment