playwright-ag-grid 1.0.0 → 1.0.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/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # playwright-ag-grid
2
2
 
3
+ ## 1.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Update all published packages to declare the Apache-2.0 license and include the
8
+ repository license file for downstream consumers.
9
+ - Updated dependencies
10
+ - @kpmck/ag-grid-core@1.0.1
11
+
3
12
  ## 1.0.0
4
13
 
5
14
  ### Major Changes
package/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # playwright-ag-grid
2
2
 
3
+ ![Playwright](./docs/images/playwright-logo.png)
4
+
3
5
  Playwright helpers for interacting with and validating AG Grid.
4
6
 
5
7
  ## Table of Contents
@@ -39,6 +41,12 @@ import { createAgGrid, filterOperator, sort } from "playwright-ag-grid";
39
41
 
40
42
  ## Usage
41
43
 
44
+ Consider the AG Grid example below:
45
+ ![AG Grid](../cypress-ag-grid/ag-grid-example.png)
46
+
47
+ With the following DOM structure:
48
+ ![AG Grid Dom](../cypress-ag-grid/ag-grid-example-dom.png)
49
+
42
50
  ### Create the Grid Helper
43
51
 
44
52
  Create a helper instance from the top-level AG Grid locator, including headers and controls.
@@ -182,6 +190,8 @@ Option notes:
182
190
 
183
191
  Use `filterTextMenu(options)` to filter via the column menu:
184
192
 
193
+ ![AG Grid Dom - Filter by Text Menu](../cypress-ag-grid/ag-grid-example-filter-text-menu.png)
194
+
185
195
  ```javascript
186
196
  const grid = createAgGrid(page.locator("#myGrid"));
187
197
 
@@ -206,6 +216,8 @@ await grid.filterTextMenu({
206
216
 
207
217
  Use `filterTextFloating(options)` to filter via a column's floating filter:
208
218
 
219
+ ![AG Grid Dom - Filter by Text Floating](../cypress-ag-grid/ag-grid-example-filter-text-floating.png)
220
+
209
221
  ```javascript
210
222
  const grid = createAgGrid(page.locator("#myGrid"));
211
223
 
@@ -240,6 +252,8 @@ await grid.filterTextFloating({
240
252
  });
241
253
  ```
242
254
 
255
+ ![AG Grid Dom - Filter by Text Floating Multi Condition](../cypress-ag-grid/ag-grid-example-filter-text-floating-multi-condition.png)
256
+
243
257
  For `Between`, pass two entries for the same column:
244
258
 
245
259
  ```javascript
@@ -264,6 +278,8 @@ await grid.filterTextFloating({
264
278
 
265
279
  Use `filterCheckboxMenu(options)` to filter by checkbox values from the column menu:
266
280
 
281
+ ![AG Grid Dom - Filter by Checkbox Menu](../cypress-ag-grid/ag-grid-example-filter-checkbox-menu.png)
282
+
267
283
  ```javascript
268
284
  const grid = createAgGrid(page.locator("#myGrid"));
269
285
 
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "playwright-ag-grid",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Playwright helpers for interacting with AG Grid",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -31,9 +31,9 @@
31
31
  "e2e"
32
32
  ],
33
33
  "author": "Kerry McKeever <kerry@kerrymckeever.com>",
34
- "license": "MIT",
34
+ "license": "Apache-2.0",
35
35
  "dependencies": {
36
- "@kpmck/ag-grid-core": "1.0.0"
36
+ "@kpmck/ag-grid-core": "1.0.1"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@playwright/test": "^1.52.0"