We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8df6867 + af450ef commit 220f6d7Copy full SHA for 220f6d7
packages/cypress/package.json
@@ -3,6 +3,7 @@
3
"version": "1.0.6",
4
"description": "Cypress driver for all Lambdatest functionalities",
5
"main": "index.js",
6
+ "types": "types/index.d.ts",
7
"repository": {
8
"type": "git",
9
"url": "git+https://github.com/LambdaTest/lambdatest-js-sdk.git",
packages/cypress/types/index.d.ts
@@ -0,0 +1,14 @@
1
+/// <reference types="cypress" />
2
+
+declare global {
+ namespace Cypress {
+ interface Chainable<Subject = any> {
+ /**
+ * Captures a SmartUI snapshot.
+ * @param name The name of the snapshot.
+ * @param options Additional options for snapshot capture.
10
+ */
11
+ smartuiSnapshot(name?: string, options?: object): Chainable<Subject>;
12
+ }
13
14
+}
0 commit comments