Skip to content

Commit

Permalink
test: Cypress | Omnibar_spec.js fix (appsmithorg#25086)
Browse files Browse the repository at this point in the history
## Description
- This PR fixes the failing Omnibar_spec.js
  • Loading branch information
Aishwarya-U-R authored Jul 4, 2023
1 parent 22dce83 commit eb3645d
Showing 1 changed file with 5 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,14 +112,11 @@ describe("Omnibar functionality test cases", () => {
// cy.wait(4000); //for page to load
// });

cy.url().then(($urlBeforeDiscord) => {
deployMode.StubWindowNAssert(
omnibar.discordLink,
"https://discord.com/invite/rBTTVJp",
$urlBeforeDiscord,
"getWorkspace",
);
});
deployMode.StubWindowNAssert(
omnibar.discordLink,
"https://discord.com/invite/rBTTVJp",
"getWorkspace",
);
},
);

Expand Down

0 comments on commit eb3645d

Please sign in to comment.