Ignore unit tests when running Playwright Electron (#5996)
* Ignore unit tests when running Playwright Electron * Skip a couple more Windows tests for now
This commit is contained in:
		@ -8,6 +8,7 @@ import {
 | 
			
		||||
  createProject,
 | 
			
		||||
  getPlaywrightDownloadDir,
 | 
			
		||||
  orRunWhenFullSuiteEnabled,
 | 
			
		||||
  runningOnWindows,
 | 
			
		||||
} from './test-utils'
 | 
			
		||||
import fsp from 'fs/promises'
 | 
			
		||||
import fs from 'fs'
 | 
			
		||||
@ -351,6 +352,9 @@ test(
 | 
			
		||||
  'open a file in a project works and renders, open another file in the same project with errors, it should clear the scene',
 | 
			
		||||
  { tag: '@electron' },
 | 
			
		||||
  async ({ context, page }, testInfo) => {
 | 
			
		||||
    if (runningOnWindows()) {
 | 
			
		||||
      test.fixme(orRunWhenFullSuiteEnabled())
 | 
			
		||||
    }
 | 
			
		||||
    await context.folderSetupFn(async (dir) => {
 | 
			
		||||
      const bracketDir = path.join(dir, 'bracket')
 | 
			
		||||
      await fsp.mkdir(bracketDir, { recursive: true })
 | 
			
		||||
@ -1328,6 +1332,9 @@ test(
 | 
			
		||||
  'Can load a file with CRLF line endings',
 | 
			
		||||
  { tag: '@electron' },
 | 
			
		||||
  async ({ context, page }, testInfo) => {
 | 
			
		||||
    if (runningOnWindows()) {
 | 
			
		||||
      test.fixme(orRunWhenFullSuiteEnabled())
 | 
			
		||||
    }
 | 
			
		||||
    await context.folderSetupFn(async (dir) => {
 | 
			
		||||
      const routerTemplateDir = path.join(dir, 'router-template-slate')
 | 
			
		||||
      await fsp.mkdir(routerTemplateDir, { recursive: true })
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user