@nocobase/test 1.2.14-alpha → 1.3.0-alpha.20240710141659
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/es/e2e/e2eUtils.d.ts +6 -0
- package/es/e2e/index.d.ts +1 -0
- package/es/e2e/index.mjs +1512 -426
- package/es/e2e/templates/form-view/commonView.d.ts +544 -0
- package/es/e2e/templates/form-view/index.d.ts +9 -0
- package/es/e2e/templates/index.d.ts +9 -0
- package/es/e2e/templatesOfPage.d.ts +6 -0
- package/lib/e2e/e2eUtils.d.ts +6 -0
- package/lib/e2e/e2eUtils.js +6 -0
- package/lib/e2e/index.d.ts +1 -0
- package/lib/e2e/index.js +3 -1
- package/lib/e2e/templates/form-view/commonView.d.ts +544 -0
- package/lib/e2e/templates/form-view/commonView.js +572 -0
- package/lib/e2e/templates/form-view/index.d.ts +9 -0
- package/lib/e2e/templates/form-view/index.js +30 -0
- package/lib/e2e/templates/index.d.ts +9 -0
- package/lib/e2e/templates/index.js +30 -0
- package/lib/e2e/templatesOfPage.d.ts +6 -0
- package/lib/e2e/templatesOfPage.js +544 -0
- package/lib/scripts/test-db-creator.js +6 -3
- package/package.json +3 -3
package/es/e2e/e2eUtils.d.ts
CHANGED
|
@@ -280,6 +280,12 @@ export declare class NocoPage {
|
|
|
280
280
|
goto(): Promise<void>;
|
|
281
281
|
getUrl(): Promise<string>;
|
|
282
282
|
getUid(): Promise<string>;
|
|
283
|
+
/**
|
|
284
|
+
* If you are using mockRecords, then you need to use this method.
|
|
285
|
+
* Wait until the mockRecords create the records successfully before navigating to the page.
|
|
286
|
+
* @param this
|
|
287
|
+
* @returns
|
|
288
|
+
*/
|
|
283
289
|
waitForInit(this: NocoPage): Promise<NocoPage>;
|
|
284
290
|
destroy(): Promise<void>;
|
|
285
291
|
}
|
package/es/e2e/index.d.ts
CHANGED