TimeTrex Community Edition v16.2.0

This commit is contained in:
2022-12-13 07:10:06 +01:00
commit 472f000c1b
6810 changed files with 2636142 additions and 0 deletions

View File

@ -0,0 +1,27 @@
<?php
namespace Tests\Selenium2TestCase\SessionCommand;
use Tests\Selenium2TestCase\BaseTestCase;
class FileTest extends BaseTestCase
{
public function testUploadFile()
{
$this->markTestIncomplete("Cannot get this to run <del>reliably</del><em>at all</em> on Travis CI.");
$this->url('php/file_upload.php');
$remote_file = $this->file('selenium-1-tests/html/banner.gif');
$this->byName('upload_here')
->value($remote_file);
$this->byId('submit')
->click();
$msg_displayed = $this->byId('uploaded')
->displayed();
$this->assertNotEmpty($msg_displayed);
}
}