Skip to content

Commit

Permalink
#1437 correct case of test asserting text="Automatically cancels at:"
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisjsimpson committed Jan 22, 2025
1 parent 90cb35c commit fdcb1a8
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,7 @@ test.describe("order plan with cancel at:", () => {
const subscriber_plan_sell_price_content = await page.evaluate(() => document.querySelector('.subscribers-plan-sell-price').textContent.indexOf("(No up-front fee)"));
expect(subscriber_plan_sell_price_content > -1)

const subscriber_plan_cancel_at_content = await page.textContent('text="Automatically Cancels at:"');
expect(subscriber_plan_cancel_at_content === "Automatically Cancels at:");
await page.textContent('text="Automatically cancels at:"');


// Go to upcoming payments and ensure plan is attached to upcoming invoice
Expand Down

0 comments on commit fdcb1a8

Please sign in to comment.