Skip to content

Commit

Permalink
[FIX] Updated js tests with new price format (OCA#26)
Browse files Browse the repository at this point in the history
* [FIX] Updated js tests with new price format and VAT inclusive
  • Loading branch information
PCatinean authored and SirAionTech committed Jan 15, 2024
1 parent 4781fa2 commit 427d07e
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Tour.register({
},
{
title: "Check price",
element: "#cfg_total:contains(25000)",
element: "#cfg_total:contains(28,750.00)",
},
{
title: "Select fuel",
Expand All @@ -39,8 +39,8 @@ Tour.register({
},
{
title: "Check price",
waitFor: "#cfg_total:contains(37634)",
element: "#cfg_price_tags:contains(div span:contains(12634)"
waitFor: "#cfg_total:contains(43,279.10)",
element: "#cfg_price_tags:contains(div span:contains(12,634.00)"
},
{
title: "Next Step",
Expand Down Expand Up @@ -68,8 +68,8 @@ Tour.register({
},
{
title: "Check price",
waitFor: "#cfg_total:contains(38360)",
element: "#cfg_price_tags:contains(div span:contains(726)"
waitFor: "#cfg_total:contains(44,114.00)",
element: "#cfg_price_tags:contains(div span:contains(726.00)"
},
{
title: "Next Step",
Expand Down Expand Up @@ -115,15 +115,15 @@ Tour.register({
},
{
title: "Check price",
element: "#cfg_total:contains(39390)",
element: "#cfg_total:contains(45,298.50)",
},
{
title: "Submit Configuration",
element: "#submit_configuration"
},
{
title: "Check configuration price",
element: "b.oe_price span.oe_currency_value:contains(39,390)"
element: "b.oe_price span.oe_currency_value:contains(45,298.50)"
},
{
title: 'Add to cart',
Expand Down

0 comments on commit 427d07e

Please sign in to comment.