@@ -29,6 +29,10 @@ testAgainstRunningApps({ withEnv: [appConfigs.envs.withBilling] })('pricing tabl
29
29
} ) ;
30
30
31
31
test ( 'renders pricing details of a specific plan' , async ( { page, context } ) => {
32
+ if ( ! app . name . includes ( 'next' ) ) {
33
+ return ;
34
+ }
35
+
32
36
const u = createTestUtils ( { app, page, context } ) ;
33
37
await u . po . page . goToRelative ( '/billing/plan-details-btn' ) ;
34
38
@@ -58,6 +62,10 @@ testAgainstRunningApps({ withEnv: [appConfigs.envs.withBilling] })('pricing tabl
58
62
} ) ;
59
63
60
64
test ( 'when signed in, clicking get started button opens checkout drawer' , async ( { page, context } ) => {
65
+ if ( ! app . name . includes ( 'next' ) ) {
66
+ return ;
67
+ }
68
+
61
69
const u = createTestUtils ( { app, page, context } ) ;
62
70
await u . po . signIn . goTo ( ) ;
63
71
await u . po . signIn . signInWithEmailAndInstantPassword ( { email : fakeUser . email , password : fakeUser . password } ) ;
@@ -84,6 +92,9 @@ testAgainstRunningApps({ withEnv: [appConfigs.envs.withBilling] })('pricing tabl
84
92
} ) ;
85
93
86
94
test ( 'when signed in, clicking checkout button open checkout drawer' , async ( { page, context } ) => {
95
+ if ( ! app . name . includes ( 'next' ) ) {
96
+ return ;
97
+ }
87
98
const u = createTestUtils ( { app, page, context } ) ;
88
99
await u . po . signIn . goTo ( ) ;
89
100
await u . po . signIn . signInWithEmailAndInstantPassword ( { email : fakeUser . email , password : fakeUser . password } ) ;
@@ -118,6 +129,9 @@ testAgainstRunningApps({ withEnv: [appConfigs.envs.withBilling] })('pricing tabl
118
129
} ) ;
119
130
120
131
test ( 'Displays subscription details drawer' , async ( { page, context } ) => {
132
+ if ( ! app . name . includes ( 'next' ) ) {
133
+ return ;
134
+ }
121
135
const u = createTestUtils ( { app, page, context } ) ;
122
136
await u . po . signIn . goTo ( ) ;
123
137
await u . po . signIn . signInWithEmailAndInstantPassword ( { email : fakeUser . email , password : fakeUser . password } ) ;
0 commit comments