File tree Expand file tree Collapse file tree 3 files changed +3
-20
lines changed
Expand file tree Collapse file tree 3 files changed +3
-20
lines changed Original file line number Diff line number Diff line change @@ -35,10 +35,6 @@ export default defineConfig({
3535
3636 /* Configure projects for major browsers */
3737 projects : [
38- {
39- name : "setup" ,
40- testMatch : / g l o b a l \. s e t u p \. t s / ,
41- } ,
4238 {
4339 name : "desktop" ,
4440 use : {
@@ -50,7 +46,6 @@ export default defineConfig({
5046 ] ,
5147 } ,
5248 } ,
53- dependencies : [ "setup" ] ,
5449 } ,
5550 {
5651 name : "mobile" ,
@@ -63,7 +58,6 @@ export default defineConfig({
6358 ] ,
6459 } ,
6560 } ,
66- dependencies : [ "setup" ] ,
6761 } ,
6862 ] ,
6963} ) ;
Original file line number Diff line number Diff line change @@ -65,7 +65,9 @@ export class AuthFlow {
6565
6666 constructor ( ) {
6767 this . chooseMethod ( ) ;
68- const GROUP_INFO_PERCENTAGE = 0.2 ;
68+ const isE2E = nonNullish ( canisterConfig . dummy_auth [ 0 ] ?. [ 0 ] ) ;
69+ // No A/B test in E2E runs
70+ const GROUP_INFO_PERCENTAGE = isE2E ? - 1 : 0.2 ;
6971 this . abTestGroup =
7072 Math . random ( ) < GROUP_INFO_PERCENTAGE ? "infoPasskey" : "default" ;
7173 }
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments