Ignore missing dialog (#743)

* Do not report missing nodes/models warning repeatedly

* Add playwright tests

* cast finalOptions, add comments to interface

* Use old menu in tests to not break top left click methods

* Assert no dialog on undo and on redo separately

* nit

* nit

---------

Co-authored-by: christian-byrne <abolkonsky.rem@gmail.com>
This commit is contained in:
Chenlei Hu
2024-09-05 08:00:41 -07:00
committed by GitHub
parent 743683c01d
commit 9d855d637e
5 changed files with 62 additions and 5 deletions

View File

@@ -72,7 +72,10 @@ export class ChangeTracker {
if (prevState) {
target.push(this.activeState)
this.isOurLoad = true
await this.app.loadGraphData(prevState, false, false, this.workflow)
await this.app.loadGraphData(prevState, false, false, this.workflow, {
showMissingModelsDialog: false,
showMissingNodesDialog: false
})
this.activeState = prevState
}
}