mirror of
https://gitlab.kit.edu/uskyk/typicalc.git
synced 2024-11-08 18:30:42 +00:00
IT for error view
This commit is contained in:
parent
3110aa8bc0
commit
9aa4ae9e56
@ -246,4 +246,19 @@ public class ScreenshotIT extends AbstractIT {
|
||||
|
||||
matches.add(testBench().compareScreen("helpDialog"));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void errorViewTest() throws IOException {
|
||||
TestBenchCommandExecutor executor = getCommandExecutor();
|
||||
|
||||
InputBarElement inputBar = $(InputBarElement.class).first();
|
||||
String term = "λ5.x";
|
||||
|
||||
inputBar.setCurrentValue(term);
|
||||
assertEquals(term, inputBar.getCurrentValue());
|
||||
inputBar.typeInfer();
|
||||
executor.waitForVaadin();
|
||||
|
||||
matches.add(testBench().compareScreen("errorView"));
|
||||
}
|
||||
}
|
||||
|
BIN
src/test/resources/screenshots/errorView_windows_firefox_86.png
Normal file
BIN
src/test/resources/screenshots/errorView_windows_firefox_86.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 39 KiB |
Loading…
Reference in New Issue
Block a user