@rickcedwhat/playwright-smart-table 6.25.0-next.49ce2de → 6.25.0-next.b84286e
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/dist/engine/cellNavigation.d.ts +24 -0
- package/dist/engine/cellNavigation.js +326 -0
- package/dist/engine/rowSnapshot.d.ts +28 -0
- package/dist/engine/rowSnapshot.js +407 -0
- package/dist/packageVersion.d.ts +1 -1
- package/dist/packageVersion.js +1 -1
- package/dist/smartRow.js +12 -692
- package/dist/strategies/columns.d.ts +1 -1
- package/dist/utils/navigationBarrier.js +0 -1
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ import type { Locator } from '@playwright/test';
|
|
|
2
2
|
import { StrategyContext } from '../types';
|
|
3
3
|
/**
|
|
4
4
|
* Primitive navigation functions that define HOW to move within a table.
|
|
5
|
-
* The orchestration logic (WHEN to move) lives in
|
|
5
|
+
* The orchestration logic (WHEN to move) lives in navigateToCell (src/engine/cellNavigation.ts).
|
|
6
6
|
*/
|
|
7
7
|
export interface NavigationPrimitives {
|
|
8
8
|
goUp?: (context: StrategyContext) => Promise<void>;
|
|
@@ -51,7 +51,6 @@ class NavigationBarrier {
|
|
|
51
51
|
* The fn receives a fresh `targetReached` check; if the previous row's scroll
|
|
52
52
|
* already brought this row into view, fn can no-op immediately.
|
|
53
53
|
*/
|
|
54
|
-
// fallow-ignore-next-line unused-class-member
|
|
55
54
|
async runExclusiveRecovery(fn) {
|
|
56
55
|
if (!this.recoveryMutex)
|
|
57
56
|
this.recoveryMutex = new mutex_1.Mutex();
|
package/package.json
CHANGED