Browse Source

e2e debugging 1

Junyi Du 2 years ago
parent
commit
f176ecebdb
1 changed files with 3 additions and 1 deletions
  1. 3 1
      e2e-tests/page-search.spec.ts

+ 3 - 1
e2e-tests/page-search.spec.ts

@@ -1,5 +1,5 @@
 import { expect, Page } from '@playwright/test'
-import { test } from './fixtures'
+import { test, traceAll } from './fixtures'
 import { Block } from './types'
 import { modKey, createRandomPage, newInnerBlock, randomString, lastBlock, enterNextBlock } from './utils'
 import { searchPage, closeSearchBox } from './util/search-modal'
@@ -179,3 +179,5 @@ async function alias_test(block: Block, page: Page, page_name: string, search_kw
 test('page diacritic alias', async ({ block, page }) => {
   await alias_test(block, page, "ü", ["ü", "ü", "Ü"])
 })
+
+traceAll()