Test attempt number 15345203, action!
This commit is contained in:
		@ -2266,15 +2266,20 @@ test.describe('Native file menu', { tag: ['@electron'] }, () => {
 | 
			
		||||
 | 
			
		||||
        // Run electron snippet to find the Menu!
 | 
			
		||||
        await page.waitForTimeout(100) // wait for createModelingPageMenu() to run
 | 
			
		||||
        await expect.poll(async () => await tronApp.electron.evaluate(async ({ app }) => {
 | 
			
		||||
          if (!app || !app.applicationMenu) return false
 | 
			
		||||
          const menu = app.applicationMenu.getMenuItemById(
 | 
			
		||||
            'Help.Refresh and report a bug'
 | 
			
		||||
        await expect
 | 
			
		||||
          .poll(
 | 
			
		||||
            async () =>
 | 
			
		||||
              await tronApp.electron.evaluate(async ({ app }) => {
 | 
			
		||||
                if (!app || !app.applicationMenu) return false
 | 
			
		||||
                const menu = app.applicationMenu.getMenuItemById(
 | 
			
		||||
                  'Help.Refresh and report a bug'
 | 
			
		||||
                )
 | 
			
		||||
                if (!menu) return false
 | 
			
		||||
                menu.click()
 | 
			
		||||
                return true
 | 
			
		||||
              })
 | 
			
		||||
          )
 | 
			
		||||
          if (!menu) return false
 | 
			
		||||
          menu.click()
 | 
			
		||||
          return true
 | 
			
		||||
        })).toBe(true)
 | 
			
		||||
          .toBe(true)
 | 
			
		||||
        // Core dump and refresh magic number timeout
 | 
			
		||||
        await scene.connectionEstablished()
 | 
			
		||||
        await expect(toolbar.startSketchBtn).toBeVisible()
 | 
			
		||||
 | 
			
		||||
@ -5,7 +5,12 @@ import { getUtils, orRunWhenFullSuiteEnabled } from '@e2e/playwright/test-utils'
 | 
			
		||||
import { expect, test } from '@e2e/playwright/zoo-test'
 | 
			
		||||
 | 
			
		||||
test.describe('Testing Camera Movement', { tag: ['@skipWin'] }, () => {
 | 
			
		||||
  test('Can move camera reliably', async ({ page, context, homePage, scene }) => {
 | 
			
		||||
  test('Can move camera reliably', async ({
 | 
			
		||||
    page,
 | 
			
		||||
    context,
 | 
			
		||||
    homePage,
 | 
			
		||||
    scene,
 | 
			
		||||
  }) => {
 | 
			
		||||
    const u = await getUtils(page)
 | 
			
		||||
    await page.setBodyDimensions({ width: 1200, height: 500 })
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -141,11 +141,14 @@ test.describe('Testing in-app sample loading', () => {
 | 
			
		||||
 | 
			
		||||
      await test.step(`Load a KCL sample with the command palette`, async () => {
 | 
			
		||||
        await commandBarButton.click()
 | 
			
		||||
        await page.waitForTimeout(1000)
 | 
			
		||||
        await commandOption.click()
 | 
			
		||||
        await page.waitForTimeout(1000)
 | 
			
		||||
        await commandSampleOption(sampleOne.title).click()
 | 
			
		||||
        await expect(overwriteWarning).not.toBeVisible()
 | 
			
		||||
        await expect(newFileWarning).toBeVisible()
 | 
			
		||||
        await confirmButton.click()
 | 
			
		||||
        await page.waitForTimeout(1000)
 | 
			
		||||
      })
 | 
			
		||||
 | 
			
		||||
      await test.step(`Ensure we made and opened a new file`, async () => {
 | 
			
		||||
@ -156,14 +159,20 @@ test.describe('Testing in-app sample loading', () => {
 | 
			
		||||
 | 
			
		||||
      await test.step(`Now overwrite the current file`, async () => {
 | 
			
		||||
        await commandBarButton.click()
 | 
			
		||||
        await page.waitForTimeout(1000)
 | 
			
		||||
        await commandOption.click()
 | 
			
		||||
        await page.waitForTimeout(1000)
 | 
			
		||||
        await commandSampleOption(sampleTwo.title).click()
 | 
			
		||||
        await page.waitForTimeout(1000)
 | 
			
		||||
        await commandMethodArgButton.click()
 | 
			
		||||
        await page.waitForTimeout(1000)
 | 
			
		||||
        await commandMethodOption.click()
 | 
			
		||||
        await page.waitForTimeout(1000)
 | 
			
		||||
        await expect(commandMethodArgButton).toContainText('overwrite')
 | 
			
		||||
        await expect(newFileWarning).not.toBeVisible()
 | 
			
		||||
        await expect(overwriteWarning).toBeVisible()
 | 
			
		||||
        await confirmButton.click()
 | 
			
		||||
        await page.waitForTimeout(1000)
 | 
			
		||||
      })
 | 
			
		||||
 | 
			
		||||
      await test.step(`Ensure we overwrote the current file without navigating`, async () => {
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user