Skip to content

Commit

Permalink
fix: CI testing
Browse files Browse the repository at this point in the history
Signed-off-by: rishabhsharma1997 <[email protected]>
  • Loading branch information
rishabhsharma1997 committed Aug 11, 2024
1 parent dd6c024 commit 7079cfd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ui/tests/e2e/auth.setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,13 @@ setup('authenticate', async ({ page }) => {

await expect(async () => {
const url = page.url();

const redirect_urls = new Set([
ENV.MESHERY_SERVER_URL + '/',
ENV.REMOTE_PROVIDER_URL + '/',
ENV.REMOTE_PROVIDER_URL + '/dashboard',
]);

const redirected = redirect_urls.has(url);
return expect(redirected).toBeTruthy();
}).toPass();
Expand Down

0 comments on commit 7079cfd

Please sign in to comment.