mirror of https://github.com/OpenVidu/openvidu.git
openvidu-testapp: minor changes for e2e test of filter
parent
2b92842263
commit
051ebbfad2
|
@ -24,7 +24,7 @@
|
|||
<label class="label">Remove filter</label>
|
||||
<button mat-button id="remove-filter-btn" (click)="remove()">Remove</button>
|
||||
<mat-form-field *ngIf="!!response" id="response-text-area" appearance="fill">
|
||||
<textarea id="api-response-text-area" [(ngModel)]="response" matInput readonly></textarea>
|
||||
<textarea id="filter-response-text-area" [(ngModel)]="response" matInput readonly></textarea>
|
||||
</mat-form-field>
|
||||
</mat-dialog-content>
|
||||
<mat-dialog-actions>
|
||||
|
|
|
@ -49,7 +49,7 @@
|
|||
</mat-form-field>
|
||||
</mat-dialog-content>
|
||||
<mat-dialog-actions>
|
||||
<button mat-button [mat-dialog-close]="initValue">CANCEL</button>
|
||||
<button mat-button [mat-dialog-close]="setCloseValue()">SAVE</button>
|
||||
<button id="close-btn" mat-button [mat-dialog-close]="initValue">CANCEL</button>
|
||||
<button id="save-btn" mat-button [mat-dialog-close]="setCloseValue()">SAVE</button>
|
||||
</mat-dialog-actions>
|
||||
</div>
|
|
@ -83,7 +83,7 @@
|
|||
<mat-form-field style="width: 70%">
|
||||
<input matInput placeholder="Allowed filter" type="text" [(ngModel)]="filterName">
|
||||
</mat-form-field>
|
||||
<button mat-icon-button style="width: 24px; height: 24px; line-height: 24px;" title="Add allowed filter" (click)="filters.push(filterName); filterName = '';">
|
||||
<button id="add-allowed-filter-btn" mat-icon-button style="width: 24px; height: 24px; line-height: 24px;" title="Add allowed filter" (click)="filters.push(filterName); filterName = '';">
|
||||
<mat-icon style="font-size: 18px; line-height: 18px; width: 18px; height: 18px" aria-label="Add allowed filter">add_circle</mat-icon>
|
||||
</button>
|
||||
</div>
|
||||
|
@ -99,7 +99,7 @@
|
|||
</div>
|
||||
|
||||
<mat-dialog-actions>
|
||||
<button mat-button [mat-dialog-close]="undefined">CANCEL</button>
|
||||
<button mat-button [mat-dialog-close]="{sessionProperties: sessionProperties, turnConf: turnConf, manualTurnConf: manualTurnConf, tokenOptions: generateTokenOptions(), customToken: customToken}">SAVE</button>
|
||||
<button id="cancel-btn" mat-button [mat-dialog-close]="undefined">CANCEL</button>
|
||||
<button id="save-btn" mat-button [mat-dialog-close]="{sessionProperties: sessionProperties, turnConf: turnConf, manualTurnConf: manualTurnConf, tokenOptions: generateTokenOptions(), customToken: customToken}">SAVE</button>
|
||||
</mat-dialog-actions>
|
||||
</div>
|
|
@ -2,8 +2,10 @@
|
|||
<div class="top-div">
|
||||
<div class="controls-div">
|
||||
<button id="add-user-btn" mat-raised-button color="primary" (click)="addUser()">ADD USER</button>
|
||||
<button id="remove-user-btn" mat-raised-button color="primary" (click)="removeUser()" [disabled]="!users.length">REMOVE USER</button>
|
||||
<button id="remove-all-users-btn" mat-raised-button color="primary" (click)="removeAllUsers()" [disabled]="!users.length">REMOVE ALL</button>
|
||||
<button id="remove-user-btn" mat-raised-button color="primary" (click)="removeUser()" [disabled]="!users.length">REMOVE
|
||||
USER</button>
|
||||
<button id="remove-all-users-btn" mat-raised-button color="primary" (click)="removeAllUsers()" [disabled]="!users.length">REMOVE
|
||||
ALL</button>
|
||||
</div>
|
||||
<div class="scenario-div">
|
||||
<mat-checkbox id="auto-join-checkbox" class="auto-join-check" [(ngModel)]="autoJoin" name="autoJoin">Auto join</mat-checkbox>
|
||||
|
@ -16,8 +18,9 @@
|
|||
</div>
|
||||
|
||||
<div class="instance-div">
|
||||
<app-openvidu-instance *ngFor="let user of users; let i=index" [openviduUrl]="openviduUrl" [openviduSecret]="openviduSecret" [sessionConf]="user" [index]="i">
|
||||
<app-openvidu-instance *ngFor="let user of users; let i=index" [attr.id]="'openvidu-instance-' + i" [openviduUrl]="openviduUrl"
|
||||
[openviduSecret]="openviduSecret" [sessionConf]="user" [index]="i">
|
||||
</app-openvidu-instance>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
Loading…
Reference in New Issue