Explorar o código

test: add more percy snapshot

wangweimin %!s(int64=4) %!d(string=hai) anos
pai
achega
9b872a8e33
Modificáronse 1 ficheiros con 1 adicións e 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()