Commit f178ad91 authored by anonym's avatar anonym
Browse files

Make Electrum tests pass after bump to 2.6.3-1.

The new version decreases the size of the seed text box (the old image
expects a larger one), and it is not focused by default. Furthermore,
there seems to be a race between the where Sikuli could detect the old
text box after clicking next, so let's properly wait for the
verification window.
parent 6e8531fb
features/images/ElectrumWalletSeedTextbox.png

230 Bytes | W: | H:

features/images/ElectrumWalletSeedTextbox.png

110 Bytes | W: | H:

features/images/ElectrumWalletSeedTextbox.png
features/images/ElectrumWalletSeedTextbox.png
features/images/ElectrumWalletSeedTextbox.png
features/images/ElectrumWalletSeedTextbox.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -23,7 +23,8 @@ When /^I create a new bitcoin wallet$/ do
@screen.type('c', Sikuli::KeyModifier.CTRL) # copy seed to clipboard
seed = $vm.get_clipboard
@screen.wait_and_click("ElectrumNextButton.png", 15)
@screen.wait("ElectrumWalletSeedTextbox.png", 15)
@screen.wait("ElectrumSeedVerificationPrompt.png", 15)
@screen.click("ElectrumWalletSeedTextbox.png", 15)
@screen.type(seed) # Confirm seed
@screen.wait_and_click("ElectrumNextButton.png", 10)
@screen.wait_and_click("ElectrumEncryptWallet.png", 10)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment