Some minor fixes and refactoring

This commit is contained in:
barsdeveloper
2025-01-31 00:22:11 +02:00
parent 1073691794
commit 0e2ecdf93e
26 changed files with 290 additions and 87 deletions

View File

@@ -32,6 +32,12 @@ export default class BlueprintFixture {
}
}
async clone() {
const result = new BlueprintFixture(await this.page.context().newPage())
await result.setup()
return result
}
/**
* @param {Locator<HTMLElement>} draggable
* @param {Coordinates} offset
@@ -144,6 +150,7 @@ export default class BlueprintFixture {
}
async cleanup() {
await this.page.close()
}
blur() {