npm login -> npm run login
This commit is contained in:
parent
0394dc3f94
commit
81b04f6f2f
3 changed files with 4 additions and 4 deletions
|
|
@ -2,7 +2,7 @@ import { test, expect } from '@playwright/test'; // only npm dep needed for this
|
|||
import { existsSync } from 'fs';
|
||||
|
||||
if (!existsSync('auth.json')) {
|
||||
console.error('Missing auth.json! Run `npm login` to login and create this file by closing the opened browser.');
|
||||
console.error('Missing auth.json! Use `npm run login` to login and create this file by closing the opened browser.');
|
||||
}
|
||||
test.use({
|
||||
storageState: 'auth.json',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue