Skip to content
This repository has been archived by the owner on Mar 31, 2021. It is now read-only.

Commit

Permalink
Update typescript declarations file
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBestPessimist committed Jul 29, 2019
1 parent cba3f87 commit ed49510
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cypress/support/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,12 +166,13 @@ declare namespace Cypress {
* Better use {@link openReferencedDocuments} instead!
*
* @param internalReferenceName
* @param timeout time to wait for the reference to be available
* @example
* // this should work from a sales order
* cy.get('body').type('{alt}6'); // open referenced-records-sidelist
* cy.selectReference('C_Order_C_Invoice_Candidate').click();
*/
selectReference(internalReferenceName: string): Chainable<any>
selectReference(internalReferenceName: string, timeout: number): Chainable<any>

/**
* Opens a new single document window
Expand Down

0 comments on commit ed49510

Please sign in to comment.