File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -121,15 +121,16 @@ export class AuthService {
121121 }
122122
123123 login ( ) {
124-
125- setTimeout ( ( ) => {
124+ // Need to increase timeout to 1500 as for slower network it gives an error
125+ // Cannot read property 'querySelector' of null
126+ setTimeout ( ( ) => {
126127 const button = document
127128 . querySelector ( '#lfx-header' )
128129 . shadowRoot . querySelector ( '.lfx-header.is-login-link' ) as HTMLElement ;
129130 if ( button ) {
130131 button . click ( ) ;
131132 }
132- } , 500 )
133+ } , 1500 )
133134 }
134135
135136 logout ( ) {
Original file line number Diff line number Diff line change 1414 < link rel ="icon " type ="image/x-icon " href ="https://cdn.platform.linuxfoundation.org/assets/lf-favicon.png ">
1515</ head >
1616< body >
17- < lfx-header product ="LF CLA " docslink ="https://docs.linuxfoundation.org/docs /v/v2/communitybridge /easycla "
17+ < lfx-header product ="LF CLA " docslink ="https://docs.linuxfoundation.org/lfx /v/v2/easycla "
1818 supportlink ="https://jira.linuxfoundation.org/plugins/servlet/theme/portal/4/create/143 " id ="lfx-header "
1919 faqlink ="https://docs.linuxfoundation.org/lfx/easycla/getting-started/easycla-faqs ">
2020</ lfx-header >
You can’t perform that action at this time.
0 commit comments