vasu-playwright-utils 0.1.0
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/LICENSE +21 -0
- package/README.md +40 -0
- package/dist/vasu-playwright-lib/constants/index.d.ts +3 -0
- package/dist/vasu-playwright-lib/constants/index.d.ts.map +1 -0
- package/dist/vasu-playwright-lib/constants/index.js +6 -0
- package/dist/vasu-playwright-lib/constants/index.js.map +1 -0
- package/dist/vasu-playwright-lib/constants/loadstate.d.ts +17 -0
- package/dist/vasu-playwright-lib/constants/loadstate.d.ts.map +1 -0
- package/dist/vasu-playwright-lib/constants/loadstate.js +19 -0
- package/dist/vasu-playwright-lib/constants/loadstate.js.map +1 -0
- package/dist/vasu-playwright-lib/constants/timeouts.d.ts +44 -0
- package/dist/vasu-playwright-lib/constants/timeouts.d.ts.map +1 -0
- package/dist/vasu-playwright-lib/constants/timeouts.js +47 -0
- package/dist/vasu-playwright-lib/constants/timeouts.js.map +1 -0
- package/dist/vasu-playwright-lib/index.d.ts +4 -0
- package/dist/vasu-playwright-lib/index.d.ts.map +1 -0
- package/dist/vasu-playwright-lib/index.js +7 -0
- package/dist/vasu-playwright-lib/index.js.map +1 -0
- package/dist/vasu-playwright-lib/types/index.d.ts +2 -0
- package/dist/vasu-playwright-lib/types/index.d.ts.map +1 -0
- package/dist/vasu-playwright-lib/types/index.js +5 -0
- package/dist/vasu-playwright-lib/types/index.js.map +1 -0
- package/dist/vasu-playwright-lib/types/optional-parameter-types.d.ts +59 -0
- package/dist/vasu-playwright-lib/types/optional-parameter-types.d.ts.map +1 -0
- package/dist/vasu-playwright-lib/types/optional-parameter-types.js +7 -0
- package/dist/vasu-playwright-lib/types/optional-parameter-types.js.map +1 -0
- package/dist/vasu-playwright-lib/utils/action-utils.d.ts +199 -0
- package/dist/vasu-playwright-lib/utils/action-utils.d.ts.map +1 -0
- package/dist/vasu-playwright-lib/utils/action-utils.js +406 -0
- package/dist/vasu-playwright-lib/utils/action-utils.js.map +1 -0
- package/dist/vasu-playwright-lib/utils/element-utils.d.ts +100 -0
- package/dist/vasu-playwright-lib/utils/element-utils.d.ts.map +1 -0
- package/dist/vasu-playwright-lib/utils/element-utils.js +232 -0
- package/dist/vasu-playwright-lib/utils/element-utils.js.map +1 -0
- package/dist/vasu-playwright-lib/utils/index.d.ts +5 -0
- package/dist/vasu-playwright-lib/utils/index.d.ts.map +1 -0
- package/dist/vasu-playwright-lib/utils/index.js +13 -0
- package/dist/vasu-playwright-lib/utils/index.js.map +1 -0
- package/dist/vasu-playwright-lib/utils/locator-utils.d.ts +77 -0
- package/dist/vasu-playwright-lib/utils/locator-utils.d.ts.map +1 -0
- package/dist/vasu-playwright-lib/utils/locator-utils.js +113 -0
- package/dist/vasu-playwright-lib/utils/locator-utils.js.map +1 -0
- package/dist/vasu-playwright-lib/utils/page-utils.d.ts +36 -0
- package/dist/vasu-playwright-lib/utils/page-utils.d.ts.map +1 -0
- package/dist/vasu-playwright-lib/utils/page-utils.js +84 -0
- package/dist/vasu-playwright-lib/utils/page-utils.js.map +1 -0
- package/package.json +76 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) [2023] [Vasudeva Chowdary Annam]
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# Playwright TypeScript Utility Functions Library
|
|
2
|
+
|
|
3
|
+
[](https://github.com/vasu31dev/playwright-ts-lib/stargazers)
|
|
4
|
+
 
|
|
5
|
+
|
|
6
|
+
## About
|
|
7
|
+
|
|
8
|
+
`playwright-ts-lib` is a TypeScript library that provides reusable helper methods for the Playwright Library. It aims to simplify common tasks and enhance the efficiency of automated testing workflows.
|
|
9
|
+
|
|
10
|
+
## Table of Contents
|
|
11
|
+
|
|
12
|
+
- [Installation](#installation)
|
|
13
|
+
- [Usage](#usage)
|
|
14
|
+
- [License](#license)
|
|
15
|
+
|
|
16
|
+
## Installation
|
|
17
|
+
|
|
18
|
+
To install the library, run the following command:
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
npm install vasu-playwright-utils
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## Usage
|
|
25
|
+
|
|
26
|
+
Here's a simple example of how you can use the library:
|
|
27
|
+
|
|
28
|
+
```typescript
|
|
29
|
+
import { LOADSTATE } from 'vasu-playwright-utils';
|
|
30
|
+
|
|
31
|
+
// Your code here
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
## License
|
|
35
|
+
|
|
36
|
+
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.
|
|
37
|
+
|
|
38
|
+
## Support and Feedback
|
|
39
|
+
|
|
40
|
+
If you encounter any issues or have feedback, please [create an issue](https://github.com/vasu31dev/playwright-ts-lib/issues) on GitHub.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/vasu-playwright-lib/constants/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/vasu-playwright-lib/constants/index.ts"],"names":[],"mappings":";;;AAAA,sDAA4B;AAC5B,qDAA2B"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* loadstate.ts
|
|
3
|
+
* This module provides the LOADSTATE constant that can be used to override the initial page load state and navigation load state auto waits.
|
|
4
|
+
* The LOADSTATE is used as default value in the gotoURL, waitForPageLoadState, and clickAndNavigate helper functions.
|
|
5
|
+
* Instead of hardcoding the LOADSTATE, initialize it here with a value that can be used for the entire project, and override in functions as necessary based on the need.
|
|
6
|
+
* @module loadstate
|
|
7
|
+
*/
|
|
8
|
+
import { WaitForLoadStateOptions } from '../types/optional-parameter-types';
|
|
9
|
+
/**
|
|
10
|
+
* Represents the load state option for waiting for specific events during page navigation.
|
|
11
|
+
* This constant is utilized in the gotoURL, waitForPageLoadState, and clickAndNavigate helper functions.
|
|
12
|
+
* @type {WaitForLoadStateOptions}
|
|
13
|
+
* @const
|
|
14
|
+
* @default 'domcontentloaded'
|
|
15
|
+
*/
|
|
16
|
+
export declare const LOADSTATE: WaitForLoadStateOptions;
|
|
17
|
+
//# sourceMappingURL=loadstate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"loadstate.d.ts","sourceRoot":"","sources":["../../../src/vasu-playwright-lib/constants/loadstate.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAE5E;;;;;;GAMG;AACH,eAAO,MAAM,SAAS,EAAE,uBAA4C,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* loadstate.ts
|
|
4
|
+
* This module provides the LOADSTATE constant that can be used to override the initial page load state and navigation load state auto waits.
|
|
5
|
+
* The LOADSTATE is used as default value in the gotoURL, waitForPageLoadState, and clickAndNavigate helper functions.
|
|
6
|
+
* Instead of hardcoding the LOADSTATE, initialize it here with a value that can be used for the entire project, and override in functions as necessary based on the need.
|
|
7
|
+
* @module loadstate
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.LOADSTATE = void 0;
|
|
11
|
+
/**
|
|
12
|
+
* Represents the load state option for waiting for specific events during page navigation.
|
|
13
|
+
* This constant is utilized in the gotoURL, waitForPageLoadState, and clickAndNavigate helper functions.
|
|
14
|
+
* @type {WaitForLoadStateOptions}
|
|
15
|
+
* @const
|
|
16
|
+
* @default 'domcontentloaded'
|
|
17
|
+
*/
|
|
18
|
+
exports.LOADSTATE = 'domcontentloaded';
|
|
19
|
+
//# sourceMappingURL=loadstate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"loadstate.js","sourceRoot":"","sources":["../../../src/vasu-playwright-lib/constants/loadstate.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAIH;;;;;;GAMG;AACU,QAAA,SAAS,GAA4B,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* timeouts.ts: This module provides Timeout constants that can be used to override various actions, conditional statements and assertions.
|
|
3
|
+
* Instead of hard coding the timeout when overriding any utility functions, use these Timeout constants.
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* Timeout constant for instant actions/assertions, set to 1000 milliseconds (1 second).
|
|
7
|
+
*/
|
|
8
|
+
export declare const INSTANT_TIMEOUT = 1000;
|
|
9
|
+
/**
|
|
10
|
+
* Timeout constant for small actions/assertions, set to 5000 milliseconds (5 seconds).
|
|
11
|
+
*/
|
|
12
|
+
export declare const SMALL_TIMEOUT: number;
|
|
13
|
+
/**
|
|
14
|
+
* Standard timeout constant, set to 15000 milliseconds (15 seconds).
|
|
15
|
+
*/
|
|
16
|
+
export declare const STANDARD_TIMEOUT: number;
|
|
17
|
+
/**
|
|
18
|
+
* Timeout constant for bigger actions/assertions, set to 30000 milliseconds (30 seconds).
|
|
19
|
+
*/
|
|
20
|
+
export declare const BIG_TIMEOUT: number;
|
|
21
|
+
/**
|
|
22
|
+
* Maximum timeout constant, set to 60000 milliseconds (1 minute).
|
|
23
|
+
*/
|
|
24
|
+
export declare const MAX_TIMEOUT: number;
|
|
25
|
+
/**
|
|
26
|
+
* Timeout constants used in the playwright.config.ts file.
|
|
27
|
+
*/
|
|
28
|
+
/**
|
|
29
|
+
* Timeout constant for Playwright's expect function, set to 5000 milliseconds (5 seconds).
|
|
30
|
+
*/
|
|
31
|
+
export declare const EXPECT_TIMEOUT: number;
|
|
32
|
+
/**
|
|
33
|
+
* Timeout constant for Playwright's action functions, set to 5000 milliseconds (5 seconds).
|
|
34
|
+
*/
|
|
35
|
+
export declare const ACTION_TIMEOUT: number;
|
|
36
|
+
/**
|
|
37
|
+
* Timeout constant for Playwright's navigation functions, set to 30000 milliseconds (30 seconds).
|
|
38
|
+
*/
|
|
39
|
+
export declare const NAVIGATION_TIMEOUT: number;
|
|
40
|
+
/**
|
|
41
|
+
* Timeout constant for Playwright's test functions, set to 120000 milliseconds (2 minutes).
|
|
42
|
+
*/
|
|
43
|
+
export declare const TEST_TIMEOUT: number;
|
|
44
|
+
//# sourceMappingURL=timeouts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"timeouts.d.ts","sourceRoot":"","sources":["../../../src/vasu-playwright-lib/constants/timeouts.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AACH,eAAO,MAAM,eAAe,OAAO,CAAC;AAEpC;;GAEG;AACH,eAAO,MAAM,aAAa,QAAW,CAAC;AAEtC;;GAEG;AACH,eAAO,MAAM,gBAAgB,QAAY,CAAC;AAE1C;;GAEG;AACH,eAAO,MAAM,WAAW,QAAY,CAAC;AAErC;;GAEG;AACH,eAAO,MAAM,WAAW,QAAY,CAAC;AAErC;;GAEG;AAEH;;GAEG;AACH,eAAO,MAAM,cAAc,QAAW,CAAC;AAEvC;;GAEG;AACH,eAAO,MAAM,cAAc,QAAW,CAAC;AAEvC;;GAEG;AACH,eAAO,MAAM,kBAAkB,QAAY,CAAC;AAE5C;;GAEG;AACH,eAAO,MAAM,YAAY,QAAgB,CAAC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* timeouts.ts: This module provides Timeout constants that can be used to override various actions, conditional statements and assertions.
|
|
4
|
+
* Instead of hard coding the timeout when overriding any utility functions, use these Timeout constants.
|
|
5
|
+
*/
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
exports.TEST_TIMEOUT = exports.NAVIGATION_TIMEOUT = exports.ACTION_TIMEOUT = exports.EXPECT_TIMEOUT = exports.MAX_TIMEOUT = exports.BIG_TIMEOUT = exports.STANDARD_TIMEOUT = exports.SMALL_TIMEOUT = exports.INSTANT_TIMEOUT = void 0;
|
|
8
|
+
/**
|
|
9
|
+
* Timeout constant for instant actions/assertions, set to 1000 milliseconds (1 second).
|
|
10
|
+
*/
|
|
11
|
+
exports.INSTANT_TIMEOUT = 1000;
|
|
12
|
+
/**
|
|
13
|
+
* Timeout constant for small actions/assertions, set to 5000 milliseconds (5 seconds).
|
|
14
|
+
*/
|
|
15
|
+
exports.SMALL_TIMEOUT = 5 * 1000;
|
|
16
|
+
/**
|
|
17
|
+
* Standard timeout constant, set to 15000 milliseconds (15 seconds).
|
|
18
|
+
*/
|
|
19
|
+
exports.STANDARD_TIMEOUT = 15 * 1000;
|
|
20
|
+
/**
|
|
21
|
+
* Timeout constant for bigger actions/assertions, set to 30000 milliseconds (30 seconds).
|
|
22
|
+
*/
|
|
23
|
+
exports.BIG_TIMEOUT = 30 * 1000;
|
|
24
|
+
/**
|
|
25
|
+
* Maximum timeout constant, set to 60000 milliseconds (1 minute).
|
|
26
|
+
*/
|
|
27
|
+
exports.MAX_TIMEOUT = 60 * 1000;
|
|
28
|
+
/**
|
|
29
|
+
* Timeout constants used in the playwright.config.ts file.
|
|
30
|
+
*/
|
|
31
|
+
/**
|
|
32
|
+
* Timeout constant for Playwright's expect function, set to 5000 milliseconds (5 seconds).
|
|
33
|
+
*/
|
|
34
|
+
exports.EXPECT_TIMEOUT = 5 * 1000;
|
|
35
|
+
/**
|
|
36
|
+
* Timeout constant for Playwright's action functions, set to 5000 milliseconds (5 seconds).
|
|
37
|
+
*/
|
|
38
|
+
exports.ACTION_TIMEOUT = 5 * 1000;
|
|
39
|
+
/**
|
|
40
|
+
* Timeout constant for Playwright's navigation functions, set to 30000 milliseconds (30 seconds).
|
|
41
|
+
*/
|
|
42
|
+
exports.NAVIGATION_TIMEOUT = 30 * 1000;
|
|
43
|
+
/**
|
|
44
|
+
* Timeout constant for Playwright's test functions, set to 120000 milliseconds (2 minutes).
|
|
45
|
+
*/
|
|
46
|
+
exports.TEST_TIMEOUT = 2 * 60 * 1000;
|
|
47
|
+
//# sourceMappingURL=timeouts.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"timeouts.js","sourceRoot":"","sources":["../../../src/vasu-playwright-lib/constants/timeouts.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH;;GAEG;AACU,QAAA,eAAe,GAAG,IAAI,CAAC;AAEpC;;GAEG;AACU,QAAA,aAAa,GAAG,CAAC,GAAG,IAAI,CAAC;AAEtC;;GAEG;AACU,QAAA,gBAAgB,GAAG,EAAE,GAAG,IAAI,CAAC;AAE1C;;GAEG;AACU,QAAA,WAAW,GAAG,EAAE,GAAG,IAAI,CAAC;AAErC;;GAEG;AACU,QAAA,WAAW,GAAG,EAAE,GAAG,IAAI,CAAC;AAErC;;GAEG;AAEH;;GAEG;AACU,QAAA,cAAc,GAAG,CAAC,GAAG,IAAI,CAAC;AAEvC;;GAEG;AACU,QAAA,cAAc,GAAG,CAAC,GAAG,IAAI,CAAC;AAEvC;;GAEG;AACU,QAAA,kBAAkB,GAAG,EAAE,GAAG,IAAI,CAAC;AAE5C;;GAEG;AACU,QAAA,YAAY,GAAG,CAAC,GAAG,EAAE,GAAG,IAAI,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/vasu-playwright-lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./utils"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./constants"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./types"), exports);
|
|
7
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/vasu-playwright-lib/index.ts"],"names":[],"mappings":";;;AAAA,kDAAwB;AACxB,sDAA4B;AAC5B,kDAAwB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/vasu-playwright-lib/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/vasu-playwright-lib/types/index.ts"],"names":[],"mappings":";;;AAAA,qEAA2C"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Types.ts: This module provides type definitions that are used as optional parameters for utility functions in other modules.
|
|
3
|
+
* These types are based on the parameters of Playwright's built-in methods and are used to provide type safety and code completion.
|
|
4
|
+
*/
|
|
5
|
+
import { Locator, Page } from 'playwright';
|
|
6
|
+
/**
|
|
7
|
+
* 1. Navigation Options: These types are used for navigation actions such as going to a URL, reloading a page, or waiting for a certain load state.
|
|
8
|
+
* They are based on the parameters of Playwright's built-in navigation methods.
|
|
9
|
+
*/
|
|
10
|
+
export type GotoOptions = Parameters<Page['goto']>[1];
|
|
11
|
+
export type NavigationOptions = Parameters<Page['reload']>[0];
|
|
12
|
+
export type WaitForLoadStateOptions = Parameters<Page['waitForLoadState']>[0];
|
|
13
|
+
/**
|
|
14
|
+
* 2. Action Options: These types are used for actions such as clicking, filling input fields, typing, etc.
|
|
15
|
+
* They are based on the parameters of Playwright's built-in action methods.
|
|
16
|
+
*/
|
|
17
|
+
export type ClickOptions = Parameters<Locator['click']>[0] & {
|
|
18
|
+
loadState?: WaitForLoadStateOptions;
|
|
19
|
+
};
|
|
20
|
+
export type FillOptions = Parameters<Locator['fill']>[1];
|
|
21
|
+
export type TypeOptions = Parameters<Locator['type']>[1];
|
|
22
|
+
export type ClearOptions = Parameters<Locator['clear']>[0];
|
|
23
|
+
export type SelectValues = Parameters<Locator['selectOption']>[0];
|
|
24
|
+
export type SelectOptions = Parameters<Locator['selectOption']>[1];
|
|
25
|
+
export type CheckOptions = Parameters<Locator['check']>[0];
|
|
26
|
+
export type HoverOptions = Parameters<Locator['hover']>[0];
|
|
27
|
+
export type UploadValues = Parameters<Locator['setInputFiles']>[0];
|
|
28
|
+
export type UploadOptions = Parameters<Locator['setInputFiles']>[1];
|
|
29
|
+
export type DragOptions = Parameters<Locator['dragTo']>[1];
|
|
30
|
+
export type DoubleClickOptions = Parameters<Locator['dblclick']>[0];
|
|
31
|
+
/**
|
|
32
|
+
* 3. Expect Options: These types are used for assertions, Timeouts, etc in tests.
|
|
33
|
+
* They are based on the parameters of Playwright's built-in expect methods.
|
|
34
|
+
*/
|
|
35
|
+
export type TimeoutOption = {
|
|
36
|
+
timeout?: number;
|
|
37
|
+
};
|
|
38
|
+
export type SoftOption = {
|
|
39
|
+
soft?: boolean;
|
|
40
|
+
};
|
|
41
|
+
export type MessageOrOptions = string | {
|
|
42
|
+
message?: string;
|
|
43
|
+
};
|
|
44
|
+
export type ExpectOptions = TimeoutOption & SoftOption & MessageOrOptions;
|
|
45
|
+
export type ExpectTextOptions = {
|
|
46
|
+
ignoreCase?: boolean;
|
|
47
|
+
useInnerText?: boolean;
|
|
48
|
+
};
|
|
49
|
+
/**
|
|
50
|
+
* 4. Locator Options: These types are used for locating elements on a page.
|
|
51
|
+
* They are based on the parameters of Playwright's built-in locator methods.
|
|
52
|
+
*/
|
|
53
|
+
export type LocatorOptions = Parameters<Page['locator']>[1];
|
|
54
|
+
export type GetByTextOptions = Parameters<Locator['getByText']>[1];
|
|
55
|
+
export type GetByRoleTypes = Parameters<Locator['getByRole']>[0];
|
|
56
|
+
export type GetByRoleOptions = Parameters<Locator['getByRole']>[1];
|
|
57
|
+
export type GetByLabelOptions = Parameters<Locator['getByLabel']>[1];
|
|
58
|
+
export type GetByPlaceholderOptions = Parameters<Locator['getByPlaceholder']>[1];
|
|
59
|
+
//# sourceMappingURL=optional-parameter-types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"optional-parameter-types.d.ts","sourceRoot":"","sources":["../../../src/vasu-playwright-lib/types/optional-parameter-types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAE3C;;;GAGG;AACH,MAAM,MAAM,WAAW,GAAG,UAAU,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AACtD,MAAM,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CAAC,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Types.ts: This module provides type definitions that are used as optional parameters for utility functions in other modules.
|
|
4
|
+
* These types are based on the parameters of Playwright's built-in methods and are used to provide type safety and code completion.
|
|
5
|
+
*/
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
//# sourceMappingURL=optional-parameter-types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"optional-parameter-types.js","sourceRoot":"","sources":["../../../src/vasu-playwright-lib/types/optional-parameter-types.ts"],"names":[],"mappings":";AAAA;;;GAGG"}
|
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* action-utils.ts: This module provides a set of utility functions for performing various actions in Playwright tests.
|
|
3
|
+
* These actions include navigation, interaction with page elements, handling of dialogs, and more.
|
|
4
|
+
*/
|
|
5
|
+
import { Locator, Response } from 'playwright';
|
|
6
|
+
import { CheckOptions, ClearOptions, ClickOptions, DoubleClickOptions, DragOptions, FillOptions, GotoOptions, HoverOptions, NavigationOptions, SelectOptions, TimeoutOption, TypeOptions, UploadOptions, UploadValues } from '../types/optional-parameter-types';
|
|
7
|
+
/**
|
|
8
|
+
* 1. Navigations: This section contains functions for navigating within a web page or between web pages.
|
|
9
|
+
* These functions include going to a URL, waiting for a page to load, reloading a page, and going back to a previous page.
|
|
10
|
+
*/
|
|
11
|
+
/**
|
|
12
|
+
* Navigates to the specified URL.
|
|
13
|
+
* @param {string} path - The URL to navigate to.
|
|
14
|
+
* @param {GotoOptions} options - The navigation options.
|
|
15
|
+
* @returns {Promise<null | Response>} - The navigation response or null if no response.
|
|
16
|
+
*/
|
|
17
|
+
export declare function gotoURL(path: string, options?: GotoOptions): Promise<null | Response>;
|
|
18
|
+
/**
|
|
19
|
+
* Waits for a specific page load state.
|
|
20
|
+
* @param {NavigationOptions} options - The navigation options.
|
|
21
|
+
*/
|
|
22
|
+
export declare function waitForPageLoadState(options?: NavigationOptions): Promise<void>;
|
|
23
|
+
/**
|
|
24
|
+
* Reloads the current page.
|
|
25
|
+
* @param {NavigationOptions} options - The navigation options.
|
|
26
|
+
*/
|
|
27
|
+
export declare function reloadPage(options?: NavigationOptions): Promise<void>;
|
|
28
|
+
/**
|
|
29
|
+
* Navigates back to the previous page.
|
|
30
|
+
* @param {NavigationOptions} options - The navigation options.
|
|
31
|
+
*/
|
|
32
|
+
export declare function goBack(options?: NavigationOptions): Promise<void>;
|
|
33
|
+
/**
|
|
34
|
+
* Waits for a specified amount of time.
|
|
35
|
+
* @param {number} ms - The amount of time to wait in milliseconds.
|
|
36
|
+
*/
|
|
37
|
+
export declare function wait(ms: number): Promise<void>;
|
|
38
|
+
/**
|
|
39
|
+
* 2. Actions: This section contains functions for interacting with elements on a web page.
|
|
40
|
+
* These functions include clicking, filling input fields, typing, clearing input fields, checking and unchecking checkboxes, selecting options in dropdowns, and more.
|
|
41
|
+
*/
|
|
42
|
+
/**
|
|
43
|
+
* Clicks on a specified element.
|
|
44
|
+
* @param {string | Locator} input - The element to click on.
|
|
45
|
+
* @param {ClickOptions} options - The click options.
|
|
46
|
+
*/
|
|
47
|
+
export declare function click(input: string | Locator, options?: ClickOptions): Promise<void>;
|
|
48
|
+
/**
|
|
49
|
+
* Clicks on a specified element and waits for navigation.
|
|
50
|
+
* @param {string | Locator} input - The element to click on.
|
|
51
|
+
* @param {ClickOptions} options - The click options.
|
|
52
|
+
*/
|
|
53
|
+
export declare function clickAndNavigate(input: string | Locator, options?: ClickOptions): Promise<void>;
|
|
54
|
+
/**
|
|
55
|
+
* Fills a specified element with a value.
|
|
56
|
+
* @param {string | Locator} input - The element to fill.
|
|
57
|
+
* @param {string} value - The value to fill the element with.
|
|
58
|
+
* @param {FillOptions} options - The fill options.
|
|
59
|
+
*/
|
|
60
|
+
export declare function fill(input: string | Locator, value: string, options?: FillOptions): Promise<void>;
|
|
61
|
+
/**
|
|
62
|
+
* Fills a specified element with a value and press Enter.
|
|
63
|
+
* @param {string | Locator} input - The element to fill.
|
|
64
|
+
* @param {string} value - The value to fill the element with.
|
|
65
|
+
* @param {FillOptions} options - The fill options.
|
|
66
|
+
*/
|
|
67
|
+
export declare function fillAndEnter(input: string | Locator, value: string, options?: FillOptions): Promise<void>;
|
|
68
|
+
/**
|
|
69
|
+
* Types a value into a specified element.
|
|
70
|
+
* @param {string | Locator} input - The element to type into.
|
|
71
|
+
* @param {string} value - The value to type.
|
|
72
|
+
* @param {TypeOptions} options - The type options.
|
|
73
|
+
*/
|
|
74
|
+
export declare function type(input: string | Locator, value: string, options?: TypeOptions): Promise<void>;
|
|
75
|
+
/**
|
|
76
|
+
* Clears the value of a specified element.
|
|
77
|
+
* @param {string | Locator} input - The element to clear.
|
|
78
|
+
* @param {ClearOptions} options - The clear options.
|
|
79
|
+
*/
|
|
80
|
+
export declare function clear(input: string | Locator, options?: ClearOptions): Promise<void>;
|
|
81
|
+
/**
|
|
82
|
+
* Checks a specified checkbox or radio button.
|
|
83
|
+
* @param {string | Locator} input - The checkbox or radio button to check.
|
|
84
|
+
* @param {CheckOptions} options - The check options.
|
|
85
|
+
*/
|
|
86
|
+
export declare function check(input: string | Locator, options?: CheckOptions): Promise<void>;
|
|
87
|
+
/**
|
|
88
|
+
* Unchecks a specified checkbox or radio button.
|
|
89
|
+
* @param {string | Locator} input - The checkbox or radio button to uncheck.
|
|
90
|
+
* @param {CheckOptions} options - The uncheck options.
|
|
91
|
+
*/
|
|
92
|
+
export declare function uncheck(input: string | Locator, options?: CheckOptions): Promise<void>;
|
|
93
|
+
/**
|
|
94
|
+
* Selects an option in a dropdown by its value.
|
|
95
|
+
* @param {string | Locator} input - The dropdown to select an option in.
|
|
96
|
+
* @param {string} value - The value of the option to select.
|
|
97
|
+
* @param {SelectOptions} options - The select options.
|
|
98
|
+
*/
|
|
99
|
+
export declare function selectByValue(input: string | Locator, value: string, options?: SelectOptions): Promise<void>;
|
|
100
|
+
/**
|
|
101
|
+
* Selects options in a dropdown by their values (multi select).
|
|
102
|
+
* @param {string | Locator} input - The dropdown to select options in.
|
|
103
|
+
* @param {Array<string>} value - The values of the options to select.
|
|
104
|
+
* @param {SelectOptions} options - The select options.
|
|
105
|
+
*/
|
|
106
|
+
export declare function selectByValues(input: string | Locator, value: Array<string>, options?: SelectOptions): Promise<void>;
|
|
107
|
+
/**
|
|
108
|
+
* Selects an option in a dropdown by its text.
|
|
109
|
+
* @param {string | Locator} input - The dropdown to select an option in.
|
|
110
|
+
* @param {string} text - The text of the option to select.
|
|
111
|
+
* @param {SelectOptions} options - The select options.
|
|
112
|
+
*/
|
|
113
|
+
export declare function selectByText(input: string | Locator, text: string, options?: SelectOptions): Promise<void>;
|
|
114
|
+
/**
|
|
115
|
+
* Selects an option in a dropdown by its index.
|
|
116
|
+
* @param {string | Locator} input - The dropdown to select an option in.
|
|
117
|
+
* @param {number} index - The index of the option to select.
|
|
118
|
+
* @param {SelectOptions} options - The select options.
|
|
119
|
+
*/
|
|
120
|
+
export declare function selectByIndex(input: string | Locator, index: number, options?: SelectOptions): Promise<void>;
|
|
121
|
+
/**
|
|
122
|
+
* 3. Alerts: This section contains functions for handling alert dialogs.
|
|
123
|
+
* These functions include accepting and dismissing alerts, and getting the text of an alert.
|
|
124
|
+
* Note: These functions currently have some repetition and could be optimized by applying the DRY (Don't Repeat Yourself) principle.
|
|
125
|
+
*/
|
|
126
|
+
/**
|
|
127
|
+
* Accepts an alert dialog.
|
|
128
|
+
* @param {string | Locator} input - The element to click to trigger the alert.
|
|
129
|
+
* @param {string} promptText - The text to enter into a prompt dialog.
|
|
130
|
+
* @returns {Promise<string>} - The message of the dialog.
|
|
131
|
+
*/
|
|
132
|
+
export declare function acceptAlert(input: string | Locator, promptText?: string): Promise<string>;
|
|
133
|
+
/**
|
|
134
|
+
* Dismisses an alert dialog.
|
|
135
|
+
* @param {string | Locator} input - The element to click to trigger the alert.
|
|
136
|
+
* @returns {Promise<string>} - The message of the dialog.
|
|
137
|
+
*/
|
|
138
|
+
export declare function dismissAlert(input: string | Locator): Promise<string>;
|
|
139
|
+
/**
|
|
140
|
+
* Gets the text of an alert dialog.
|
|
141
|
+
* @param {string | Locator} input - The element to click to trigger the alert.
|
|
142
|
+
* @returns {Promise<string>} - The message of the dialog.
|
|
143
|
+
*/
|
|
144
|
+
export declare function getAlertText(input: string | Locator): Promise<string>;
|
|
145
|
+
/**
|
|
146
|
+
* Hovers over a specified element.
|
|
147
|
+
* @param {string | Locator} input - The element to hover over.
|
|
148
|
+
* @param {HoverOptions} options - The hover options.
|
|
149
|
+
*/
|
|
150
|
+
export declare function hover(input: string | Locator, options?: HoverOptions): Promise<void>;
|
|
151
|
+
/**
|
|
152
|
+
* Focuses on a specified element.
|
|
153
|
+
* @param {string | Locator} input - The element to focus on.
|
|
154
|
+
* @param {TimeoutOption} options - The timeout options.
|
|
155
|
+
*/
|
|
156
|
+
export declare function focus(input: string | Locator, options?: TimeoutOption): Promise<void>;
|
|
157
|
+
/**
|
|
158
|
+
* Drags and drops a specified element to a destination.
|
|
159
|
+
* @param {string | Locator} input - The element to drag.
|
|
160
|
+
* @param {string | Locator} dest - The destination to drop the element at.
|
|
161
|
+
* @param {DragOptions} options - The drag options.
|
|
162
|
+
*/
|
|
163
|
+
export declare function dragAndDrop(input: string | Locator, dest: string | Locator, options?: DragOptions): Promise<void>;
|
|
164
|
+
/**
|
|
165
|
+
* Double clicks on a specified element.
|
|
166
|
+
* @param {string | Locator} input - The element to double click on.
|
|
167
|
+
* @param {DoubleClickOptions} options - The double click options.
|
|
168
|
+
*/
|
|
169
|
+
export declare function doubleClick(input: string | Locator, options?: DoubleClickOptions): Promise<void>;
|
|
170
|
+
/**
|
|
171
|
+
* Downloads a file from a specified element.
|
|
172
|
+
* @param {string | Locator} input - The element to download the file from.
|
|
173
|
+
* @param {string} path - The path to save the downloaded file to.
|
|
174
|
+
*/
|
|
175
|
+
export declare function downloadFile(input: string | Locator, path: string): Promise<void>;
|
|
176
|
+
/**
|
|
177
|
+
* Uploads files to a specified element.
|
|
178
|
+
* @param {string | Locator} input - The element to upload files to.
|
|
179
|
+
* @param {UploadValues} path - The files to upload.
|
|
180
|
+
* @param {UploadOptions} options - The upload options.
|
|
181
|
+
*/
|
|
182
|
+
export declare function uploadFiles(input: string | Locator, path: UploadValues, options?: UploadOptions): Promise<void>;
|
|
183
|
+
/**
|
|
184
|
+
* Scrolls a specified element into view.
|
|
185
|
+
* @param {string | Locator} input - The element to scroll into view.
|
|
186
|
+
* @param {TimeoutOption} options - The timeout options.
|
|
187
|
+
*/
|
|
188
|
+
export declare function scrollLocatorIntoView(input: string | Locator, options?: TimeoutOption): Promise<void>;
|
|
189
|
+
/**
|
|
190
|
+
* 4. JS: This section contains functions that use JavaScript to interact with elements on a web page.
|
|
191
|
+
* These functions include clicking on an element using JavaScript.
|
|
192
|
+
*/
|
|
193
|
+
/**
|
|
194
|
+
* Clicks on a specified element using JavaScript.
|
|
195
|
+
* @param {string | Locator} input - The element to click on.
|
|
196
|
+
* @param {TimeoutOption} options - The timeout options.
|
|
197
|
+
*/
|
|
198
|
+
export declare function clickByJS(input: string | Locator, options?: TimeoutOption): Promise<void>;
|
|
199
|
+
//# sourceMappingURL=action-utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"action-utils.d.ts","sourceRoot":"","sources":["../../../src/vasu-playwright-lib/utils/action-utils.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAAU,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEvD,OAAO,EACL,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,kBAAkB,EAClB,WAAW,EACX,WAAW,EACX,WAAW,EACX,YAAY,EACZ,iBAAiB,EACjB,aAAa,EACb,aAAa,EACb,WAAW,EACX,aAAa,EACb,YAAY,EAEb,MAAM,mCAAmC,CAAC;AAK3C;;;GAGG;AAEH;;;;;GAKG;AACH,wBAAsB,OAA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