Skip to content

Commit

Permalink
ログ確認
Browse files Browse the repository at this point in the history
  • Loading branch information
h.matsuo committed Mar 16, 2022
1 parent 2df4c73 commit 5011167
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions codeception/acceptance/EA08SysteminfoCest.php
Original file line number Diff line number Diff line change
Expand Up @@ -469,11 +469,10 @@ public function systeminfo_ログ表示_確認(AcceptanceTester $I)
$I->amOnPage("/{$admin_route}/setting/system/log");
$I->see('ログ表示システム設定', '.c-pageTitle');

$log_filename = 'admin-'. $now->format('Y-m-d') . '.log';
$I->seeInField('#admin_system_log_files', $log_filename);

$I->fillField('#admin_system_log_line_max', 500);
$I->click('#form1 button:nth-child(1)');
$logs = $I->grabTextFrom('.c-contentsArea textarea');
var_dump($logs);

$result = preg_match("|^.*{$access_url}.*$|m", $logs, $matches);
$I->assertEquals($result, 1);
Expand Down

0 comments on commit 5011167

Please sign in to comment.