Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

create-playwright

Package Overview
Dependencies
Maintainers
3
Versions
131
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-playwright - npm Package Compare versions

Comparing version 0.1.7 to 1.16.0

assets/examples/1-getting-started.spec.ts

11

assets/playwright.config.js
// @ts-check
const { devices } = require('@playwright/test');
const path = require('path')
const path = require('path');
/**
* @see https://playwright.dev/docs/test-configuration
* @type{import('@playwright/test').PlaywrightTestConfig}
* @type {import('@playwright/test').PlaywrightTestConfig}
*/

@@ -14,4 +14,4 @@ const config = {

testDir: path.join(__dirname, '{{testDir}}'),
// If a test fails, retry it additional 2 times
retries: 2,
// If a test fails on CI, retry it additional 2 times
retries: process.env.CI ? 2 : 0,
// Artifacts folder where screenshots, videos, and traces are stored.

@@ -30,3 +30,3 @@ outputDir: 'test-results/',

// More information: https://playwright.dev/docs/trace-viewer
trace: 'retry-with-trace',
trace: 'on-first-retry',

@@ -44,3 +44,2 @@ // All available context options: https://playwright.dev/docs/api/class-browser#browser-new-context

...devices['Desktop Chrome'],
},

@@ -47,0 +46,0 @@ },

@@ -10,4 +10,4 @@ import { PlaywrightTestConfig, devices } from '@playwright/test';

testDir: path.join(__dirname, '{{testDir}}'),
// If a test fails, retry it additional 2 times
retries: 2,
// If a test fails on CI, retry it additional 2 times
retries: process.env.CI ? 2 : 0,
// Artifacts folder where screenshots, videos, and traces are stored.

@@ -26,3 +26,3 @@ outputDir: 'test-results/',

// More information: https://playwright.dev/docs/trace-viewer
trace: 'retry-with-trace',
trace: 'on-first-retry',

@@ -40,3 +40,2 @@ // All available context options: https://playwright.dev/docs/api/class-browser#browser-new-context

...devices['Desktop Chrome'],
},

@@ -43,0 +42,0 @@ },

{
"name": "create-playwright",
"version": "0.1.7",
"version": "1.16.0",
"description": "Getting started with writing end-to-end tests with Playwright.",
"repository": "github:Microsoft/playwright",
"homepage": "https://playwright.dev",
"author": "Microsoft",
"author": {
"name": "Microsoft Corporation"
},
"engines": {

@@ -15,16 +17,6 @@ "node": ">=12"

},
"license": "MIT",
"license": "Apache-2.0",
"scripts": {
"prepublish": "npm run build",
"watch": "cd src && ncc build index.ts --watch --out ../lib && cd ..",
"build": "cd src && ncc build index.ts --minify --out ../lib && cd ..",
"test": "npx playwright test"
},
"devDependencies": {
"@playwright/test": "^1.15.0-next-alpha-sep-10-2021",
"@types/node": "^16.9.0",
"@vercel/ncc": "^0.30.0",
"enquirer": "^2.3.6",
"typescript": "^4.4.2"
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc