Remove .only and fix resulting tests

This commit is contained in:
Adam Chalmers
2025-01-17 13:09:40 -06:00
committed by Nick Cameron
parent ce8aeab508
commit f3a2922ba0
2 changed files with 8 additions and 5 deletions

View File

@ -121,7 +121,9 @@ test.describe('Testing constraints', () => {
await page.getByText('line([39.13, 68.63], %)').click()
await pollEditorLinesSelectedLength(page, 1)
const activeLinesContent = await page.locator('.cm-activeLine').all()
await expect(activeLinesContent[0]).toHaveText('|> line(end = [39.13, 68.63])')
await expect(activeLinesContent[0]).toHaveText(
'|> line(end = [39.13, 68.63])'
)
// checking the count of the overlays is a good proxy check that the client sketch scene is in a good state
await expect(page.getByTestId('segment-overlay')).toHaveCount(4)