Formatting for command
This commit is contained in:
parent
cffdad78e5
commit
0817f3f7b4
|
@ -282,7 +282,7 @@ Cypress.Commands.add("createScreen", (screenName, route, accessLevelLabel) => {
|
|||
cy.get(".spectrum-Dialog-grid").within(() => {
|
||||
cy.get(".spectrum-Form-itemField").eq(0).type(route)
|
||||
|
||||
if(accessLevelLabel){
|
||||
if (accessLevelLabel) {
|
||||
cy.get(".spectrum-Picker-label").click()
|
||||
cy.wait(500)
|
||||
cy.contains(accessLevelLabel).click()
|
||||
|
|
Loading…
Reference in New Issue