mirror of
https://github.com/microsoft/playwright.git
synced 2024-09-11 20:37:54 +03:00
chore(create-playwright): roll to 0.1.5 (#8889)
This commit is contained in:
parent
5b1440e14a
commit
87c2b4b200
@ -1 +1,7 @@
|
||||
!lib/**/*
|
||||
!/lib/**/*
|
||||
/node_modules/
|
||||
/test-results/
|
||||
/src/**/*
|
||||
/tests/**/*
|
||||
/playwright.config.ts
|
||||
/tsconfig.json
|
||||
|
@ -3,6 +3,6 @@ const { test, expect } = require('@playwright/test');
|
||||
|
||||
test('basic test', async ({ page }) => {
|
||||
await page.goto('https://playwright.dev/');
|
||||
await page.locator('text=Get Started').click();
|
||||
await expect(page).toHaveTitle(/Getting Started/);
|
||||
await page.locator('text=Get started').click();
|
||||
await expect(page).toHaveTitle(/Getting started/);
|
||||
});
|
||||
|
@ -2,6 +2,6 @@ import { test, expect } from '@playwright/test';
|
||||
|
||||
test('basic test', async ({ page }) => {
|
||||
await page.goto('https://playwright.dev/');
|
||||
await page.locator('text=Get Started').click();
|
||||
await expect(page).toHaveTitle(/Getting Started/);
|
||||
await page.locator('text=Get started').click();
|
||||
await expect(page).toHaveTitle(/Getting started/);
|
||||
});
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "create-playwright",
|
||||
"version": "0.1.4",
|
||||
"version": "0.1.5",
|
||||
"description": "Getting started with writing end-to-end tests with Playwright.",
|
||||
"repository": "github:Microsoft/playwright",
|
||||
"homepage": "https://playwright.dev",
|
||||
|
@ -39,7 +39,7 @@ export async function createFiles(rootDir: string, files: Map<string, string>, f
|
||||
const { override } = await prompt<{ override: boolean }>({
|
||||
type: 'confirm',
|
||||
name: 'override',
|
||||
message: `${absoluteFilePath} already exists. Should it override?`,
|
||||
message: `${absoluteFilePath} already exists. Override it?`,
|
||||
initial: false
|
||||
});
|
||||
if (!override)
|
||||
|
Loading…
Reference in New Issue
Block a user