Merge pull request #1345 from jheyworth/fix-todomvc-url

Fix TodoMVC example URL to include /dist/ path
This commit is contained in:
Murat K Ozcan 2026-01-16 11:31:45 -06:00 committed by GitHub
commit 5881790068
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 6 deletions

View File

@ -83,7 +83,7 @@ If you're using TEA Solo or don't have BMad artifacts:
**What are you testing?** **What are you testing?**
``` ```
TodoMVC React application at https://todomvc.com/examples/react/ TodoMVC React application at https://todomvc.com/examples/react/dist/
Features: Create todos, mark as complete, filter by status, delete todos Features: Create todos, mark as complete, filter by status, delete todos
``` ```

View File

@ -293,7 +293,7 @@ TEA workflows may use environment variables for test configuration.
**Playwright:** **Playwright:**
```bash ```bash
# .env # .env
BASE_URL=https://todomvc.com/examples/react/ BASE_URL=https://todomvc.com/examples/react/dist/
API_BASE_URL=https://api.example.com API_BASE_URL=https://api.example.com
TEST_USER_EMAIL=test@example.com TEST_USER_EMAIL=test@example.com
TEST_USER_PASSWORD=password123 TEST_USER_PASSWORD=password123

View File

@ -18,7 +18,7 @@ By the end of this 30-minute tutorial, you'll have:
- Node.js installed (v18 or later) - Node.js installed (v18 or later)
- 30 minutes of focused time - 30 minutes of focused time
- We'll use TodoMVC (<https://todomvc.com/examples/react/>) as our demo app - We'll use TodoMVC (<https://todomvc.com/examples/react/dist/>) as our demo app
## TEA Approaches Explained ## TEA Approaches Explained
@ -36,7 +36,7 @@ This tutorial focuses on **TEA Lite** - the fastest way to see TEA in action.
We'll test TodoMVC, a standard demo app used across testing documentation. We'll test TodoMVC, a standard demo app used across testing documentation.
**Demo App:** <https://todomvc.com/examples/react/> **Demo App:** <https://todomvc.com/examples/react/dist/>
No installation needed - TodoMVC runs in your browser. Open the link above and: No installation needed - TodoMVC runs in your browser. Open the link above and:
1. Add a few todos (type and press Enter) 1. Add a few todos (type and press Enter)
@ -171,7 +171,7 @@ In your chat with TEA, run:
``` ```
**Q: What are you testing?** **Q: What are you testing?**
A: "TodoMVC React app at <https://todomvc.com/examples/react/> - focus on the test design we just created" A: "TodoMVC React app at <https://todomvc.com/examples/react/dist/> - focus on the test design we just created"
**Q: Reference existing docs?** **Q: Reference existing docs?**
A: "Yes, use test-design-epic-1.md" A: "Yes, use test-design-epic-1.md"
@ -187,7 +187,7 @@ import { test, expect } from '@playwright/test';
test.describe('TodoMVC - Core Functionality', () => { test.describe('TodoMVC - Core Functionality', () => {
test.beforeEach(async ({ page }) => { test.beforeEach(async ({ page }) => {
await page.goto('https://todomvc.com/examples/react/'); await page.goto('https://todomvc.com/examples/react/dist/');
}); });
test('should create a new todo', async ({ page }) => { test('should create a new todo', async ({ page }) => {