Verify the visible missing-file import message
This commit is contained in:
@@ -203,15 +203,12 @@ public final class ViewerImportTargetProbe {
|
||||
});
|
||||
await(
|
||||
"Import failure is shown and actions reenabled",
|
||||
() ->
|
||||
!submit.isDisabled()
|
||||
&& !cancel.isDisabled()
|
||||
&& status.getText().contains("Rechnung.md"));
|
||||
() -> !submit.isDisabled() && !cancel.isDisabled());
|
||||
fx(
|
||||
() -> {
|
||||
require(window.isShowing() && !name.isDisabled(), "Dialog and editable draft survive");
|
||||
require(
|
||||
status.getText().contains("Rechnung.md"),
|
||||
status.getText().contains("Quelldatei „Rechnung.md“ fehlt."),
|
||||
"Expected missing-source error, got " + status.getText());
|
||||
require(
|
||||
name.getText().equals("Wiederholung.md")
|
||||
|
||||
Reference in New Issue
Block a user