Skip to content

Commit

Permalink
fix(lightning): channels test
Browse files Browse the repository at this point in the history
  • Loading branch information
limpbrains committed Aug 25, 2023
1 parent 71b4f29 commit 259615c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions e2e/channels.e2e.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,14 +83,12 @@ d('LN Channel Onboarding', () => {
await element(by.id('QuickSetupButton')).tap();
// set spending balance to zero
await element(by.id('SliderHandle')).swipe('left');
// await sleep(2000); // wait for weird slider behavior
const button = element(by.id('QuickSetupContinue'));
const buttonEnabled = await isButtonEnabled(button);
jestExpect(buttonEnabled).toBe(false);

// should show 80% limit note
await element(by.id('SliderHandle')).swipe('right', 'slow', NaN, 0.8);
// await sleep(2000); // wait for weird slider behavior
await expect(element(by.id('QuickSetupBlocktankNote'))).toBeVisible();
await element(by.id('QuickSetupCustomAmount')).tap();
await element(by.id('NumberPadButtonsMax')).tap();
Expand Down

0 comments on commit 259615c

Please sign in to comment.