chore: language agnostic browsers missing error message (#13650)
This commit is contained in:
parent
db524327c4
commit
c397daeb07
|
|
@ -286,7 +286,7 @@ export class Registry {
|
||||||
const installCommand = buildPlaywrightCLICommand(sdkLanguage, `install${installByDefault ? '' : ' ' + name}`);
|
const installCommand = buildPlaywrightCLICommand(sdkLanguage, `install${installByDefault ? '' : ' ' + name}`);
|
||||||
if (!canAccessFile(e)) {
|
if (!canAccessFile(e)) {
|
||||||
const prettyMessage = [
|
const prettyMessage = [
|
||||||
`Looks like Playwright Test or Playwright was just installed or updated.`,
|
`Looks like ${sdkLanguage === 'javascript' ? 'Playwright Test or ' : ''}Playwright was just installed or updated.`,
|
||||||
`Please run the following command to download new browser${installByDefault ? 's' : ''}:`,
|
`Please run the following command to download new browser${installByDefault ? 's' : ''}:`,
|
||||||
``,
|
``,
|
||||||
` ${installCommand}`,
|
` ${installCommand}`,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue