diff --git a/node_modules/.package-lock.json b/node_modules/.package-lock.json index b97da02..327fc84 100644 --- a/node_modules/.package-lock.json +++ b/node_modules/.package-lock.json @@ -691,9 +691,9 @@ } }, "node_modules/cypress": { - "version": "15.18.0", - "resolved": "https://registry.npmjs.org/cypress/-/cypress-15.18.0.tgz", - "integrity": "sha512-aLfOYSLlVt1b6QSoVUjbCY27taZlYAT8ST47xQbwd9pvQrY/g5gXi12yItZTB+kxkkj+ZcvUYmRLUC95SlCJsw==", + "version": "15.18.1", + "resolved": "https://registry.npmjs.org/cypress/-/cypress-15.18.1.tgz", + "integrity": "sha512-JtkTVtUE2lvLYgZCaug+Uai0H9IqsJirlBO49c87QwG0bJUGvAUVBz1EJve0b0oaYP244Ew9M0BkrHpcqkYxmw==", "hasInstallScript": true, "license": "MIT", "dependencies": { diff --git a/node_modules/cypress/dist/bin/cypress b/node_modules/cypress/dist/bin/cypress index b4e8a96..fd5ae3e 100755 --- a/node_modules/cypress/dist/bin/cypress +++ b/node_modules/cypress/dist/bin/cypress @@ -1,7 +1,7 @@ #!/usr/bin/env node 'use strict'; -var cli = require('../cli-B5v_kZB5.js'); +var cli = require('../cli-MLF6G_xs.js'); require('../xvfb-CqCqXRC-.js'); require('os'); require('bluebird'); @@ -32,7 +32,7 @@ require('commander'); require('cli-table3'); require('dayjs'); require('dayjs/plugin/relativeTime'); -require('../spawn-Cnrq9zm4.js'); +require('../spawn-DB1Wbiwy.js'); require('child_process'); require('listr2'); require('readline'); diff --git a/node_modules/cypress/dist/cli-B5v_kZB5.js b/node_modules/cypress/dist/cli-MLF6G_xs.js similarity index 99% rename from node_modules/cypress/dist/cli-B5v_kZB5.js rename to node_modules/cypress/dist/cli-MLF6G_xs.js index 72c1b69..7078d40 100644 --- a/node_modules/cypress/dist/cli-B5v_kZB5.js +++ b/node_modules/cypress/dist/cli-MLF6G_xs.js @@ -13,7 +13,7 @@ var dayjs = require('dayjs'); var relativeTime = require('dayjs/plugin/relativeTime'); var chalk = require('chalk'); var Bluebird = require('bluebird'); -var spawn = require('./spawn-Cnrq9zm4.js'); +var spawn = require('./spawn-DB1Wbiwy.js'); var os = require('os'); var listr2 = require('listr2'); var timers = require('timers/promises'); diff --git a/node_modules/cypress/dist/cli.js b/node_modules/cypress/dist/cli.js index 078025c..2ff6b01 100644 --- a/node_modules/cypress/dist/cli.js +++ b/node_modules/cypress/dist/cli.js @@ -8,8 +8,8 @@ require('commander'); require('common-tags'); require('log-symbols'); require('debug'); -var cli = require('./cli-B5v_kZB5.js'); -require('./spawn-Cnrq9zm4.js'); +var cli = require('./cli-MLF6G_xs.js'); +require('./spawn-DB1Wbiwy.js'); require('os'); require('bluebird'); require('@cypress/xvfb'); diff --git a/node_modules/cypress/dist/cypress-B9M6be62.js b/node_modules/cypress/dist/cypress-9PxR1qmG.js similarity index 98% rename from node_modules/cypress/dist/cypress-B9M6be62.js rename to node_modules/cypress/dist/cypress-9PxR1qmG.js index ce2ad6a..00c4a58 100644 --- a/node_modules/cypress/dist/cypress-B9M6be62.js +++ b/node_modules/cypress/dist/cypress-9PxR1qmG.js @@ -3,7 +3,7 @@ var xvfb = require('./xvfb-CqCqXRC-.js'); var tmp = require('tmp'); var fs = require('fs-extra'); -var cli$1 = require('./cli-B5v_kZB5.js'); +var cli$1 = require('./cli-MLF6G_xs.js'); /** * Opens Cypress GUI diff --git a/node_modules/cypress/dist/cypress.js b/node_modules/cypress/dist/cypress.js index 8944558..f301158 100644 --- a/node_modules/cypress/dist/cypress.js +++ b/node_modules/cypress/dist/cypress.js @@ -3,8 +3,8 @@ require('./xvfb-CqCqXRC-.js'); require('tmp'); require('fs-extra'); -require('./cli-B5v_kZB5.js'); -var cypress = require('./cypress-B9M6be62.js'); +require('./cli-MLF6G_xs.js'); +var cypress = require('./cypress-9PxR1qmG.js'); require('os'); require('bluebird'); require('@cypress/xvfb'); @@ -33,7 +33,7 @@ require('commander'); require('cli-table3'); require('dayjs'); require('dayjs/plugin/relativeTime'); -require('./spawn-Cnrq9zm4.js'); +require('./spawn-DB1Wbiwy.js'); require('child_process'); require('listr2'); require('readline'); diff --git a/node_modules/cypress/dist/exec/spawn.js b/node_modules/cypress/dist/exec/spawn.js index b6925c2..92ef120 100644 --- a/node_modules/cypress/dist/exec/spawn.js +++ b/node_modules/cypress/dist/exec/spawn.js @@ -6,7 +6,7 @@ require('os'); require('child_process'); require('path'); require('debug'); -var spawn = require('../spawn-Cnrq9zm4.js'); +var spawn = require('../spawn-DB1Wbiwy.js'); require('readline'); require('process'); require('stream'); diff --git a/node_modules/cypress/dist/index.js b/node_modules/cypress/dist/index.js index 0c6a212..b6dcf4b 100644 --- a/node_modules/cypress/dist/index.js +++ b/node_modules/cypress/dist/index.js @@ -5,9 +5,9 @@ Object.defineProperty(exports, '__esModule', { value: true }); var xvfb = require('./xvfb-CqCqXRC-.js'); var minimist = require('minimist'); var Debug = require('debug'); -var cli$1 = require('./cli-B5v_kZB5.js'); -var spawn = require('./spawn-Cnrq9zm4.js'); -var cypress = require('./cypress-B9M6be62.js'); +var cli$1 = require('./cli-MLF6G_xs.js'); +var spawn = require('./spawn-DB1Wbiwy.js'); +var cypress = require('./cypress-9PxR1qmG.js'); require('os'); require('bluebird'); require('@cypress/xvfb'); diff --git a/node_modules/cypress/dist/spawn-Cnrq9zm4.js b/node_modules/cypress/dist/spawn-DB1Wbiwy.js similarity index 99% rename from node_modules/cypress/dist/spawn-Cnrq9zm4.js rename to node_modules/cypress/dist/spawn-DB1Wbiwy.js index 99b9a31..35cf779 100644 --- a/node_modules/cypress/dist/spawn-Cnrq9zm4.js +++ b/node_modules/cypress/dist/spawn-DB1Wbiwy.js @@ -9,7 +9,6 @@ var Debug = require('debug'); var chalk = require('chalk'); var listr2 = require('listr2'); var commonTags = require('common-tags'); -var Bluebird = require('bluebird'); var logSymbols = require('log-symbols'); var readline = require('readline'); var process$1 = require('process'); @@ -163,10 +162,7 @@ function verifyBinary(installedVersion, binaryDir, options) { task: (ctx, task) => xvfb.__awaiter(this, void 0, void 0, function* () { debug$1('clearing out the verified version'); yield xvfb.stateModule.clearBinaryStateAsync(binaryDir); - yield Promise.all([ - runSmokeTest(binaryDir, options), - Bluebird.delay(1500), // good user experience - ]); + yield runSmokeTest(binaryDir, options); debug$1('write verified: true'); yield xvfb.stateModule.writeBinaryVerifiedAsync(true, binaryDir); task.title = xvfb.util.titleize(chalk.green('Verified Cypress!'), chalk.gray(binaryDir)); diff --git a/node_modules/cypress/package.json b/node_modules/cypress/package.json index fbc9e90..d3f1712 100644 --- a/node_modules/cypress/package.json +++ b/node_modules/cypress/package.json @@ -1,6 +1,6 @@ { "name": "cypress", - "version": "15.18.0", + "version": "15.18.1", "main": "dist/index.js", "scripts": { "postinstall": "node dist/index.js --exec install", @@ -138,8 +138,8 @@ }, "buildInfo": { "commitBranch": "develop", - "commitSha": "fa083dbc716f2fd1c50ba505ee9c400366c922f6", - "commitDate": "2026-06-23T12:40:08.000Z", + "commitSha": "6ff266f1070ec57678cb12917d614dd236fa9823", + "commitDate": "2026-07-07T02:41:48.000Z", "stable": true }, "description": "Cypress is a next generation front end testing tool built for the modern web", diff --git a/node_modules/cypress/types/cy-chai.d.ts b/node_modules/cypress/types/cy-chai.d.ts index 8cd40e8..cbf28ce 100644 --- a/node_modules/cypress/types/cy-chai.d.ts +++ b/node_modules/cypress/types/cy-chai.d.ts @@ -7,4 +7,26 @@ declare namespace Chai { text(text: string): Assertion value(text: string): Assertion } + + interface Assertion { + /** + * Assert that at least one element of the selection is focused. + * + * @example + * expect($('#result')).to.have.focus + * expect($('#result')).to.be.focused + * @see http://chaijs.com/plugins/chai-jquery/#focus + */ + focus: Assertion + + /** + * Assert that at least one element of the selection is focused. + * + * @example + * expect($('#result')).to.be.focused + * expect($('#result')).to.have.focus + * @see http://chaijs.com/plugins/chai-jquery/#focus + */ + focused: Assertion + } } diff --git a/node_modules/cypress/types/cypress.d.ts b/node_modules/cypress/types/cypress.d.ts index 110f7b2..7c5f053 100644 --- a/node_modules/cypress/types/cypress.d.ts +++ b/node_modules/cypress/types/cypress.d.ts @@ -4053,7 +4053,7 @@ declare namespace Cypress { method: 'GET' | 'POST' /** - * An optional body to send along with a `POST` request. If it is a string, it will be passed along unmodified. If it is an object, it will be URL encoded to a string and sent with a `Content-Type: application/x-www-urlencoded` header. + * An optional body to send along with a `POST` request. If it is a string, it will be passed along unmodified. If it is an object, it will be URL encoded to a string and sent with a `Content-Type: application/x-www-form-urlencoded` header. * * @example * cy.visit({ diff --git a/package-lock.json b/package-lock.json index 50b55f0..6b9d432 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "1.0.0", "license": "ISC", "dependencies": { - "cypress": "^15.18.0" + "cypress": "^15.18.1" }, "devDependencies": { "cypress-multi-reporters": "^2.0.5", @@ -706,9 +706,9 @@ } }, "node_modules/cypress": { - "version": "15.18.0", - "resolved": "https://registry.npmjs.org/cypress/-/cypress-15.18.0.tgz", - "integrity": "sha512-aLfOYSLlVt1b6QSoVUjbCY27taZlYAT8ST47xQbwd9pvQrY/g5gXi12yItZTB+kxkkj+ZcvUYmRLUC95SlCJsw==", + "version": "15.18.1", + "resolved": "https://registry.npmjs.org/cypress/-/cypress-15.18.1.tgz", + "integrity": "sha512-JtkTVtUE2lvLYgZCaug+Uai0H9IqsJirlBO49c87QwG0bJUGvAUVBz1EJve0b0oaYP244Ew9M0BkrHpcqkYxmw==", "hasInstallScript": true, "license": "MIT", "dependencies": { @@ -3551,9 +3551,9 @@ } }, "cypress": { - "version": "15.18.0", - "resolved": "https://registry.npmjs.org/cypress/-/cypress-15.18.0.tgz", - "integrity": "sha512-aLfOYSLlVt1b6QSoVUjbCY27taZlYAT8ST47xQbwd9pvQrY/g5gXi12yItZTB+kxkkj+ZcvUYmRLUC95SlCJsw==", + "version": "15.18.1", + "resolved": "https://registry.npmjs.org/cypress/-/cypress-15.18.1.tgz", + "integrity": "sha512-JtkTVtUE2lvLYgZCaug+Uai0H9IqsJirlBO49c87QwG0bJUGvAUVBz1EJve0b0oaYP244Ew9M0BkrHpcqkYxmw==", "requires": { "@cypress/request": "^4.0.0", "@cypress/xvfb": "^1.2.4", diff --git a/package.json b/package.json index df52b12..83e29a7 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ }, "homepage": "https://github.com/ashikkumar23/api-testing-cypress#readme", "dependencies": { - "cypress": "^15.18.0" + "cypress": "^15.18.1" }, "devDependencies": { "cypress-multi-reporters": "^2.0.5",