endform 0.76.0 → 0.77.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +49 -0
- package/package.json +7 -7
package/README.md
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# Endform
|
|
2
|
+
|
|
3
|
+
Endform is managed infrastructure for running and maintaining Playwright end-to-end test suites at scale. It runs your existing suite in parallel on isolated machines by changing one CLI command.
|
|
4
|
+
|
|
5
|
+
## Get started
|
|
6
|
+
|
|
7
|
+
From your Playwright project directory, log in to Endform:
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
npx endform@latest login
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Configure `playwright.config.ts` to point to the application you want to test:
|
|
14
|
+
|
|
15
|
+
```ts
|
|
16
|
+
import { defineConfig } from "@playwright/test";
|
|
17
|
+
|
|
18
|
+
export default defineConfig({
|
|
19
|
+
use: {
|
|
20
|
+
baseURL: process.env.BASE_URL || "https://staging.yourapp.com",
|
|
21
|
+
},
|
|
22
|
+
});
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
Run your tests with Endform:
|
|
26
|
+
|
|
27
|
+
```sh
|
|
28
|
+
npx endform@latest test
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
## Configuration
|
|
32
|
+
|
|
33
|
+
Endform works without a dedicated configuration file. For type-checked configuration, create an `endform.config.ts` file:
|
|
34
|
+
|
|
35
|
+
```ts
|
|
36
|
+
import { defineEndformConfig } from "endform";
|
|
37
|
+
|
|
38
|
+
export default defineEndformConfig({
|
|
39
|
+
region: "eu",
|
|
40
|
+
});
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
See the [Endform configuration reference](https://endform.dev/docs/reference/endform-config-ts) for all available options.
|
|
44
|
+
|
|
45
|
+
## Links
|
|
46
|
+
|
|
47
|
+
- [Documentation](https://endform.dev/docs)
|
|
48
|
+
- [App](https://endform.dev/app)
|
|
49
|
+
- [Website](https://endform.dev)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "endform",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.77.0",
|
|
4
4
|
"description": "Endform CLI",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"repository": "https://github.com/endformdev/docs",
|
|
@@ -21,11 +21,11 @@
|
|
|
21
21
|
}
|
|
22
22
|
},
|
|
23
23
|
"optionalDependencies": {
|
|
24
|
-
"endform-darwin-arm64": "0.
|
|
25
|
-
"endform-darwin-x86": "0.
|
|
26
|
-
"endform-linux-arm64": "0.
|
|
27
|
-
"endform-linux-x86": "0.
|
|
28
|
-
"endform-win32-arm64": "0.
|
|
29
|
-
"endform-win32-x86": "0.
|
|
24
|
+
"endform-darwin-arm64": "0.77.0",
|
|
25
|
+
"endform-darwin-x86": "0.77.0",
|
|
26
|
+
"endform-linux-arm64": "0.77.0",
|
|
27
|
+
"endform-linux-x86": "0.77.0",
|
|
28
|
+
"endform-win32-arm64": "0.77.0",
|
|
29
|
+
"endform-win32-x86": "0.77.0"
|
|
30
30
|
}
|
|
31
31
|
}
|