testdriverai 6.1.1-canary.613bfa3.0 → 6.1.1-canary.a2e60e2.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/docs/apps/tauri-apps.mdx +21 -31
- package/package.json +1 -1
package/docs/apps/tauri-apps.mdx
CHANGED
|
@@ -56,23 +56,37 @@ To start testing your Tauri app with TestDriver, you need the following:
|
|
|
56
56
|
|
|
57
57
|
</Accordion>
|
|
58
58
|
|
|
59
|
-
<Accordion title="
|
|
59
|
+
<Accordion title="Install the TestDriver Playwright SDK">
|
|
60
|
+
`@testdriver.ai/playwright` is an AI-powered extension of `@playwright/test`.
|
|
60
61
|
|
|
61
|
-
<
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
62
|
+
<Tabs>
|
|
63
|
+
<Tab title="npm">
|
|
64
|
+
```bash
|
|
65
|
+
npm install @testdriver.ai/playwright
|
|
66
|
+
```
|
|
67
|
+
</Tab>
|
|
68
|
+
<Tab title="yarn">
|
|
69
|
+
```bash
|
|
70
|
+
yarn add @testdriver.ai/playwright
|
|
71
|
+
```
|
|
72
|
+
</Tab>
|
|
73
|
+
<Tab title="pnpm">
|
|
74
|
+
```bash
|
|
75
|
+
pnpm add @testdriver.ai/playwright
|
|
76
|
+
```
|
|
77
|
+
</Tab>
|
|
78
|
+
</Tabs>
|
|
65
79
|
|
|
66
80
|
</Accordion>
|
|
67
81
|
|
|
68
|
-
|
|
82
|
+
<Accordion title="Create a Playwright project">
|
|
69
83
|
<Info>
|
|
70
84
|
This is a condensed version of [Playwright's Installation Instructions](https://playwright.dev/docs/intro).
|
|
71
85
|
|
|
72
86
|
**If you're new to Playwright, you should follow their guide first.**
|
|
73
87
|
</Info>
|
|
74
88
|
|
|
75
|
-
In
|
|
89
|
+
In a new folder or an existing directory, run:
|
|
76
90
|
|
|
77
91
|
<Tabs>
|
|
78
92
|
<Tab title="npm">
|
|
@@ -105,30 +119,6 @@ To start testing your Tauri app with TestDriver, you need the following:
|
|
|
105
119
|
```
|
|
106
120
|
|
|
107
121
|
</Accordion>
|
|
108
|
-
|
|
109
|
-
<Accordion title="Install the TestDriver Playwright SDK">
|
|
110
|
-
`@testdriver.ai/playwright` is an AI-powered extension of `@playwright/test`.
|
|
111
|
-
|
|
112
|
-
<Tabs>
|
|
113
|
-
<Tab title="npm">
|
|
114
|
-
```bash
|
|
115
|
-
npm install @testdriver.ai/playwright
|
|
116
|
-
```
|
|
117
|
-
</Tab>
|
|
118
|
-
<Tab title="yarn">
|
|
119
|
-
```bash
|
|
120
|
-
yarn add @testdriver.ai/playwright
|
|
121
|
-
```
|
|
122
|
-
</Tab>
|
|
123
|
-
<Tab title="pnpm">
|
|
124
|
-
```bash
|
|
125
|
-
pnpm add @testdriver.ai/playwright
|
|
126
|
-
```
|
|
127
|
-
</Tab>
|
|
128
|
-
</Tabs>
|
|
129
|
-
|
|
130
|
-
</Accordion>
|
|
131
|
-
|
|
132
122
|
</AccordionGroup>
|
|
133
123
|
|
|
134
124
|
## Testing the Tauri Web App
|