Skip to content

Commit

Permalink
Refactor Fillet Logic to Combine Multiple Tags Within the Same Fillet…
Browse files Browse the repository at this point in the history
… Expression (#4058)

* combine tags + tests

* delete getFilletTag function

* fix playwright test

* make eslint happy

* delete missed 'const'

* delete const rev2
  • Loading branch information
max-mrgrsk authored Oct 3, 2024
1 parent c84c0b0 commit 46d335f
Show file tree
Hide file tree
Showing 4 changed files with 202 additions and 433 deletions.
6 changes: 4 additions & 2 deletions e2e/playwright/command-bar-tests.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,11 @@ extrude001 = extrude(-10, sketch001)`
await page.waitForTimeout(100)
await page.getByRole('button', { name: 'Fillet' }).click()
await page.waitForTimeout(100)
await page.keyboard.press('Enter')
await page.keyboard.press('Enter') // skip selection
await page.waitForTimeout(100)
await page.keyboard.press('Enter')
await page.keyboard.press('Enter') // accept default radius
await page.waitForTimeout(100)
await page.keyboard.press('Enter') // submit
await page.waitForTimeout(100)
await expect(page.locator('.cm-activeLine')).toContainText(
`fillet({ radius: ${KCL_DEFAULT_LENGTH}, tags: [seg01] }, %)`
Expand Down
Loading

0 comments on commit 46d335f

Please sign in to comment.