mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-19 04:55:57 +08:00
Some minor fixes and refactoring
This commit is contained in:
@@ -63,12 +63,12 @@ test("Issue 30", async ({ blueprintPage }) => {
|
||||
`)
|
||||
await expect(blueprintPage.blueprintLocator.locator("ueb-node")).toHaveCount(5)
|
||||
await expect(blueprintPage.blueprintLocator.locator("ueb-link")).toHaveCount(4)
|
||||
expect(blueprintPage.blueprintLocator.evaluate(blueprint =>
|
||||
expect(await blueprintPage.blueprintLocator.evaluate(blueprint =>
|
||||
/** @type {KnotNodeTemplate} */(
|
||||
/** @type {NodeElement} */(blueprint.querySelectorAll("ueb-node")[3]).template
|
||||
).switchDirectionsVisually
|
||||
)).toBeTruthy()
|
||||
expect(blueprintPage.blueprintLocator.evaluate(blueprint =>
|
||||
expect(await blueprintPage.blueprintLocator.evaluate(blueprint =>
|
||||
/** @type {KnotNodeTemplate} */(
|
||||
/** @type {NodeElement} */(blueprint.querySelectorAll("ueb-node")[4]).template
|
||||
).switchDirectionsVisually
|
||||
|
||||
Reference in New Issue
Block a user