tcmsTestPlanIds = { 5316 } )
public void uploadFileTypeDocument(File testFile) throws Exception {
String testFileName = testFile.getName();
log.info("[uploadFile] "+testFileName);
VersionDocumentsPage versionDocumentsPage = new ProjectWorkFlow()
.goToProjectByName("doctype-test")
.gotoVersion("doctype-upload")
.gotoSettingsTab()
.gotoSettingsDocumentsTab()
.pressUploadFileButton()
.enterFilePath(testFile.getAbsolutePath())
.submitUpload()
.clickUploadDone()
.gotoDocumentTab();
assertThat(versionDocumentsPage.sourceDocumentsContains(testFileName))
.as("Document shows in table");
EditorPage editorPage = versionDocumentsPage
.gotoLanguageTab()
.translate("pl", testFileName);
assertThat(editorPage.getMessageSourceAtRowIndex(0))
.isEqualTo(testString)