From 95cf46ab6250353f65830a0bfa5a61083f224e13 Mon Sep 17 00:00:00 2001 From: Yogi_Wang Date: Tue, 17 Dec 2019 10:45:22 +0800 Subject: [PATCH] Remove duplicate ids Signed-off-by: Yogi_Wang --- src/portal/src/app/account/sign-up/sign-up.component.html | 2 +- src/portal/src/app/account/sign-up/sign-up.component.spec.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/portal/src/app/account/sign-up/sign-up.component.html b/src/portal/src/app/account/sign-up/sign-up.component.html index bd1e972e5..72db7d754 100644 --- a/src/portal/src/app/account/sign-up/sign-up.component.html +++ b/src/portal/src/app/account/sign-up/sign-up.component.html @@ -7,6 +7,6 @@ \ No newline at end of file diff --git a/src/portal/src/app/account/sign-up/sign-up.component.spec.ts b/src/portal/src/app/account/sign-up/sign-up.component.spec.ts index 838c97fca..27d621ea6 100644 --- a/src/portal/src/app/account/sign-up/sign-up.component.spec.ts +++ b/src/portal/src/app/account/sign-up/sign-up.component.spec.ts @@ -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();