parent
0fa8073ab6
commit
e3ba3eab11
|
|
@ -83,16 +83,16 @@ export class Generator {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: 'confirm',
|
type: 'confirm',
|
||||||
name: 'installPlaywrightDependencies',
|
name: 'addExamples',
|
||||||
message: 'Install Playwright operating system dependencies (requires sudo / root - can be done manually via \sudo npx playwright install-deps\')?',
|
message: 'Add common examples which demonstrate Playwright\'s capabilities?',
|
||||||
initial: true,
|
initial: true,
|
||||||
},
|
},
|
||||||
// Avoid installing dependencies on Windows (vast majority does not run create-playwright on Windows)
|
// Avoid installing dependencies on Windows (vast majority does not run create-playwright on Windows)
|
||||||
// Avoid installing dependencies on Mac (there are no dependencies)
|
// Avoid installing dependencies on Mac (there are no dependencies)
|
||||||
...(process.platform === 'linux' ? [{
|
...(process.platform === 'linux' ? [{
|
||||||
type: 'confirm',
|
type: 'confirm',
|
||||||
name: 'addExamples',
|
name: 'installPlaywrightDependencies',
|
||||||
message: 'Add common examples which demonstrate Playwright\'s capabilities?',
|
message: 'Install Playwright operating system dependencies (requires sudo / root - can be done manually via \sudo npx playwright install-deps\')?',
|
||||||
initial: true,
|
initial: true,
|
||||||
}] : []),
|
}] : []),
|
||||||
]);
|
]);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue