Skip to content

test(e2e): fixed and extend checkout happy paths - #538

Open
anton-malinovskiy wants to merge 5 commits into
developfrom
e2e-refactor-checkout
Open

test(e2e): fixed and extend checkout happy paths#538
anton-malinovskiy wants to merge 5 commits into
developfrom
e2e-refactor-checkout

Conversation

@anton-malinovskiy

Copy link
Copy Markdown

I want to merge this change because...

Pull Request Checklist

  • Test the changes locally to ensure they work as expected.
  • Document the testing process and results in the pull request description. (Screen recording, screenshot etc)
  • Include new tests for any new functionality or significant changes.
  • Ensure that tests cover edge cases and potential failure points.
  • Document the impact of the changes on the system, including potential risks and benefits.
  • Provide a rollback plan in case the changes introduce critical issues.
  • Update documentation to reflect any changes in functionality.

@vercel

vercel Bot commented Feb 5, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

3 Skipped Deployments
Project Deployment Actions Updated (UTC)
nimara-docs Skipped Skipped Feb 6, 2026 1:50pm
nimara-ecommerce Skipped Skipped Comment Feb 6, 2026 1:50pm
nimara-ecommerce-stripe Skipped Skipped Feb 6, 2026 1:50pm

Request Review

@vercel
vercel Bot temporarily deployed to Preview – nimara-ecommerce February 5, 2026 11:59 Inactive
@vercel
vercel Bot temporarily deployed to Preview – nimara-ecommerce-stripe February 5, 2026 11:59 Inactive
@vercel
vercel Bot temporarily deployed to Preview – nimara-docs February 5, 2026 11:59 Inactive
@vercel
vercel Bot temporarily deployed to Preview – nimara-ecommerce-stripe February 5, 2026 12:16 Inactive
@vercel
vercel Bot temporarily deployed to Preview – nimara-ecommerce February 5, 2026 12:16 Inactive
@vercel
vercel Bot temporarily deployed to Preview – nimara-docs February 5, 2026 12:16 Inactive
@vercel
vercel Bot temporarily deployed to Preview – nimara-docs February 5, 2026 12:58 Inactive
@vercel
vercel Bot temporarily deployed to Preview – nimara-ecommerce-stripe February 5, 2026 12:58 Inactive
@vercel
vercel Bot temporarily deployed to Preview – nimara-ecommerce February 5, 2026 12:58 Inactive
@vercel
vercel Bot temporarily deployed to Preview – nimara-ecommerce February 6, 2026 13:50 Inactive
@vercel
vercel Bot temporarily deployed to Preview – nimara-ecommerce-stripe February 6, 2026 13:50 Inactive
@vercel
vercel Bot temporarily deployed to Preview – nimara-docs February 6, 2026 13:50 Inactive
@GrzegorzDerdak
GrzegorzDerdak changed the base branch from main to develop February 18, 2026 11:51
@GrzegorzDerdak GrzegorzDerdak changed the title fixed and extend checkout happy paths test(e2e): fixed and extend checkout happy paths Feb 19, 2026

@prelint prelint Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Caution

Two tests (CHE-02006, CHE-02007) reset between loop iterations using page.goto("http://localhost:3000/gb/checkout/payment") — an absolute hardcoded URL that ignores Playwright's baseURL (driven by...

apps/automated-tests/tests/e2e/checkout/checkout-guest-refactored.spec.ts:1028

Warning

paymentDetails.expiryDate was deliberately computed as 12/${next year} to remain valid over time; it has been replaced with the hardcoded string "12/29".

apps/automated-tests/utils/constants.ts:94

2 finding(s) posted as inline comments.

);

// Step 6: Navigate back to email page
console.log("\nStep 6: Navigating back to email page");

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Caution

Two tests (CHE-02006, CHE-02007) reset between loop iterations using page.goto("http://localhost:3000/gb/checkout/payment") — an absolute hardcoded URL that ignores Playwright's baseURL (driven by TEST_ENV_URL). playwright.config.ts throws hard if TEST_ENV_URL is missing, and every other navigation in the suite uses URLS() + process.env.TEST_ENV_URL; these two calls silently target localhost regardless of the configured test environment, causing the second iteration of each test to run against a different host in CI or staging.

export const paymentDetails = {
cardNumber: "4242424242424242",
expiryDate: `12/${(new Date().getFullYear() + 1).toString().substring(2)}`,
expiryDate: "12/29", // Verified working expiry date

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Warning

paymentDetails.expiryDate was deliberately computed as 12/${next year} to remain valid over time; it has been replaced with the hardcoded string "12/29". This value becomes a past expiry in 2030, at which point Stripe will reject it and all payment tests will fail silently with card-validation errors rather than business-logic failures.

@lukas-szewczyk

Copy link
Copy Markdown
Member

Nimara migrated to trunk-based development in #718, with main as the only long-lived branch. Please confirm here by 2026-07-30 whether this work is still active. For confirmed work, rebase the branch onto current main, resolve any drift, and retarget the PR to main. After the seven-day window, unconfirmed PRs will be closed with migration instructions. Please do not add new work to develop.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants