File tree Expand file tree Collapse file tree 3 files changed +18
-3
lines changed
dotcom-rendering/src/components Expand file tree Collapse file tree 3 files changed +18
-3
lines changed Original file line number Diff line number Diff line change @@ -94,6 +94,8 @@ const SocialButton = ({
94
94
onClick = { ( ) => onClick ?.( socialProvider as AuthButtonProvider ) }
95
95
data-cy = { `${ socialProvider } -sign-in-button` }
96
96
data-link-name = { `${ socialProvider } -social-button` }
97
+ data-testid = "sign-in-gate-main_signin"
98
+ data-ignore = "global-link-styling"
97
99
>
98
100
{ authProviderButtonLabel ( label ) }
99
101
</ LinkButton >
@@ -171,6 +173,8 @@ export const AuthProviderButtons = ({
171
173
queryParams ,
172
174
) }
173
175
onClick = { ( ) => onClick ?.( 'email' ) }
176
+ data-testid = "sign-in-gate-main_signin"
177
+ data-ignore = "global-link-styling"
174
178
>
175
179
{ authProviderButtonLabel ( 'email' ) }
176
180
</ LinkButton >
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ import { InformationBox } from '../../InformationBox/InformationBox';
17
17
import { GuardianTerms } from '../../Terms/Terms' ;
18
18
import { trackLink } from '../componentEventTracking' ;
19
19
import type { SignInGatePropsAuxia , TreatmentContentDecoded } from '../types' ;
20
- import { signInGateContainer } from './shared' ;
20
+ import { hideElementsCss , signInGateContainer } from './shared' ;
21
21
22
22
const DividerWithOr = ( ) => {
23
23
return (
@@ -56,12 +56,15 @@ export const SignInGateAuxiaV1 = ({
56
56
57
57
return (
58
58
< div css = { signInGateContainer } data-testid = "sign-in-gate-main" >
59
+ < style > { hideElementsCss } </ style >
59
60
< div css = { topBar } >
60
61
< SvgGuardianLogo textColor = "#041F4A" width = { 96 } />
61
62
62
63
{ isDismissible && (
63
64
< button
64
65
type = "button"
66
+ data-testid = "sign-in-gate-main_dismiss"
67
+ data-ignore = "global-link-styling"
65
68
css = { dismissButtonStyles }
66
69
onClick = { ( ) => {
67
70
dismissGate ( ) ;
@@ -147,6 +150,8 @@ export const SignInGateAuxiaV1 = ({
147
150
'REGISTER-LINK' ,
148
151
) ;
149
152
} }
153
+ data-testid = "sign-in-gate-main_register"
154
+ data-ignore = "global-link-styling"
150
155
>
151
156
{ firstCtaName }
152
157
</ ExternalLink >
Original file line number Diff line number Diff line change @@ -4,11 +4,17 @@ import { InformationBoxText } from '../InformationBox/InformationBox';
4
4
export const GuardianTerms = ( ) => (
5
5
< InformationBoxText >
6
6
By proceeding, you agree to our{ ' ' }
7
- < ExternalLink href = "https://www.theguardian.com/help/terms-of-service" >
7
+ < ExternalLink
8
+ href = "https://www.theguardian.com/help/terms-of-service"
9
+ data-ignore = "global-link-styling"
10
+ >
8
11
terms and conditions
9
12
</ ExternalLink >
10
13
. For information about how we use your data, see our{ ' ' }
11
- < ExternalLink href = "https://www.theguardian.com/help/privacy-policy" >
14
+ < ExternalLink
15
+ href = "https://www.theguardian.com/help/privacy-policy"
16
+ data-ignore = "global-link-styling"
17
+ >
12
18
privacy policy
13
19
</ ExternalLink >
14
20
.
You can’t perform that action at this time.
0 commit comments