Skip to content
Snippets Groups Projects

OZG-7474 Fix data test ids

Merged Martin Küster requested to merge OZG-7474-FixDataTestId into main
18 files
+ 50
46
Compare changes
  • Side-by-side
  • Inline
Files
18
@@ -27,7 +27,7 @@
<!-- TODO Aufteilen in 3 einzelne Komponenten -->
@if (showAsIconButton) {
<ods-button
data-test-id="send-mail-icon-button"
dataTestId="send-mail-icon-button"
[isLoading]="pendingSendPostfachMailCommand.resource | hasLink: commandLinkRel.UPDATE"
tooltip="Neue Nachricht erstellen"
variant="ghost"
@@ -36,9 +36,10 @@
>
<ods-mailbox-icon icon />
</ods-button>
} @else if (text && !toolTip) {
}
@if (!showAsIconButton && text && !toolTip) {
<ods-button
data-test-id="create-mail-button-with-text"
dataTestId="create-mail-button-with-text"
[isLoading]="pendingSendPostfachMailCommand.resource | hasLink: commandLinkRel.UPDATE"
[text]="text"
variant="outline"
@@ -46,9 +47,10 @@
>
<ods-plus-icon icon />
</ods-button>
} @else if (!text && toolTip) {
}
@if (!showAsIconButton && !text && toolTip) {
<ods-button
data-test-id="create-mail-button-without-text"
dataTestId="create-mail-button-without-text"
[isLoading]="pendingSendPostfachMailCommand.resource | hasLink: commandLinkRel.UPDATE"
[tooltip]="toolTip"
variant="ghost"
Loading