瀏覽代碼

update openReport.bat

hanojiang 2 年之前
父節點
當前提交
757493c2eb
共有 42 個文件被更改,包括 2 次插入1178 次删除
  1. 二進制
      Data/__pycache__/DataAccess.cpython-39.pyc
  2. 2 0
      openReport.bat
  3. 0 0
      report/app.js
  4. 0 2
      report/data/behaviors.csv
  5. 0 0
      report/data/behaviors.json
  6. 0 3
      report/data/categories.csv
  7. 0 1
      report/data/categories.json
  8. 0 0
      report/data/packages.json
  9. 0 280
      report/data/suites.csv
  10. 0 0
      report/data/suites.json
  11. 0 0
      report/data/timeline.json
  12. 0 13
      report/export/influxDbData.txt
  13. 0 10
      report/export/mail.html
  14. 0 13
      report/export/prometheusData.txt
  15. 二進制
      report/favicon.ico
  16. 0 1
      report/history/categories-trend.json
  17. 0 1
      report/history/duration-trend.json
  18. 0 1
      report/history/history-trend.json
  19. 0 0
      report/history/history.json
  20. 0 1
      report/history/retry-trend.json
  21. 0 23
      report/index.html
  22. 0 192
      report/plugins/behaviors/index.js
  23. 0 112
      report/plugins/packages/index.js
  24. 0 200
      report/plugins/screen-diff/index.js
  25. 0 30
      report/plugins/screen-diff/styles.css
  26. 0 3
      report/styles.css
  27. 0 1
      report/widgets/behaviors.json
  28. 0 1
      report/widgets/categories-trend.json
  29. 0 1
      report/widgets/categories.json
  30. 0 1
      report/widgets/duration-trend.json
  31. 0 0
      report/widgets/duration.json
  32. 0 1
      report/widgets/environment.json
  33. 0 1
      report/widgets/executors.json
  34. 0 1
      report/widgets/history-trend.json
  35. 0 1
      report/widgets/launch.json
  36. 0 1
      report/widgets/retry-trend.json
  37. 0 0
      report/widgets/severity.json
  38. 0 0
      report/widgets/status-chart.json
  39. 0 1
      report/widgets/suites.json
  40. 0 1
      report/widgets/summary.json
  41. 0 281
      reportname.html
  42. 二進制
      testcase/__pycache__/test_case.cpython-39-pytest-7.1.3.pyc

二進制
Data/__pycache__/DataAccess.cpython-39.pyc


+ 2 - 0
openReport.bat

@@ -1,2 +1,4 @@
+call ../pytest_venv/Scripts/activate.bat
+call python all.py
 call allure generate ./result/ -o ./report/ --clean
 call allure open report/

File diff suppressed because it is too large
+ 0 - 0
report/app.js


+ 0 - 2
report/data/behaviors.csv

@@ -1,2 +0,0 @@
-"Epic","Feature","Story","FAILED","BROKEN","PASSED","SKIPPED","UNKNOWN"
-"","","","1","1","33","0","0"

File diff suppressed because it is too large
+ 0 - 0
report/data/behaviors.json


+ 0 - 3
report/data/categories.csv

@@ -1,3 +0,0 @@
-"Category","FAILED","BROKEN","PASSED","SKIPPED","UNKNOWN"
-"Product defects","1","0","0","0","0"
-"Test defects","0","1","0","0","0"

+ 0 - 1
report/data/categories.json

@@ -1 +0,0 @@
-{"uid":"4b4757e66a1912dae1a509f688f20b0f","name":"categories","children":[{"name":"Test defects","children":[{"name":"AttributeError: 'NoneType' object has no attribute 'nsmap'","children":[{"name":"test_02_case[ComM-search_pattern12-ComMNmVariant-LIGHT]","uid":"f80582990c0c4e59","parentUid":"a35a0d29d0de30b2804d9d08cfb0f6de","status":"broken","time":{"start":1664095684300,"stop":1664095684301,"duration":1},"flaky":false,"newFailed":false,"newPassed":false,"newBroken":false,"retriesCount":0,"retriesStatusChange":false,"parameters":["'LIGHT'","'ComM'","'ComMNmVariant'","{'xpath_str': './/SHORT-NAME', 'xpath_text': 'LIN1', 'xpath_rule': 'CONTAINS'}"],"tags":[]}],"uid":"a35a0d29d0de30b2804d9d08cfb0f6de"}],"uid":"bdbf199525818fae7a8651db9eafe741"},{"name":"Product defects","children":[{"name":"AssertionError: assert True == False","children":[{"name":"test_03_case[CanIf-test_key-test_value-Search Pattern]","uid":"4170bafd855b3597","parentUid":"5efe198c1d680cedba43db81800ab16b","status":"failed","time":{"start":1664095684451,"stop":1664095684452,"duration":1},"flaky":false,"newFailed":false,"newPassed":false,"newBroken":false,"retriesCount":0,"retriesStatusChange":false,"parameters":["'Search Pattern'","'CanIf'","'test_value'","'test_key'"],"tags":[]}],"uid":"5efe198c1d680cedba43db81800ab16b"}],"uid":"8fb3a91ba5aaf9de24cc8a92edc82b5d"}]}

File diff suppressed because it is too large
+ 0 - 0
report/data/packages.json


+ 0 - 280
report/data/suites.csv

@@ -1,280 +0,0 @@
-"Status","Start Time","Stop Time","Duration in ms","Parent Suite","Suite","Sub Suite","Test Class","Test Method","Name","Description"
-"failed","Sun Sep 25 16:48:04 CST 2022","Sun Sep 25 16:48:04 CST 2022","1","testcase","test_case","","","","test_03_case[CanIf-test_key-test_value-Search Pattern]",""
-"broken","Sun Sep 25 16:48:04 CST 2022","Sun Sep 25 16:48:04 CST 2022","1","testcase","test_case","","","","test_02_case[ComM-search_pattern12-ComMNmVariant-LIGHT]","
-    该用例适用于测试 通过某种模式规则,定位到唯一的container, 该container包含的指定配置项,是否与期望值相同。
-    例如,可能多个container 都具有该配置项,但对于目标container, 可能和其他container 配置值不同。
-    :param module_name:
-    :param search_pattern:
-    :param param_name:
-    :param expect_value:
-    :return:
-    "
-"passed","Sun Sep 25 16:48:04 CST 2022","Sun Sep 25 16:48:04 CST 2022","2","testcase","test_case","","","","test_01_case[EthIf-EthIfVlanId-7]","
-    该用例适用于 对某一配置项值进行检查,可能有多个container 都具有该配置项,但所有配置项的值都相同,为一固定值。
-    当有一个值与预期值不匹配时,将报错。
-    :param module_name:
-    :param param_name:
-    :param expect_value:
-    :return:
-    "
-"passed","Sun Sep 25 16:48:03 CST 2022","Sun Sep 25 16:48:03 CST 2022","15","testcase","test_case","","","","test_01_case[Dem-DemClearDTCBehavior-DEM_CLRRESP_VOLATILE]","
-    该用例适用于 对某一配置项值进行检查,可能有多个container 都具有该配置项,但所有配置项的值都相同,为一固定值。
-    当有一个值与预期值不匹配时,将报错。
-    :param module_name:
-    :param param_name:
-    :param expect_value:
-    :return:
-    "
-"passed","Sun Sep 25 16:48:03 CST 2022","Sun Sep 25 16:48:03 CST 2022","15","testcase","test_case","","","","test_01_case[Dem-DemMaxNumberEventEntryPrimary-40]","
-    该用例适用于 对某一配置项值进行检查,可能有多个container 都具有该配置项,但所有配置项的值都相同,为一固定值。
-    当有一个值与预期值不匹配时,将报错。
-    :param module_name:
-    :param param_name:
-    :param expect_value:
-    :return:
-    "
-"passed","Sun Sep 25 16:48:04 CST 2022","Sun Sep 25 16:48:04 CST 2022","2","testcase","test_case","","","","test_02_case[ComM-search_pattern5-ComMNmVariant-FULL]","
-    该用例适用于测试 通过某种模式规则,定位到唯一的container, 该container包含的指定配置项,是否与期望值相同。
-    例如,可能多个container 都具有该配置项,但对于目标container, 可能和其他container 配置值不同。
-    :param module_name:
-    :param search_pattern:
-    :param param_name:
-    :param expect_value:
-    :return:
-    "
-"passed","Sun Sep 25 16:48:04 CST 2022","Sun Sep 25 16:48:04 CST 2022","4","testcase","test_case","","","","test_01_case[DoIP-DoIPControlIpAssignment-false]","
-    该用例适用于 对某一配置项值进行检查,可能有多个container 都具有该配置项,但所有配置项的值都相同,为一固定值。
-    当有一个值与预期值不匹配时,将报错。
-    :param module_name:
-    :param param_name:
-    :param expect_value:
-    :return:
-    "
-"passed","Sun Sep 25 16:48:03 CST 2022","Sun Sep 25 16:48:03 CST 2022","16","testcase","test_case","","","","test_01_case[Dem-DemWarningIndicatorRequestedProcessing-DEM_PROCESS_WIR_ALL_DTC]","
-    该用例适用于 对某一配置项值进行检查,可能有多个container 都具有该配置项,但所有配置项的值都相同,为一固定值。
-    当有一个值与预期值不匹配时,将报错。
-    :param module_name:
-    :param param_name:
-    :param expect_value:
-    :return:
-    "
-"passed","Sun Sep 25 16:48:03 CST 2022","Sun Sep 25 16:48:03 CST 2022","20","testcase","test_case","","","","test_01_case[Dcm-DcmResetToFblAfterSessionFinalResponseEnabled-true]","
-    该用例适用于 对某一配置项值进行检查,可能有多个container 都具有该配置项,但所有配置项的值都相同,为一固定值。
-    当有一个值与预期值不匹配时,将报错。
-    :param module_name:
-    :param param_name:
-    :param expect_value:
-    :return:
-    "
-"passed","Sun Sep 25 16:48:04 CST 2022","Sun Sep 25 16:48:04 CST 2022","2","testcase","test_case","","","","test_02_case[ComM-search_pattern6-ComMNmVariant-FULL]","
-    该用例适用于测试 通过某种模式规则,定位到唯一的container, 该container包含的指定配置项,是否与期望值相同。
-    例如,可能多个container 都具有该配置项,但对于目标container, 可能和其他container 配置值不同。
-    :param module_name:
-    :param search_pattern:
-    :param param_name:
-    :param expect_value:
-    :return:
-    "
-"passed","Sun Sep 25 16:48:03 CST 2022","Sun Sep 25 16:48:03 CST 2022","18","testcase","test_case","","","","test_01_case[Dcm-DcmSpecificCauseCodeEnabled-true0]","
-    该用例适用于 对某一配置项值进行检查,可能有多个container 都具有该配置项,但所有配置项的值都相同,为一固定值。
-    当有一个值与预期值不匹配时,将报错。
-    :param module_name:
-    :param param_name:
-    :param expect_value:
-    :return:
-    "
-"passed","Sun Sep 25 16:48:03 CST 2022","Sun Sep 25 16:48:03 CST 2022","17","testcase","test_case","","","","test_01_case[Dem-DemImmediateNvStorage-true]","
-    该用例适用于 对某一配置项值进行检查,可能有多个container 都具有该配置项,但所有配置项的值都相同,为一固定值。
-    当有一个值与预期值不匹配时,将报错。
-    :param module_name:
-    :param param_name:
-    :param expect_value:
-    :return:
-    "
-"passed","Sun Sep 25 16:48:04 CST 2022","Sun Sep 25 16:48:04 CST 2022","1","testcase","test_case","","","","test_02_case[ComM-search_pattern4-ComMNmVariant-FULL]","
-    该用例适用于测试 通过某种模式规则,定位到唯一的container, 该container包含的指定配置项,是否与期望值相同。
-    例如,可能多个container 都具有该配置项,但对于目标container, 可能和其他container 配置值不同。
-    :param module_name:
-    :param search_pattern:
-    :param param_name:
-    :param expect_value:
-    :return:
-    "
-"passed","Sun Sep 25 16:48:03 CST 2022","Sun Sep 25 16:48:03 CST 2022","8","testcase","test_case","","","","test_01_case[CanTp-CanTpChannelMode-CANTP_MODE_FULL_DUPLEX]","
-    该用例适用于 对某一配置项值进行检查,可能有多个container 都具有该配置项,但所有配置项的值都相同,为一固定值。
-    当有一个值与预期值不匹配时,将报错。
-    :param module_name:
-    :param param_name:
-    :param expect_value:
-    :return:
-    "
-"passed","Sun Sep 25 16:48:04 CST 2022","Sun Sep 25 16:48:04 CST 2022","2","testcase","test_case","","","","test_02_case[ComM-search_pattern10-ComMNmVariant-FULL]","
-    该用例适用于测试 通过某种模式规则,定位到唯一的container, 该container包含的指定配置项,是否与期望值相同。
-    例如,可能多个container 都具有该配置项,但对于目标container, 可能和其他container 配置值不同。
-    :param module_name:
-    :param search_pattern:
-    :param param_name:
-    :param expect_value:
-    :return:
-    "
-"passed","Sun Sep 25 16:48:03 CST 2022","Sun Sep 25 16:48:04 CST 2022","7","testcase","test_case","","","","test_01_case[CanTp-CanTpMainFunctionPeriod-0.005]","
-    该用例适用于 对某一配置项值进行检查,可能有多个container 都具有该配置项,但所有配置项的值都相同,为一固定值。
-    当有一个值与预期值不匹配时,将报错。
-    :param module_name:
-    :param param_name:
-    :param expect_value:
-    :return:
-    "
-"passed","Sun Sep 25 16:48:04 CST 2022","Sun Sep 25 16:48:04 CST 2022","3","testcase","test_case","","","","test_01_case[DoIP-DoIPTcpTxMgtQueueSize-31]","
-    该用例适用于 对某一配置项值进行检查,可能有多个container 都具有该配置项,但所有配置项的值都相同,为一固定值。
-    当有一个值与预期值不匹配时,将报错。
-    :param module_name:
-    :param param_name:
-    :param expect_value:
-    :return:
-    "
-"passed","Sun Sep 25 16:48:03 CST 2022","Sun Sep 25 16:48:03 CST 2022","16","testcase","test_case","","","","test_01_case[Dem-DemPendingDtcProcessing-DEM_PROCESS_PDTC_ALL_DTC]","
-    该用例适用于 对某一配置项值进行检查,可能有多个container 都具有该配置项,但所有配置项的值都相同,为一固定值。
-    当有一个值与预期值不匹配时,将报错。
-    :param module_name:
-    :param param_name:
-    :param expect_value:
-    :return:
-    "
-"passed","Sun Sep 25 16:48:04 CST 2022","Sun Sep 25 16:48:04 CST 2022","11","testcase","test_case","","","","test_01_case[Ea-EaNumberOfWriteCycles-1000000]","
-    该用例适用于 对某一配置项值进行检查,可能有多个container 都具有该配置项,但所有配置项的值都相同,为一固定值。
-    当有一个值与预期值不匹配时,将报错。
-    :param module_name:
-    :param param_name:
-    :param expect_value:
-    :return:
-    "
-"passed","Sun Sep 25 16:48:04 CST 2022","Sun Sep 25 16:48:04 CST 2022","1","testcase","test_case","","","","test_02_case[ComM-search_pattern9-ComMNmVariant-FULL]","
-    该用例适用于测试 通过某种模式规则,定位到唯一的container, 该container包含的指定配置项,是否与期望值相同。
-    例如,可能多个container 都具有该配置项,但对于目标container, 可能和其他container 配置值不同。
-    :param module_name:
-    :param search_pattern:
-    :param param_name:
-    :param expect_value:
-    :return:
-    "
-"passed","Sun Sep 25 16:48:04 CST 2022","Sun Sep 25 16:48:04 CST 2022","1","testcase","test_case","","","","test_02_case[ComM-search_pattern7-ComMNmVariant-FULL]","
-    该用例适用于测试 通过某种模式规则,定位到唯一的container, 该container包含的指定配置项,是否与期望值相同。
-    例如,可能多个container 都具有该配置项,但对于目标container, 可能和其他container 配置值不同。
-    :param module_name:
-    :param search_pattern:
-    :param param_name:
-    :param expect_value:
-    :return:
-    "
-"passed","Sun Sep 25 16:48:04 CST 2022","Sun Sep 25 16:48:04 CST 2022","55","testcase","test_case","","","","test_02_case[Rte-search_pattern0-RteExclusiveAreaImplMechanism-NONE]","
-    该用例适用于测试 通过某种模式规则,定位到唯一的container, 该container包含的指定配置项,是否与期望值相同。
-    例如,可能多个container 都具有该配置项,但对于目标container, 可能和其他container 配置值不同。
-    :param module_name:
-    :param search_pattern:
-    :param param_name:
-    :param expect_value:
-    :return:
-    "
-"passed","Sun Sep 25 16:48:04 CST 2022","Sun Sep 25 16:48:04 CST 2022","2","testcase","test_case","","","","test_01_case[ComM-ComMMainFunctionPeriod-0.01]","
-    该用例适用于 对某一配置项值进行检查,可能有多个container 都具有该配置项,但所有配置项的值都相同,为一固定值。
-    当有一个值与预期值不匹配时,将报错。
-    :param module_name:
-    :param param_name:
-    :param expect_value:
-    :return:
-    "
-"passed","Sun Sep 25 16:48:04 CST 2022","Sun Sep 25 16:48:04 CST 2022","2","testcase","test_case","","","","test_02_case[ComM-search_pattern11-ComMNmVariant-LIGHT]","
-    该用例适用于测试 通过某种模式规则,定位到唯一的container, 该container包含的指定配置项,是否与期望值相同。
-    例如,可能多个container 都具有该配置项,但对于目标container, 可能和其他container 配置值不同。
-    :param module_name:
-    :param search_pattern:
-    :param param_name:
-    :param expect_value:
-    :return:
-    "
-"passed","Sun Sep 25 16:48:04 CST 2022","Sun Sep 25 16:48:04 CST 2022","62","testcase","test_case","","","","test_02_case[Rte-search_pattern2-RteExclusiveAreaImplMechanism-NONE]","
-    该用例适用于测试 通过某种模式规则,定位到唯一的container, 该container包含的指定配置项,是否与期望值相同。
-    例如,可能多个container 都具有该配置项,但对于目标container, 可能和其他container 配置值不同。
-    :param module_name:
-    :param search_pattern:
-    :param param_name:
-    :param expect_value:
-    :return:
-    "
-"passed","Sun Sep 25 16:48:04 CST 2022","Sun Sep 25 16:48:04 CST 2022","2","testcase","test_case","","","","test_02_case[ComM-search_pattern8-ComMNmVariant-LIGHT]","
-    该用例适用于测试 通过某种模式规则,定位到唯一的container, 该container包含的指定配置项,是否与期望值相同。
-    例如,可能多个container 都具有该配置项,但对于目标container, 可能和其他container 配置值不同。
-    :param module_name:
-    :param search_pattern:
-    :param param_name:
-    :param expect_value:
-    :return:
-    "
-"passed","Sun Sep 25 16:48:04 CST 2022","Sun Sep 25 16:48:04 CST 2022","393","testcase","test_case","","","","test_04_case",""
-"passed","Sun Sep 25 16:48:03 CST 2022","Sun Sep 25 16:48:03 CST 2022","16","testcase","test_case","","","","test_01_case[Dem-DemTypeOfFreezeFrameRecordNumeration-DEM_FF_RECNUM_CONFIGURED]","
-    该用例适用于 对某一配置项值进行检查,可能有多个container 都具有该配置项,但所有配置项的值都相同,为一固定值。
-    当有一个值与预期值不匹配时,将报错。
-    :param module_name:
-    :param param_name:
-    :param expect_value:
-    :return:
-    "
-"passed","Sun Sep 25 16:48:04 CST 2022","Sun Sep 25 16:48:04 CST 2022","1","testcase","test_case","","","","test_01_case[EthIf-EthIfTrcvLinkStateChgMainReload-50]","
-    该用例适用于 对某一配置项值进行检查,可能有多个container 都具有该配置项,但所有配置项的值都相同,为一固定值。
-    当有一个值与预期值不匹配时,将报错。
-    :param module_name:
-    :param param_name:
-    :param expect_value:
-    :return:
-    "
-"passed","Sun Sep 25 16:48:04 CST 2022","Sun Sep 25 16:48:04 CST 2022","1","testcase","test_case","","","","test_01_case[EthTrcv-EthTrcvHwAccessMonitorPeriod-1]","
-    该用例适用于 对某一配置项值进行检查,可能有多个container 都具有该配置项,但所有配置项的值都相同,为一固定值。
-    当有一个值与预期值不匹配时,将报错。
-    :param module_name:
-    :param param_name:
-    :param expect_value:
-    :return:
-    "
-"passed","Sun Sep 25 16:48:03 CST 2022","Sun Sep 25 16:48:03 CST 2022","19","testcase","test_case","","","","test_01_case[Dem-DemResetConfirmedBitOnOverflow-false]","
-    该用例适用于 对某一配置项值进行检查,可能有多个container 都具有该配置项,但所有配置项的值都相同,为一固定值。
-    当有一个值与预期值不匹配时,将报错。
-    :param module_name:
-    :param param_name:
-    :param expect_value:
-    :return:
-    "
-"passed","Sun Sep 25 16:48:04 CST 2022","Sun Sep 25 16:48:04 CST 2022","54","testcase","test_case","","","","test_02_case[Rte-search_pattern1-RteExclusiveAreaImplMechanism-NONE]","
-    该用例适用于测试 通过某种模式规则,定位到唯一的container, 该container包含的指定配置项,是否与期望值相同。
-    例如,可能多个container 都具有该配置项,但对于目标container, 可能和其他container 配置值不同。
-    :param module_name:
-    :param search_pattern:
-    :param param_name:
-    :param expect_value:
-    :return:
-    "
-"passed","Sun Sep 25 16:48:04 CST 2022","Sun Sep 25 16:48:04 CST 2022","2","testcase","test_case","","","","test_02_case[TcpIp-search_pattern3-TcpIpAssignmentTrigger-TCPIP_MANUAL]","
-    该用例适用于测试 通过某种模式规则,定位到唯一的container, 该container包含的指定配置项,是否与期望值相同。
-    例如,可能多个container 都具有该配置项,但对于目标container, 可能和其他container 配置值不同。
-    :param module_name:
-    :param search_pattern:
-    :param param_name:
-    :param expect_value:
-    :return:
-    "
-"passed","Sun Sep 25 16:48:04 CST 2022","Sun Sep 25 16:48:04 CST 2022","6","testcase","test_case","","","","test_01_case[CanTp-CanTpEnableSynchronousTransmit-true]","
-    该用例适用于 对某一配置项值进行检查,可能有多个container 都具有该配置项,但所有配置项的值都相同,为一固定值。
-    当有一个值与预期值不匹配时,将报错。
-    :param module_name:
-    :param param_name:
-    :param expect_value:
-    :return:
-    "
-"passed","Sun Sep 25 16:48:03 CST 2022","Sun Sep 25 16:48:03 CST 2022","18","testcase","test_case","","","","test_01_case[Dcm-DcmSpecificCauseCodeEnabled-true1]","
-    该用例适用于 对某一配置项值进行检查,可能有多个container 都具有该配置项,但所有配置项的值都相同,为一固定值。
-    当有一个值与预期值不匹配时,将报错。
-    :param module_name:
-    :param param_name:
-    :param expect_value:
-    :return:
-    "

File diff suppressed because it is too large
+ 0 - 0
report/data/suites.json


File diff suppressed because it is too large
+ 0 - 0
report/data/timeline.json


+ 0 - 13
report/export/influxDbData.txt

@@ -1,13 +0,0 @@
-launch_status failed=1 1664095692000000000
-launch_status broken=1 1664095692000000000
-launch_status passed=33 1664095692000000000
-launch_status skipped=0 1664095692000000000
-launch_status unknown=0 1664095692000000000
-launch_time duration=1060 1664095692000000000
-launch_time min_duration=1 1664095692000000000
-launch_time max_duration=393 1664095692000000000
-launch_time sum_duration=796 1664095692000000000
-launch_problems product_defects=1 1664095692000000000
-launch_problems test_defects=1 1664095692000000000
-launch_retries retries=0 1664095692000000000
-launch_retries run=35 1664095692000000000

+ 0 - 10
report/export/mail.html

@@ -1,10 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-    <meta charset="utf-8">
-    <title>Allure Report summary mail</title>
-</head>
-<body>
-    Mail body
-</body>
-</html>

+ 0 - 13
report/export/prometheusData.txt

@@ -1,13 +0,0 @@
-launch_status_failed 1
-launch_status_broken 1
-launch_status_passed 33
-launch_status_skipped 0
-launch_status_unknown 0
-launch_time_duration 1060
-launch_time_min_duration 1
-launch_time_max_duration 393
-launch_time_sum_duration 796
-launch_problems_product_defects 1
-launch_problems_test_defects 1
-launch_retries_retries 0
-launch_retries_run 35

二進制
report/favicon.ico


+ 0 - 1
report/history/categories-trend.json

@@ -1 +0,0 @@
-[{"data":{"Product defects":1,"Test defects":1}}]

+ 0 - 1
report/history/duration-trend.json

@@ -1 +0,0 @@
-[{"data":{"duration":1060}}]

+ 0 - 1
report/history/history-trend.json

@@ -1 +0,0 @@
-[{"data":{"failed":1,"broken":1,"skipped":0,"passed":33,"unknown":0,"total":35}}]

File diff suppressed because it is too large
+ 0 - 0
report/history/history.json


+ 0 - 1
report/history/retry-trend.json

@@ -1 +0,0 @@
-[{"data":{"run":35,"retry":0}}]

+ 0 - 23
report/index.html

@@ -1,23 +0,0 @@
-<!DOCTYPE html>
-<html dir="ltr">
-<head>
-    <meta charset="utf-8">
-    <title>Allure Report</title>
-    <link rel="favicon" href="favicon.ico?v=2">
-    <link rel="stylesheet" type="text/css" href="styles.css">
-        <link rel="stylesheet" href="plugins/screen-diff/styles.css">
-</head>
-<body>
-<div id="alert"></div>
-<div id="content">
-    <span class="spinner">
-        <span class="spinner__circle"></span>
-    </span>
-</div>
-<div id="popup"></div>
-<script src="app.js"></script>
-    <script src="plugins/behaviors/index.js"></script>
-    <script src="plugins/packages/index.js"></script>
-    <script src="plugins/screen-diff/index.js"></script>
-</body>
-</html>

+ 0 - 192
report/plugins/behaviors/index.js

@@ -1,192 +0,0 @@
-'use strict';
-
-allure.api.addTranslation('en', {
-    tab: {
-        behaviors: {
-            name: 'Behaviors'
-        }
-    },
-    widget: {
-        behaviors: {
-            name: 'Features by stories',
-            showAll: 'show all'
-        }
-    }
-});
-
-allure.api.addTranslation('ru', {
-    tab: {
-        behaviors: {
-            name: 'Функциональность'
-        }
-    },
-    widget: {
-        behaviors: {
-            name: 'Функциональность',
-            showAll: 'показать все'
-        }
-    }
-});
-
-allure.api.addTranslation('zh', {
-    tab: {
-        behaviors: {
-            name: '功能'
-        }
-    },
-    widget: {
-        behaviors: {
-            name: '特性场景',
-            showAll: '显示所有'
-        }
-    }
-});
-
-allure.api.addTranslation('de', {
-    tab: {
-        behaviors: {
-            name: 'Verhalten'
-        }
-    },
-    widget: {
-        behaviors: {
-            name: 'Features nach Stories',
-            showAll: 'Zeige alle'
-        }
-    }
-});
-
-allure.api.addTranslation('nl', {
-    tab: {
-        behaviors: {
-            name: 'Functionaliteit'
-        }
-    },
-    widget: {
-        behaviors: {
-            name: 'Features en story’s',
-            showAll: 'Toon alle'
-        }
-    }
-});
-
-allure.api.addTranslation('he', {
-    tab: {
-        behaviors: {
-            name: 'התנהגויות'
-        }
-    },
-    widget: {
-        behaviors: {
-            name: 'תכונות לפי סיפורי משתמש',
-            showAll: 'הצג הכול'
-        }
-    }
-});
-
-allure.api.addTranslation('br', {
-    tab: {
-        behaviors: {
-            name: 'Comportamentos'
-        }
-    },
-    widget: {
-        behaviors: {
-            name: 'Funcionalidades por história',
-            showAll: 'Mostrar tudo'
-        }
-    }
-});
-
-allure.api.addTranslation('ja', {
-    tab: {
-        behaviors: {
-            name: '振る舞い'
-        }
-    },
-    widget: {
-        behaviors: {
-            name: 'ストーリー別の機能',
-            showAll: '全て表示'
-        }
-    }
-});
-
-allure.api.addTranslation('es', {
-    tab: {
-        behaviors: {
-            name: 'Funcionalidades'
-        }
-    },
-    widget: {
-        behaviors: {
-            name: 'Funcionalidades por Historias de Usuario',
-            showAll: 'mostrar todo'
-        }
-    }
-});
-
-allure.api.addTranslation('kr', {
-    tab: {
-        behaviors: {
-            name: '동작'
-        }
-    },
-    widget: {
-        behaviors: {
-            name: '스토리별 기능',
-            showAll: '전체 보기'
-        }
-    }
-});
-
-allure.api.addTranslation('fr', {
-    tab: {
-        behaviors: {
-            name: 'Comportements'
-        }
-    },
-    widget: {
-        behaviors: {
-            name: 'Thèmes par histoires',
-            showAll: 'Montrer tout'
-        }
-    }
-});
-
-allure.api.addTranslation('pl', {
-    tab: {
-        behaviors: {
-            name: 'Zachowania'
-        }
-    },
-    widget: {
-        behaviors: {
-            name: 'Funkcje według historii',
-            showAll: 'pokaż wszystko'
-        }
-    }
-});
-
-allure.api.addTab('behaviors', {
-    title: 'tab.behaviors.name', icon: 'fa fa-list',
-    route: 'behaviors(/)(:testGroup)(/)(:testResult)(/)(:testResultTab)(/)',
-    onEnter: (function (testGroup, testResult, testResultTab) {
-        return new allure.components.TreeLayout({
-            testGroup: testGroup,
-            testResult: testResult,
-            testResultTab: testResultTab,
-            tabName: 'tab.behaviors.name',
-            baseUrl: 'behaviors',
-            url: 'data/behaviors.json',
-            csvUrl: 'data/behaviors.csv'
-        });
-    })
-});
-
-allure.api.addWidget('widgets', 'behaviors', allure.components.WidgetStatusView.extend({
-    rowTag: 'a',
-    title: 'widget.behaviors.name',
-    baseUrl: 'behaviors',
-    showLinks: true
-}));

+ 0 - 112
report/plugins/packages/index.js

@@ -1,112 +0,0 @@
-'use strict';
-
-allure.api.addTranslation('en', {
-    tab: {
-        packages: {
-            name: 'Packages'
-        }
-    }
-});
-
-allure.api.addTranslation('ru', {
-    tab: {
-        packages: {
-            name: 'Пакеты'
-        }
-    }
-});
-
-allure.api.addTranslation('zh', {
-    tab: {
-        packages: {
-            name: '包'
-        }
-    }
-});
-
-allure.api.addTranslation('de', {
-    tab: {
-        packages: {
-            name: 'Pakete'
-        }
-    }
-});
-
-allure.api.addTranslation('nl', {
-    tab: {
-        packages: {
-            name: 'Packages'
-        }
-    }
-});
-
-allure.api.addTranslation('he', {
-    tab: {
-        packages: {
-            name: 'חבילות'
-        }
-    }
-});
-
-allure.api.addTranslation('br', {
-    tab: {
-        packages: {
-            name: 'Pacotes'
-        }
-    }
-});
-
-allure.api.addTranslation('ja', {
-    tab: {
-        packages: {
-            name: 'パッケージ'
-        }
-    }
-});
-
-allure.api.addTranslation('es', {
-    tab: {
-        packages: {
-            name: 'Paquetes'
-        }
-    }
-});
-
-allure.api.addTranslation('kr', {
-    tab: {
-        packages: {
-            name: '패키지'
-        }
-    }
-});
-
-allure.api.addTranslation('fr', {
-    tab: {
-        packages: {
-            name: 'Paquets'
-        }
-    }
-});
-
-allure.api.addTranslation('pl', {
-    tab: {
-        packages: {
-            name: 'Pakiety'
-        }
-    }
-});
-
-allure.api.addTab('packages', {
-    title: 'tab.packages.name', icon: 'fa fa-align-left',
-    route: 'packages(/)(:testGroup)(/)(:testResult)(/)(:testResultTab)(/)',
-    onEnter: (function (testGroup, testResult, testResultTab) {
-        return new allure.components.TreeLayout({
-            testGroup: testGroup,
-            testResult: testResult,
-            testResultTab: testResultTab,
-            tabName: 'tab.packages.name',
-            baseUrl: 'packages',
-            url: 'data/packages.json'
-        });
-    })
-});

+ 0 - 200
report/plugins/screen-diff/index.js

@@ -1,200 +0,0 @@
-(function () {
-    var settings = allure.getPluginSettings('screen-diff', { diffType: 'diff' });
-
-    function renderImage(src) {
-        return (
-            '<div class="screen-diff__container">' +
-            '<img class="screen-diff__image" src="' +
-            src +
-            '">' +
-            '</div>'
-        );
-    }
-
-    function findImage(data, name) {
-        if (data.testStage && data.testStage.attachments) {
-            var matchedImage = data.testStage.attachments.filter(function (attachment) {
-                return attachment.name === name;
-            })[0];
-            if (matchedImage) {
-                return 'data/attachments/' + matchedImage.source;
-            }
-        }
-        return null;
-    }
-
-    function renderDiffContent(type, diffImage, actualImage, expectedImage) {
-        if (type === 'diff') {
-            if (diffImage) {
-                return renderImage(diffImage);
-            }
-        }
-        if (type === 'overlay' && expectedImage) {
-            return (
-                '<div class="screen-diff__overlay screen-diff__container">' +
-                '<img class="screen-diff__image" src="' +
-                expectedImage +
-                '">' +
-                '<div class="screen-diff__image-over">' +
-                '<img class="screen-diff__image" src="' +
-                actualImage +
-                '">' +
-                '</div>' +
-                '</div>'
-            );
-        }
-        if (actualImage) {
-            return renderImage(actualImage);
-        }
-        return 'No diff data provided';
-    }
-
-    var TestResultView = Backbone.Marionette.View.extend({
-        regions: {
-            subView: '.screen-diff-view',
-        },
-        template: function () {
-            return '<div class="screen-diff-view"></div>';
-        },
-        onRender: function () {
-            var data = this.model.toJSON();
-            var testType = data.labels.filter(function (label) {
-                return label.name === 'testType';
-            })[0];
-            var diffImage = findImage(data, 'diff');
-            var actualImage = findImage(data, 'actual');
-            var expectedImage = findImage(data, 'expected');
-            if (!testType || testType.value !== 'screenshotDiff') {
-                return;
-            }
-            this.showChildView(
-                'subView',
-                new ScreenDiffView({
-                    diffImage: diffImage,
-                    actualImage: actualImage,
-                    expectedImage: expectedImage,
-                }),
-            );
-        },
-    });
-    var ErrorView = Backbone.Marionette.View.extend({
-        templateContext: function () {
-            return this.options;
-        },
-        template: function (data) {
-            return '<pre class="screen-diff-error">' + data.error + '</pre>';
-        },
-    });
-    var AttachmentView = Backbone.Marionette.View.extend({
-        regions: {
-            subView: '.screen-diff-view',
-        },
-        template: function () {
-            return '<div class="screen-diff-view"></div>';
-        },
-        onRender: function () {
-            jQuery
-                .getJSON(this.options.sourceUrl)
-                .then(this.renderScreenDiffView.bind(this), this.renderErrorView.bind(this));
-        },
-        renderErrorView: function (error) {
-            console.log(error);
-            this.showChildView(
-                'subView',
-                new ErrorView({
-                    error: error.statusText,
-                }),
-            );
-        },
-        renderScreenDiffView: function (data) {
-            this.showChildView(
-                'subView',
-                new ScreenDiffView({
-                    diffImage: data.diff,
-                    actualImage: data.actual,
-                    expectedImage: data.expected,
-                }),
-            );
-        },
-    });
-
-    var ScreenDiffView = Backbone.Marionette.View.extend({
-        className: 'pane__section',
-        events: function () {
-            return {
-                ['click [name="screen-diff-type-' + this.cid + '"]']: 'onDiffTypeChange',
-                'mousemove .screen-diff__overlay': 'onOverlayMove',
-            };
-        },
-        initialize: function (options) {
-            this.diffImage = options.diffImage;
-            this.actualImage = options.actualImage;
-            this.expectedImage = options.expectedImage;
-            this.radioName = 'screen-diff-type-' + this.cid;
-        },
-        templateContext: function () {
-            return {
-                diffType: settings.get('diffType'),
-                diffImage: this.diffImage,
-                actualImage: this.actualImage,
-                expectedImage: this.expectedImage,
-                radioName: this.radioName,
-            };
-        },
-        template: function (data) {
-            if (!data.diffImage && !data.actualImage && !data.expectedImage) {
-                return '';
-            }
-
-            return (
-                '<h3 class="pane__section-title">Screen Diff</h3>' +
-                '<div class="screen-diff__content">' +
-                '<div class="screen-diff__switchers">' +
-                '<label><input type="radio" name="' +
-                data.radioName +
-                '" value="diff"> Show diff</label>' +
-                '<label><input type="radio" name="' +
-                data.radioName +
-                '" value="overlay"> Show overlay</label>' +
-                '</div>' +
-                renderDiffContent(
-                    data.diffType,
-                    data.diffImage,
-                    data.actualImage,
-                    data.expectedImage,
-                ) +
-                '</div>'
-            );
-        },
-        adjustImageSize: function (event) {
-            var overImage = this.$(event.target);
-            overImage.width(overImage.width());
-        },
-        onRender: function () {
-            const diffType = settings.get('diffType');
-            this.$('[name="' + this.radioName + '"][value="' + diffType + '"]').prop(
-                'checked',
-                true,
-            );
-            if (diffType === 'overlay') {
-                this.$('.screen-diff__image-over img').on('load', this.adjustImageSize.bind(this));
-            }
-        },
-        onOverlayMove: function (event) {
-            var pageX = event.pageX;
-            var containerScroll = this.$('.screen-diff__container').scrollLeft();
-            var elementX = event.currentTarget.getBoundingClientRect().left;
-            var delta = pageX - elementX + containerScroll;
-            this.$('.screen-diff__image-over').width(delta);
-        },
-        onDiffTypeChange: function (event) {
-            settings.save('diffType', event.target.value);
-            this.render();
-        },
-    });
-    allure.api.addTestResultBlock(TestResultView, { position: 'before' });
-    allure.api.addAttachmentViewer('application/vnd.allure.image.diff', {
-        View: AttachmentView,
-        icon: 'fa fa-exchange',
-    });
-})();

+ 0 - 30
report/plugins/screen-diff/styles.css

@@ -1,30 +0,0 @@
-.screen-diff__switchers {
-  margin-bottom: 1em;
-}
-
-.screen-diff__switchers label + label {
-  margin-left: 1em;
-}
-
-.screen-diff__overlay {
-  position: relative;
-  cursor: col-resize;
-}
-
-.screen-diff__container {
-  overflow-x: auto;
-}
-
-.screen-diff__image-over {
-  top: 0;
-  left: 0;
-  bottom: 0;
-  background: #fff;
-  position: absolute;
-  overflow: hidden;
-  box-shadow: 2px 0 1px -1px #aaa;
-}
-
-.screen-diff-error {
-  color: #fd5a3e;
-}

File diff suppressed because it is too large
+ 0 - 3
report/styles.css


+ 0 - 1
report/widgets/behaviors.json

@@ -1 +0,0 @@
-{"total":35,"items":[]}

+ 0 - 1
report/widgets/categories-trend.json

@@ -1 +0,0 @@
-[{"data":{"Product defects":1,"Test defects":1}}]

+ 0 - 1
report/widgets/categories.json

@@ -1 +0,0 @@
-{"total":2,"items":[{"uid":"8fb3a91ba5aaf9de24cc8a92edc82b5d","name":"Product defects","statistic":{"failed":1,"broken":0,"skipped":0,"passed":0,"unknown":0,"total":1}},{"uid":"bdbf199525818fae7a8651db9eafe741","name":"Test defects","statistic":{"failed":0,"broken":1,"skipped":0,"passed":0,"unknown":0,"total":1}}]}

+ 0 - 1
report/widgets/duration-trend.json

@@ -1 +0,0 @@
-[{"data":{"duration":1060}}]

File diff suppressed because it is too large
+ 0 - 0
report/widgets/duration.json


+ 0 - 1
report/widgets/environment.json

@@ -1 +0,0 @@
-[]

+ 0 - 1
report/widgets/executors.json

@@ -1 +0,0 @@
-[]

+ 0 - 1
report/widgets/history-trend.json

@@ -1 +0,0 @@
-[{"data":{"failed":1,"broken":1,"skipped":0,"passed":33,"unknown":0,"total":35}}]

+ 0 - 1
report/widgets/launch.json

@@ -1 +0,0 @@
-[]

+ 0 - 1
report/widgets/retry-trend.json

@@ -1 +0,0 @@
-[{"data":{"run":35,"retry":0}}]

File diff suppressed because it is too large
+ 0 - 0
report/widgets/severity.json


File diff suppressed because it is too large
+ 0 - 0
report/widgets/status-chart.json


+ 0 - 1
report/widgets/suites.json

@@ -1 +0,0 @@
-{"total":1,"items":[{"uid":"7d3977dcbf31acd3e26ecbe96342e45e","name":"testcase","statistic":{"failed":1,"broken":1,"skipped":0,"passed":33,"unknown":0,"total":35}}]}

+ 0 - 1
report/widgets/summary.json

@@ -1 +0,0 @@
-{"reportName":"Allure Report","testRuns":[],"statistic":{"failed":1,"broken":1,"skipped":0,"passed":33,"unknown":0,"total":35},"time":{"start":1664095683789,"stop":1664095684849,"duration":1060,"minDuration":1,"maxDuration":393,"sumDuration":796}}

File diff suppressed because it is too large
+ 0 - 281
reportname.html


二進制
testcase/__pycache__/test_case.cpython-39-pytest-7.1.3.pyc


Some files were not shown because too many files changed in this diff