diff --git a/src/content/formats/php-codeception.js b/src/content/formats/php-codeception.js index 8c85456..6da121a 100644 --- a/src/content/formats/php-codeception.js +++ b/src/content/formats/php-codeception.js @@ -271,6 +271,10 @@ function formatCommand(command, indent) { result += '->selectOption(\''+getSelector(command.target)+'\', "'+ command.value+'");\n'; break; + case 'assertElementPresent': + result += '->seeElement(\''+getSelector(command.target)+'\');\n'; + break; + default: result += '->' + command.command + '====' + command.target + '|' + command.value + "|\n"; }