mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-05-12 22:47:30 +08:00
Operations nodes and variadic tests
This commit is contained in:
@@ -91,6 +91,16 @@ function generateNodeTest(nodeTest, getBlueprint) {
|
||||
nodeTest.additionalTest(node)
|
||||
})
|
||||
}
|
||||
if (nodeTest.variadic) {
|
||||
it(
|
||||
"Can add new pins",
|
||||
() => {
|
||||
const variadic = /** @type {HTMLElement} */(node.querySelector(".ueb-node-variadic"))
|
||||
expect(variadic).to.not.be.undefined
|
||||
variadic.click()
|
||||
expect(node.querySelectorAll("ueb-pin")).to.be.lengthOf(nodeTest.pins + 1)
|
||||
})
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user