src/Codeception/Module/WPFilesystem.php
public function seeUploadedFileFound($filename, $date = null)
    {
        $path = $this->getUploadsPath($filename, $date);
        Assert::assertFileExists($path);
    }
public function seeUploadedFileFound($filename, $date = null)
    {
        $path = $this->getUploadsPath($filename, $date);
        Assert::assertFileExists($path);
    }
public function seeUploadedFileFound ( $ filename , $ date = null ) { $ path = $ this -> getUploadsPath ( $ filename , $ date ) ; Assert :: assertFileExists ( $ path ) ; }
Checks if file exists in the uploads folder.

The date argument can be a string compatible with `strtotime` or a Unix
timestamp that will be used to build the `Y/m` uploads subfolder path.

@example
```php
$I->seeUploadedFileFound('some-file.txt');
$I->seeUploadedFileFound('some-file.txt','today');
?>
```

@param string $filename The file path, relative to the uploads folder or the current folder.
@param string|int $date A string compatible with `strtotime` or a Unix timestamp.
Checks if file exists in the uploads folder .