-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: replace pptr with pw #643
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ This test runner is used internally by Playwright to test Playwright itself. | |
### Installation | ||
|
||
```sh | ||
npm install --save-dev @pptr/testrunner | ||
npm install --save-dev @playwright/testrunner | ||
``` | ||
|
||
### Example | ||
|
@@ -23,7 +23,7 @@ node test.js | |
``` | ||
|
||
```js | ||
const {TestRunner, Reporter, Matchers} = require('@pptr/testrunner'); | ||
const {TestRunner, Reporter, Matchers} = require('@playwright/testrunner'); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done. |
||
|
||
// Runner holds and runs all the tests | ||
const runner = new TestRunner({ | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"name": "@pptr/testrunner", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. let's remove package.json - we don't publish it atm There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done. |
||
"name": "@playwright/testrunner", | ||
"version": "0.8.0", | ||
"description": "Playwright testrunner", | ||
"main": "index.js", | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ This test server is used internally by Playwright to test Playwright itself. | |
### Example | ||
|
||
```js | ||
const {TestServer} = require('@pptr/testserver'); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. let's require |
||
const {TestServer} = require('@playwright/testrunner'); | ||
|
||
(async(() => { | ||
const httpServer = await TestServer.create(__dirname, 8000), | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"name": "@pptr/testserver", | ||
"name": "@playwright/testrunner", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. let's drop package.json There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done. |
||
"version": "0.5.0", | ||
"description": "testing server", | ||
"main": "index.js", | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can remove the installation part as well
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.