mirror of
https://github.com/stablyai/orca.git
synced 2026-09-21 16:02:20 +00:00
test: match explorer filenames independently of git badges (#18997)
This commit is contained in:
@@ -35,7 +35,7 @@ test('refreshes the visible tree after external Windows file changes', async ({
|
||||
const row = (name: string) =>
|
||||
orcaPage
|
||||
.locator('[data-file-explorer-row]')
|
||||
.filter({ hasText: new RegExp(`^${name.replace(/[.*+?^${}()|[\]\\]/g, '\\$&')}$`) })
|
||||
.filter({ has: orcaPage.getByText(name, { exact: true }) })
|
||||
|
||||
rmSync(originalPath, { force: true })
|
||||
rmSync(renamedPath, { force: true })
|
||||
|
||||
Reference in New Issue
Block a user