chore: import enterprise addons 19.0 bulk snapshot

This commit is contained in:
1b-agent committed 2026-09-16 10:13:08 +00:00
commit ca4af030d3
39951 files changed
+15570005

No files matched your search

@@ -0,0 +1,41 @@
import { registry } from "@web/core/registry";
import * as tourUtils from "@website_sale/js/tours/tour_utils";
registry.category("web_tour.tours").add("test_validate_additional_fields", {
url: "/shop",
steps: () => [
...tourUtils.addToCart({ productName: "Test Product", expectUnloadPage: true }),
tourUtils.goToCart({ quantity: 1 }),
{
content: "Go to checkout",
trigger: "a:contains('Checkout')",
run: "click",
expectUnloadPage: true,
},
{
content: "Confirm Address",
trigger: "a:contains('Continue checkout')",
run: "click",
expectUnloadPage: true,
},
{
content: "Check that the additional field page is open",
trigger: "h3:contains('Required additional fields')",
},
{
content: "Check no need invoice",
trigger: 'input[name="need_invoice"][value="0"]',
run: "click",
},
{
content: "Click Next",
trigger: 'a[name="website_sale_main_button"]:contains("Confirm")',
run: "click",
expectUnloadPage: true,
},
{
content: "Check we are on confirm order page",
trigger: "#address_on_payment",
},
],
});