mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-18 08:15:16 +01:00
Merge pull request #10282 from jwangyangls/remove-id
Remove duplicate ids
This commit is contained in:
commit
a84500e934
@ -7,6 +7,6 @@
|
||||
<div class="modal-footer">
|
||||
<span class="spinner spinner-inline loading-top" [hidden]="inProgress === false"> </span>
|
||||
<button type="button" class="btn btn-outline" id="close-btn" (click)="close()">{{'BUTTON.CANCEL' | translate}}</button>
|
||||
<button id="sign-up" type="button" id="create-btn" class="btn btn-primary" [disabled]="!isValid || inProgress" (click)="create()">{{ 'BUTTON.SIGN_UP' | translate }}</button>
|
||||
<button id="sign-up" type="button" class="btn btn-primary" [disabled]="!isValid || inProgress" (click)="create()">{{ 'BUTTON.SIGN_UP' | translate }}</button>
|
||||
</div>
|
||||
</clr-modal>
|
@ -83,7 +83,7 @@ describe('SignUpComponent', () => {
|
||||
component.open();
|
||||
component.getNewUser = () => mockUser;
|
||||
await fixture.whenStable();
|
||||
const createBtn = fixture.nativeElement.querySelector('#create-btn');
|
||||
const createBtn = fixture.nativeElement.querySelector('#sign-up');
|
||||
createBtn.dispatchEvent(new Event('click'));
|
||||
|
||||
await fixture.whenStable();
|
||||
|
Loading…
Reference in New Issue
Block a user