npm login -> npm run login

This commit is contained in:
Ralf Vogler 2021-12-28 20:59:53 +01:00
parent 0394dc3f94
commit 81b04f6f2f
3 changed files with 4 additions and 4 deletions

View file

@ -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',