From 03e106d98581f423760eca1177ee7738fca66bd3 Mon Sep 17 00:00:00 2001 From: Sarah Schwartz <58856580+sarahschwartz@users.noreply.github.com> Date: Fri, 11 Oct 2024 14:25:18 -0600 Subject: [PATCH] fix: wait for init --- content/tutorials/frontend-paymaster/10.index.md | 1 + tests/configs/frontend-paymaster.ts | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/content/tutorials/frontend-paymaster/10.index.md b/content/tutorials/frontend-paymaster/10.index.md index ea73ac27..abb8c3e6 100644 --- a/content/tutorials/frontend-paymaster/10.index.md +++ b/content/tutorials/frontend-paymaster/10.index.md @@ -59,6 +59,7 @@ Enter the private key you will use for deployment when prompted. Then, move into the contracts folder and compile the template contracts. +:test-action{actionId="wait-for-init"} :test-action{actionId="env-pk"} :test-action{actionId="compile-contracts"} diff --git a/tests/configs/frontend-paymaster.ts b/tests/configs/frontend-paymaster.ts index 14fecdd4..00cda9b4 100644 --- a/tests/configs/frontend-paymaster.ts +++ b/tests/configs/frontend-paymaster.ts @@ -12,6 +12,10 @@ export const steps: IStepConfig = { commandFolder: 'tests-output/frontend-paymaster', prompts: 'Private key of the wallet: |❯ npm: ', }, + 'wait-for-init': { + action: 'wait', + timeout: 15000, + }, 'env-pk': { action: 'modifyFile', filepath: 'tests-output/frontend-paymaster/contracts/.env',