Skip to content

Commit

Permalink
t push origin main
Browse files Browse the repository at this point in the history
Merge branch 'myselfsaurabh-main'
  • Loading branch information
yuyutaotao committed Jan 27, 2025
2 parents 23d58ae + 763c30e commit 2ee3ad9
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions playwright-demo/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# playwright-demo

> quick start
## Steps

create `.env` file

Expand All @@ -9,8 +9,7 @@ create `.env` file
OPENAI_API_KEY="YOUR_TOKEN"
```

> e2e command
run e2e test

```bash
pnpm install
Expand All @@ -26,12 +25,9 @@ pnpm run e2e:ui

# run e2e with playwright ui + cache
pnpm run e2e:ui:cache

# read report
# You must run the pnpm run e2e or pnpm e2e:cache to view the report
node ./midscene_run/midscene-report/index.js
```

After the above command executes successfully, the console will output: `Midscene - report file updated: ./current_cwd/midscene_run/report/some_id.html.` You can open this file in a browser to view the report.

# Reference

Expand Down

0 comments on commit 2ee3ad9

Please sign in to comment.