.as("The translation source is correct");
}
@Test(timeout = ZanataTestCase.MAX_SHORT_TEST_DURATION)
public void multilineSRTAreParsedCorrectly() throws Exception {
EditorPage editorPage = uploadAndGoToDocument(testFileGenerator
.generateTestFileWithContent("multilinesrtfile", ".srt",
"1" + sep +
"00:00:01,000 --> 00:00:02,000" + sep +
"Test subtitle 1" + sep +
"Test subtitle 1 line 2" + sep + sep +
"2" + sep +
"00:00:03,000 --> 00:00:04,000" + sep +
"Test subtitle 2"));
assertThat(editorPage.getMessageSourceAtRowIndex(0))
.isEqualTo("Test subtitle 1" + sep + "Test subtitle 1 line 2")
.as("The first translation source is correct");
assertThat(editorPage.getMessageSourceAtRowIndex(1))
.isEqualTo("Test subtitle 2")
.as("The second translation source is correct");
}