1
0
Fork 0
mirror of synced 2024-06-16 01:14:48 +12:00

Formatting for command

This commit is contained in:
Dean 2022-04-07 12:23:19 +01:00
parent 73a7fdabaa
commit 09defee462

View file

@ -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()