Skip to content

Commit

Permalink
Enable AP disconnection checks on upgrade page
Browse files Browse the repository at this point in the history
  • Loading branch information
jcapona committed Aug 20, 2024
1 parent 9214fd4 commit 5d8036d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/onboarding_app/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export default () => {
};

const pathDisplaysApDisconnectDialog = (path: string) => {
return ![PageRoute.Upgrade.toString(), PageRoute.Restart.toString()].includes(path);
return ![PageRoute.Restart.toString()].includes(path);
};

return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,7 @@ describe("App", () => {

// on upgrade page
await waitForUpgradePage();
await checkForDialog();

// mock upgrade and go to registration page
await upgrade();
Expand Down

0 comments on commit 5d8036d

Please sign in to comment.