Fix up little differences in file/dir creation logic for electron (#3498)

* Fix up little differences in file/dir creation logic for electron

* Fix typo

* A snapshot a day keeps the bugs away! 📷🐛 (OS: windows-latest)

* Revert "A snapshot a day keeps the bugs away! 📷🐛 (OS: windows-latest)"

This reverts commit 8e7212f5da.

* Text-to-cad test flakiness

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
Frank Noirot
2024-08-19 08:08:07 -04:00
committed by GitHub
parent 73bbd3f5b7
commit 7f50294936
3 changed files with 17 additions and 21 deletions

View File

@ -353,7 +353,7 @@ test.describe('Text-to-CAD tests', () => {
const prompt = page.getByText('Prompt')
await expect(prompt.first()).toBeVisible()
const badPrompt = 'akjsndladf lajbhflauweyfa;wieufjn---4;'
const badPrompt = 'akjsndladflajbhflauweyf15;'
// Type the prompt.
await page.keyboard.type(badPrompt)
@ -465,6 +465,8 @@ test.describe('Text-to-CAD tests', () => {
test('can do many at once and get many prompts back, and interact with many', async ({
page,
}) => {
// Let this test run longer since we've seen it timeout.
test.setTimeout(180_000)
// skip on windows
test.skip(
process.platform === 'win32',