Skip to content

Commit e5718c3

Browse files
Update deployment workflow and modify form validation error message
1 parent 9e07c73 commit e5718c3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflow/deploy-e2e.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ jobs:
2727
echo "Deployed to: $DEPLOY_URL"
2828
2929
env:
30-
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
31-
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
30+
# VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
31+
# VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
3232
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN_MY_PROJECT }}
3333

3434
e2e:

tests/form.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@ test('Shows validation error if fields are missing', async ({ page }) => {
2626
await page.click('button[type="submit"]');
2727

2828
// Expect an error message
29-
await expect(page.locator('p')).toHaveText('Name and Email are required');
29+
await expect(page.locator('p')).toHaveText('Submission failed. Please try again.');
3030
});
3131

0 commit comments

Comments
 (0)