File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,9 @@ testAgainstRunningApps({ withEnv: [appConfigs.envs.withSessionTasks] })(
48
48
await u . page . goToRelative ( '/page-protected' ) ;
49
49
50
50
// Resolves task
51
- const fakeOrganization = u . services . organizations . createFakeOrganization ( ) ;
51
+ const fakeOrganization = Object . assign ( u . services . organizations . createFakeOrganization ( ) , {
52
+ slug : u . services . organizations . createFakeOrganization ( ) . slug + '-with-sign-in-password' ,
53
+ } ) ;
52
54
await u . po . signIn . waitForMounted ( ) ;
53
55
await u . po . sessionTask . resolveForceOrganizationSelectionTask ( fakeOrganization ) ;
54
56
await u . po . expect . toHaveResolvedTask ( ) ;
@@ -82,7 +84,9 @@ testAgainstRunningApps({ withEnv: [appConfigs.envs.withSessionTasks] })(
82
84
83
85
// Resolves task
84
86
await u . po . signIn . waitForMounted ( ) ;
85
- const fakeOrganization = u . services . organizations . createFakeOrganization ( ) ;
87
+ const fakeOrganization = Object . assign ( u . services . organizations . createFakeOrganization ( ) , {
88
+ slug : u . services . organizations . createFakeOrganization ( ) . slug + '-with-sign-in-sso' ,
89
+ } ) ;
86
90
await u . po . sessionTask . resolveForceOrganizationSelectionTask ( fakeOrganization ) ;
87
91
await u . po . expect . toHaveResolvedTask ( ) ;
88
92
Original file line number Diff line number Diff line change @@ -42,7 +42,9 @@ testAgainstRunningApps({ withEnv: [appConfigs.envs.withSessionTasks] })(
42
42
expect ( u . page . url ( ) ) . toContain ( 'tasks' ) ;
43
43
44
44
// Resolves task
45
- const fakeOrganization = u . services . organizations . createFakeOrganization ( ) ;
45
+ const fakeOrganization = Object . assign ( u . services . organizations . createFakeOrganization ( ) , {
46
+ slug : u . services . organizations . createFakeOrganization ( ) . slug + '-with-sign-up' ,
47
+ } ) ;
46
48
await u . po . sessionTask . resolveForceOrganizationSelectionTask ( fakeOrganization ) ;
47
49
await u . po . expect . toHaveResolvedTask ( ) ;
48
50
You can’t perform that action at this time.
0 commit comments