mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-18 22:57:38 +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">
|
<div class="modal-footer">
|
||||||
<span class="spinner spinner-inline loading-top" [hidden]="inProgress === false"> </span>
|
<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 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>
|
</div>
|
||||||
</clr-modal>
|
</clr-modal>
|
@ -83,7 +83,7 @@ describe('SignUpComponent', () => {
|
|||||||
component.open();
|
component.open();
|
||||||
component.getNewUser = () => mockUser;
|
component.getNewUser = () => mockUser;
|
||||||
await fixture.whenStable();
|
await fixture.whenStable();
|
||||||
const createBtn = fixture.nativeElement.querySelector('#create-btn');
|
const createBtn = fixture.nativeElement.querySelector('#sign-up');
|
||||||
createBtn.dispatchEvent(new Event('click'));
|
createBtn.dispatchEvent(new Event('click'));
|
||||||
|
|
||||||
await fixture.whenStable();
|
await fixture.whenStable();
|
||||||
|
Loading…
Reference in New Issue
Block a user