Skip to content

Commit a47a780

Browse files
committed
fix(snippets) : fix utilities commands
1 parent 5e0e644 commit a47a780

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

snippets/nightwatchsnippets.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -571,22 +571,22 @@
571571
},
572572
"pause": {
573573
"prefix": "nwpause",
574-
"body": "pause(${1:2111ms}, ${2:optionalCallback})",
575-
"description": "pause(timeInMs, optionalCallback)"
574+
"body": "pause(${1:ms}, ${2:optionalCallback})",
575+
"description": "Suspends the test for the given time in milliseconds"
576576
},
577577
"useCss": {
578578
"prefix": "nwuseCss",
579579
"body": "useCss(${1:optionalCallback})",
580-
"description": "useCss(optionalCallback"
580+
"description": "Sets the locate strategy for selectors to css selector"
581581
},
582582
"useXpath": {
583583
"prefix": "nwuseXpath",
584584
"body": "useXpath(${1:optionalCallback})",
585-
"description": "useXpath(optionalCallback)"
585+
"description": "Sets the locate strategy for selectors to xpath"
586586
},
587587
"perform": {
588588
"prefix": "nwperform",
589-
"body": "perform(${1:optionalCallback})",
590-
"description": "perform(optionalCallback)"
589+
"body": "perform(${1:callback})",
590+
"description": "A simple perform command which allows access to the Nightwatch API in a callback"
591591
}
592592
}

0 commit comments

Comments
 (0)