File tree Expand file tree Collapse file tree
src/plugins/auth-providers Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -93,17 +93,7 @@ export class AuthProviders extends BrowserforcePlugin {
9393 }
9494
9595 // Save the changes
96- await frameOrPage . locator ( SAVE_BUTTON_SELECTOR ) . waitFor ( { timeout : 10000 } ) ;
97-
98- // Click save button - don't wait for navigation as it may redirect to a non-existent page
99- // Instead, wait for the click to complete and then check for errors
100- const saveButtonLocator = frameOrPage . locator ( SAVE_BUTTON_SELECTOR ) ;
101- const saveButtonCount = await saveButtonLocator . count ( ) ;
102- if ( saveButtonCount === 0 ) {
103- throw new Error ( `Save button not found for AuthProvider '${ developerName } '` ) ;
104- }
105-
106- // Click the save button
96+ const saveButtonLocator = page . locator ( SAVE_BUTTON_SELECTOR ) ;
10797 await saveButtonLocator . first ( ) . click ( ) ;
10898
10999 // Wait for save to complete - give it time to process
You can’t perform that action at this time.
0 commit comments