Skip to content

Commit fb06517

Browse files
authoredApr 19, 2024
Merge pull request #37 from LambdaTest/stage
Release 1.0.7 (cypress-driver)
2 parents 0d97f12 + 184e5b7 commit fb06517

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed
 

‎packages/cypress/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
{
22
"name": "@lambdatest/cypress-driver",
3-
"version": "1.0.6",
3+
"version": "1.0.7",
44
"description": "Cypress driver for all Lambdatest functionalities",
55
"main": "index.js",
6+
"types": "types/index.d.ts",
67
"repository": {
78
"type": "git",
89
"url": "git+https://github.com/LambdaTest/lambdatest-js-sdk.git",

‎packages/cypress/types/index.d.ts

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
/// <reference types="cypress" />
2+
3+
declare global {
4+
namespace Cypress {
5+
interface Chainable<Subject = any> {
6+
/**
7+
* Captures a SmartUI snapshot.
8+
* @param name The name of the snapshot.
9+
* @param options Additional options for snapshot capture.
10+
*/
11+
smartuiSnapshot(name?: string, options?: object): Chainable<Subject>;
12+
}
13+
}
14+
}

0 commit comments

Comments
 (0)
Failed to load comments.