Problem
The test script tests/ui/setup/create-paylink.js is timing out when trying to create a paylink automatically.
Error Details
The script times out when attempting to click the wallet selector dropdown. The error indicates that a span element containing the domain name is intercepting pointer events, blocking interaction with the form.
locator.click: Timeout 30000ms exceeded.
- <span>domain-name</span> from <div id="q-portal--dialog--1">…</div> subtree intercepts pointer events
Steps to Reproduce
- Start LNbits dev instance
- Enable PayLinks extension
- Run:
node tests/ui/setup/create-paylink.js
- Script times out at wallet selection step
Current Workaround
Paylinks can be created manually through the LNbits UI.
Expected Behavior
The script should successfully:
- Open the New Pay Link dialog
- Select the Receiving wallet
- Set the lightning address
- Set the amount
- Create the paylink
Environment
- LNbits version: 1.1.0
- PayLinks extension: Enabled
- Database: SQLite
Suggested Fix
The script may need to:
- Handle/close any overlaying dialogs or popups before interacting with the form
- Use different selectors that aren't blocked by the domain name display
- Wait for the form to be fully interactive before attempting clicks
Related Files
tests/ui/setup/create-paylink.js
tests/ui/setup/enable-paylinks.js (working correctly)
Problem
The test script
tests/ui/setup/create-paylink.jsis timing out when trying to create a paylink automatically.Error Details
The script times out when attempting to click the wallet selector dropdown. The error indicates that a span element containing the domain name is intercepting pointer events, blocking interaction with the form.
Steps to Reproduce
node tests/ui/setup/create-paylink.jsCurrent Workaround
Paylinks can be created manually through the LNbits UI.
Expected Behavior
The script should successfully:
Environment
Suggested Fix
The script may need to:
Related Files
tests/ui/setup/create-paylink.jstests/ui/setup/enable-paylinks.js(working correctly)