fix: finally found the right helper function, don't know why this is a toolbar, it is not a toolbar
This commit is contained in:
@ -11,7 +11,7 @@ import { expect, test } from '@e2e/playwright/zoo-test'
|
||||
test(
|
||||
'export works on the first try',
|
||||
{ tag: ['@desktop', '@macos', '@windows', '@skipLocalEngine'] },
|
||||
async ({ page, context, scene, tronApp, cmdBar }, testInfo) => {
|
||||
async ({ page, context, scene, tronApp, cmdBar, toolbar}, testInfo) => {
|
||||
if (!tronApp) {
|
||||
fail()
|
||||
}
|
||||
@ -95,8 +95,7 @@ test(
|
||||
await u.openFilePanel()
|
||||
|
||||
// Click on the other file
|
||||
const otherKclButton = scene.getFileRowFromExplorer('other.kcl')
|
||||
await otherKclButton.click()
|
||||
await toolbar.openFile('other.kcl')
|
||||
|
||||
// Close the file pane
|
||||
await u.closeFilePanel()
|
||||
|
||||
Reference in New Issue
Block a user