mirror of
https://github.com/sasjs/adapter.git
synced 2026-01-09 21:30:05 +00:00
test: added for verifySasLogin
This commit is contained in:
@@ -19,7 +19,7 @@ export async function verifySasViyaLogin(loginPopup: Window): Promise<{
|
||||
await delay(1000)
|
||||
if (loginPopup.closed) break
|
||||
isAuthorized =
|
||||
!loginPopup.window.location.href.includes('SASLogon') ||
|
||||
loginPopup.window.location.href.includes('SASLogon') ||
|
||||
loginPopup.window.document.body?.innerText?.includes(
|
||||
'You have signed in.'
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user