Skip to content

Commit

Permalink
Support added for the assertElementPresent command
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco van Est committed Dec 24, 2015
1 parent ec945e9 commit 5c37a86
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/content/formats/php-codeception.js
Original file line number Diff line number Diff line change
Expand Up @@ -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";
}
Expand Down

0 comments on commit 5c37a86

Please sign in to comment.