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