tests/Acceptance/motions/CommentLikeCept.php
<?php

/** @var \Codeception\Scenario $scenario */
/*
$I = new AcceptanceTester($scenario);
$I->populateDBData1();

$I->wantTo('Write a test comment');
$I->gotoMotion(true);
if (method_exists($I, 'executeJS')) {
    $I->cantSee('Kommentar schreiben');
    $I->click('#section_3_1 .comment .shower');
}
$I->see('Kommentar schreiben', '#section_3_1');
$I->fillField('#comment_3_1_name', 'My name');
$I->fillField('#comment_3_1_email', 'test@example.org');
$I->fillField('#comment_3_1_text', 'Some Text');
$I->submitForm('#section_3_1 .commentForm', [], 'writeComment');
$I->see('My Name', '#section_3_1 .motionComment');
$I->see('Some Text', '#section_3_1 .motionComment');
$I->dontSeeElement('.commentSupporterHolder');


$I->wantTo('Activate comment ratings');
$I->loginAsStdAdmin();
$I->click('#adminLink');
$I->click('#consultationextendedLink');
$I->checkOption('#commentsSupportable');
$I->submitForm('#consultationSettingsForm', [], 'save');



$I->wantTo('Support this comment');
$I->logout();
$I->gotoMotion();
if (method_exists($I, 'executeJS')) {
    $I->cantSee('Kommentar schreiben');
    $I->click('#section_3_1 .comment .shower');
}
$I->see('My Name', '#section_3_1 .motionComment');
$I->see('Some Text', '#section_3_1 .motionComment');
$I->seeElement('.commentSupporterHolder');
$I->submitForm('.commentSupporterHolder', [], 'commentLike');
*/
