Beam

Matrix / Invoice total inside an iframe

Invoice total inside an iframe

Not runNot from a Kane issueMeasured on Kane 0.10.9 and 0.10.8

An embedded invoice frame shows the total "Total: $120.00". The broken page shows "Total: $12.00" inside the invoice frame.

What your agent will do with Beam installed

Not measured yet.

Results

WordingKaneCorrect pageBroken pageResult
Verify the invoice total is $120.00.Not run yet
Verify the exact visible text inside the embedded invoice frame includes "Total: $120.00".Not run yet

The two pages

Correct page Kane should passOpen full page
Source
<!doctype html><html lang="en"><head><meta charset="utf-8"><title>billing</title></head><body>
<h1>Billing</h1>
<p>Invoice preview:</p>
<iframe title="Invoice" width="420" height="200" srcdoc="<!doctype html><html><body style='font-family:sans-serif'><h2>Invoice #1042</h2><p>Consulting services</p><p>Total: $120.00</p></body></html>"></iframe>
</body></html>
Broken page Kane should failOpen full page
Source
<!doctype html><html lang="en"><head><meta charset="utf-8"><title>billing</title></head><body>
<h1>Billing</h1>
<p>Invoice preview:</p>
<iframe title="Invoice" width="420" height="200" srcdoc="<!doctype html><html><body style='font-family:sans-serif'><h2>Invoice #1042</h2><p>Consulting services</p><p>Total: $12.00</p></body></html>"></iframe>
</body></html>

Reproduce it

Clone the repo, then run this behavior on your own Kane:

npm run suite -- iframe-text