From 380d478d415724f7fbdf73919358d6250c82eed8 Mon Sep 17 00:00:00 2001 From: Mohammad Rad Date: Mon, 16 Dec 2024 02:58:51 -0800 Subject: [PATCH] update example test case --- README.md | 6 +++--- packages/shortest/README.md | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index aa224a26..4f757f9c 100644 --- a/README.md +++ b/README.md @@ -58,9 +58,9 @@ import { db } from '@/lib/db/drizzle'; import { users } from '@/lib/db/schema'; import { eq } from 'drizzle-orm'; -shortest('Login to the app using Github login', { - username: process.env.GITHUB_USERNAME, - password: process.env.GITHUB_PASSWORD +shortest('Login to the app using username and password', { + username: process.env.USERNAME, + password: process.env.PASSWORD }).after(async ({ page }) => { // Get current user's clerk ID from the page const clerkId = await page.evaluate(() => { diff --git a/packages/shortest/README.md b/packages/shortest/README.md index a2cab7f3..b7a91036 100644 --- a/packages/shortest/README.md +++ b/packages/shortest/README.md @@ -49,9 +49,9 @@ import { db } from '@/lib/db/drizzle'; import { users } from '@/lib/db/schema'; import { eq } from 'drizzle-orm'; -shortest('Login to the app using Github login', { - username: process.env.GITHUB_USERNAME, - password: process.env.GITHUB_PASSWORD +shortest('Login to the app using username and password', { + username: process.env.USERNAME, + password: process.env.PASSWORD }).after(async ({ page }) => { // Get current user's clerk ID from the page const clerkId = await page.evaluate(() => {