Skip to content
Snippets Groups Projects
Commit 6414748d authored by Andre Angelantoni's avatar Andre Angelantoni
Browse files

Update comments.

parent a5f9838c
No related branches found
No related tags found
No related merge requests found
......@@ -229,15 +229,13 @@ Cypress.Commands.add('execPantheonDrush', (cmd) => {
})
/**
* Get input by label.
* Get selector by label.
*
* @param label {string} label.
* @return {Cypress.Chainable<HTMLElement>} input.
*/
Cypress.Commands.add('getByLabel', (label) => {
// you can disable individual command logging
// by passing {log: false} option
cy.log('**getByLabel**')
//cy.log('**getByLabel**')
cy.contains('label', label)
.invoke('attr', 'for')
.then((id) => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment