Files
firefox/toolkit/components/payments/test/browser/browser_request_summary.js
T

12 lines
335 B
JavaScript

"use strict";
add_task(async function test_summary() {
await BrowserTestUtils.withNewTab({
gBrowser,
url: "resource://payments/paymentRequest.xhtml",
}, async browser => {
// eslint-disable-next-line mozilla/no-cpows-in-tests
ok(browser.contentDocument.getElementById("cancel"), "Cancel button exists");
});
});