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