Explorar el Código

test: add more percy snapshot

wangweimin hace 4 años
padre
commit
9b872a8e33
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      test/template.py

+ 1 - 0
test/template.py

@@ -258,6 +258,7 @@ def test_output(browser: Chrome, enable_percy=False):
 
     """
     time.sleep(0.5)  # 等待输出完毕
+    enable_percy and percySnapshot(browser=browser, name='begin output')
 
     # get focus
     browser.find_element_by_tag_name('body').click()