Skip to content

Commit

Permalink
Improve confusing comments (#1928)
Browse files Browse the repository at this point in the history
* Improve confusing comments

This PR improves confusing comments surfaced in #1926.

* Improve comment
  • Loading branch information
Frederik Rothenberger authored Sep 25, 2023
1 parent 77b3f0e commit 0a038b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/frontend/src/test-e2e/flows.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export const FLOWS = {
await welcomeView.login();
await welcomeView.typeUserNumber(userNumber);
await browser.$("button[data-action='continue']").click();
// NOTE: handle recovery nag because there is no recovery phrase
// This flow assumes no recovery phrase, so we explicitly skip the recovery nag here
await FLOWS.skipRecoveryNag(browser);
const mainView = new MainView(browser);
await mainView.waitForDeviceDisplay(deviceName);
Expand All @@ -112,7 +112,7 @@ export const FLOWS = {
const pinAuthView = new PinAuthView(browser);
await pinAuthView.waitForDisplay();
await pinAuthView.enterPin(pin);
// NOTE: handle recovery nag because there is no recovery phrase
// This flow assumes no recovery phrase, so we explicitly skip the recovery nag here
await FLOWS.skipRecoveryNag(browser);
const mainView = new MainView(browser);
await mainView.waitForTempKeyDisplay(deviceName);
Expand Down

0 comments on commit 0a038b1

Please sign in to comment.