mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-10-01 03:46:24 +00:00

* implement sw for token storage * register sw and update webpack config to enable it * implement sw token storage utils * use token storage methods from sw utils instead of localstorage * cleanup localstorage utils * update tests * add tests for sw token storage utils * fixed unit tests * update code comments * refactor playwright token management logic * refactor: remove unused code * enable indexedDB for storageState * refactor saml callback component useEffect code * fix(playwright): saveToIndexedDB operation logic * fix(playwright): increase timeout for waitForURL to handle Service Worker initialization in CI * fix(playwright): add Service Worker auth timing diagnostics to resolve CI navigation failures * fix(playwright): redirection issue on home page * fix(playwright): ensure Service Worker is ready before page redirection * Enhance Playwright user navigation with Service Worker readiness and token availability checks. * Increase timeout for Playwright page redirection * Remove timeout for URL waits in common.ts * fix: ensure IndexedDB ready before using Playwright auth fixtures * refactor: remove Service Worker and token checks from UserClass and common utility functions * revert yarn.lock * remove indexedDB wait logic * fix(playwright): update wait for my-data route logic * fix(playwright): improve wait logic for redirecting to my-data route * feat(auth): add isAuthenticating state to manage loading behavior during authentication * fix(playwright): enhance authentication setup with additional waits for indexedDB and auth state persistence * playwright config changes for debugging * revert playwright config changes --------- Co-authored-by: “maulikkotak98” <“maulik.k@deuexsolutions.com”>