You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by ri...@apache.org on 2022/01/19 08:15:28 UTC
[incubator-streampipes] branch dev updated: [hotfix] Add cypress attribute to slider input
This is an automated email from the ASF dual-hosted git repository.
riemer pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-streampipes.git
The following commit(s) were added to refs/heads/dev by this push:
new 0d9a470 [hotfix] Add cypress attribute to slider input
0d9a470 is described below
commit 0d9a4701a56f353e8dc6fe4b920e8e39cfac9398
Author: Dominik Riemer <do...@gmail.com>
AuthorDate: Wed Jan 19 09:15:20 2022 +0100
[hotfix] Add cypress attribute to slider input
---
.../static-free-input.component.html | 21 +++++++++++++--------
1 file changed, 13 insertions(+), 8 deletions(-)
diff --git a/ui/src/app/core-ui/static-properties/static-free-input/static-free-input.component.html b/ui/src/app/core-ui/static-properties/static-free-input/static-free-input.component.html
index c4236d9..8a027d3 100644
--- a/ui/src/app/core-ui/static-properties/static-free-input/static-free-input.component.html
+++ b/ui/src/app/core-ui/static-properties/static-free-input/static-free-input.component.html
@@ -33,11 +33,12 @@
<div *ngIf="staticProperty.valueSpecification">
<div fxLayout="column" fxFlex="100">
<mat-slider thumbLabel formControlName="{{fieldName}}"
- [max]="staticProperty.valueSpecification.maxValue"
- [min]="staticProperty.valueSpecification.minValue"
- [step]="staticProperty.valueSpecification.step"
- [displayWith]="formatLabel"
- color="accent">
+ [max]="staticProperty.valueSpecification.maxValue"
+ [min]="staticProperty.valueSpecification.minValue"
+ [step]="staticProperty.valueSpecification.step"
+ [attr.data-cy]="fieldName"
+ [displayWith]="formatLabel"
+ color="accent">
</mat-slider>
</div>
</div>
@@ -46,13 +47,17 @@
<h5>Possible placeholders: </h5>
<div fxFlex="100" fxLayout="row" style="background:white;">
<mat-chip-list style="margin-bottom:10px;">
- <mat-chip (click)="applyPlaceholder(property.runtimeName)" color="accent" *ngFor="let property of eventSchemas[0].eventProperties">#{{property.runtimeName}}#</mat-chip>
+ <mat-chip (click)="applyPlaceholder(property.runtimeName)" color="accent"
+ *ngFor="let property of eventSchemas[0].eventProperties">#{{property.runtimeName}}#
+ </mat-chip>
</mat-chip-list>
</div>
</div>
<div fxFlex="100" *ngIf="staticProperty.multiLine">
- <quill-editor *ngIf="staticProperty.htmlFontFormat" #textEditor formControlName="{{fieldName}}" [modules]="quillModulesFontFormat"></quill-editor>
- <quill-editor *ngIf="!staticProperty.htmlFontFormat" #textEditor formControlName="{{fieldName}}" [modules]="quillModules"></quill-editor>
+ <quill-editor *ngIf="staticProperty.htmlFontFormat" #textEditor formControlName="{{fieldName}}"
+ [modules]="quillModulesFontFormat"></quill-editor>
+ <quill-editor *ngIf="!staticProperty.htmlFontFormat" #textEditor formControlName="{{fieldName}}"
+ [modules]="quillModules"></quill-editor>
</div>
</div>
</div>