Explorar o código

fix: e2e tests

Tienson Qin hai 1 ano
pai
achega
1815f874fe
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  1. 6 0
      e2e-tests/editor.spec.ts

+ 6 - 0
e2e-tests/editor.spec.ts

@@ -14,6 +14,12 @@ import { dispatch_kb_events } from './util/keyboard-events'
 import * as kb_events from './util/keyboard-events'
 import * as kb_events from './util/keyboard-events'
 
 
 test('hashtag and quare brackets in same line #4178', async ({ page }) => {
 test('hashtag and quare brackets in same line #4178', async ({ page }) => {
+  try {
+    await page.waitForSelector('.notification-clear', { timeout: 10 })
+    page.click('.notification-clear')
+  } catch (error) {
+  }
+
   await createRandomPage(page)
   await createRandomPage(page)
 
 
   await page.type('textarea >> nth=0', '#foo bar')
   await page.type('textarea >> nth=0', '#foo bar')