@chrryai/waffles 1.1.79 → 1.1.82
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 +5 -9
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -17,7 +17,7 @@ Waffles provides a collection of battle-tested Playwright utilities that make E2
|
|
|
17
17
|
## 📦 Installation
|
|
18
18
|
|
|
19
19
|
```bash
|
|
20
|
-
npm install @
|
|
20
|
+
npm install @chrryai/waffles @playwright/test
|
|
21
21
|
```
|
|
22
22
|
|
|
23
23
|
## 🚀 Quick Start
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
simulateInputPaste,
|
|
30
30
|
waitForElement,
|
|
31
31
|
generateTestEmail,
|
|
32
|
-
} from "@
|
|
32
|
+
} from "@chrryai/waffles"
|
|
33
33
|
|
|
34
34
|
test("chat interaction", async ({ page }) => {
|
|
35
35
|
await page.goto("https://yourapp.com")
|
|
@@ -177,7 +177,7 @@ await takeScreenshot(page, "error-state", true)
|
|
|
177
177
|
|
|
178
178
|
```typescript
|
|
179
179
|
import { test } from "@playwright/test"
|
|
180
|
-
import { simulateInputPaste, waitForElement, wait } from "@
|
|
180
|
+
import { simulateInputPaste, waitForElement, wait } from "@chrryai/waffles"
|
|
181
181
|
|
|
182
182
|
test("complete chat interaction", async ({ page }) => {
|
|
183
183
|
await page.goto("https://app.com/chat")
|
|
@@ -199,7 +199,7 @@ test("complete chat interaction", async ({ page }) => {
|
|
|
199
199
|
|
|
200
200
|
```typescript
|
|
201
201
|
import { test } from "@playwright/test"
|
|
202
|
-
import { generateTestEmail, generateTestPassword, wait } from "@
|
|
202
|
+
import { generateTestEmail, generateTestPassword, wait } from "@chrryai/waffles"
|
|
203
203
|
|
|
204
204
|
test("user registration", async ({ page }) => {
|
|
205
205
|
const email = generateTestEmail("newuser")
|
|
@@ -219,14 +219,10 @@ test("user registration", async ({ page }) => {
|
|
|
219
219
|
|
|
220
220
|
We welcome contributions! Waffles is extracted from Vex's production test suite, and we're always improving it.
|
|
221
221
|
|
|
222
|
-
## 📄 License
|
|
223
|
-
|
|
224
|
-
MIT © [AskVex](https://askvex.com)
|
|
225
|
-
|
|
226
222
|
## 🔗 Links
|
|
227
223
|
|
|
228
224
|
- [GitHub](https://github.com/askvex/waffles)
|
|
229
|
-
- [npm](https://npmjs.com/package/@
|
|
225
|
+
- [npm](https://npmjs.com/package/@chrryai/waffles)
|
|
230
226
|
- [Issues](https://github.com/askvex/waffles/issues)
|
|
231
227
|
- [Vex - Powered by Waffles](https://askvex.com)
|
|
232
228
|
|