Skip to content

Commit

Permalink
update example test case
Browse files Browse the repository at this point in the history
  • Loading branch information
m2rads committed Dec 16, 2024
1 parent 45068a1 commit 380d478
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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(() => {
Expand Down
6 changes: 3 additions & 3 deletions packages/shortest/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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(() => {
Expand Down

0 comments on commit 380d478

Please sign in to comment.