Some colors and export file size changes occurred engine-side, update tests to match (#3753)
* Some colors and export file size changes occurred engine-side, update tests to match * Fix up focusrite example after adjacent edge switch * Yay now the export file is yet another new size * Update bracket example code and some test colors that broke * Use a shorter KCL sample so we don't experience weird locator behavior * A snapshot a day keeps the bugs away! 📷🐛 (OS: ubuntu-latest) * bump electron playwright timeout * Relax color expectations a little bit, as they can be different on web and electron * fix double export test * unused var * A snapshot a day keeps the bugs away! 📷🐛 (OS: windows-latest) * Re-run CI * Bump getGreatestPixDiff comparisons from 10 to 15 in projects.spec.ts * bump another pix diff to 15 * make retries work * update expect numbers * remove some logs --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Kurt Hutten Irev-Dev <k.hutten@protonmail.ch>
This commit is contained in:
@ -66,7 +66,6 @@ import {
|
||||
hasExtrudableGeometry,
|
||||
isSingleCursorInPipe,
|
||||
} from 'lang/queryAst'
|
||||
import { TEST } from 'env'
|
||||
import { exportFromEngine } from 'lib/exportFromEngine'
|
||||
import { Models } from '@kittycad/lib/dist/types/src'
|
||||
import toast from 'react-hot-toast'
|
||||
@ -363,7 +362,7 @@ export const ModelingMachineProvider = ({
|
||||
return {}
|
||||
}),
|
||||
Make: async (_, event) => {
|
||||
if (event.type !== 'Make' || TEST) return
|
||||
if (event.type !== 'Make') return
|
||||
// Check if we already have an export intent.
|
||||
if (engineCommandManager.exportIntent) {
|
||||
toast.error('Already exporting')
|
||||
@ -407,7 +406,7 @@ export const ModelingMachineProvider = ({
|
||||
)
|
||||
},
|
||||
'Engine export': async (_, event) => {
|
||||
if (event.type !== 'Export' || TEST) return
|
||||
if (event.type !== 'Export') return
|
||||
if (engineCommandManager.exportIntent) {
|
||||
toast.error('Already exporting')
|
||||
return
|
||||
|
Reference in New Issue
Block a user