mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 14:57:10 +00:00
Merge pull request #21773 from mikewoudenberg/master
Cypress: Adds key to location method and adds timeout property to options
This commit is contained in:
@@ -12,6 +12,8 @@ cy
|
||||
.get('.query-button')
|
||||
.contains('Save Form').should('have.class', 'btn');
|
||||
|
||||
cy.location('host');
|
||||
|
||||
cy
|
||||
.get('form')
|
||||
.find('input')
|
||||
|
||||
Vendored
+2
-1
@@ -249,7 +249,8 @@ declare namespace Cypress {
|
||||
/**
|
||||
* @see https://on.cypress.io/api/location
|
||||
*/
|
||||
location(options?: Loggable): Chainable;
|
||||
location(options?: LoggableTimeoutable): Chainable;
|
||||
location(key: string, options?: LoggableTimeoutable): Chainable;
|
||||
|
||||
/**
|
||||
* @see https://on.cypress.io/api/log
|
||||
|
||||
Reference in New Issue
Block a user