diff options
| author | guowenzheng <[email protected]> | 2024-11-27 19:38:16 +0800 |
|---|---|---|
| committer | guowenzheng <[email protected]> | 2024-11-27 19:38:16 +0800 |
| commit | 99600951e60e7558c1089a2fc504a66b11ccd45c (patch) | |
| tree | d91bb83589b713b262bba09ed798df9727674419 /common/ui_common/objects/intervals.py | |
| parent | a75f5d2125fc403381e5f583551751c0da4d2d24 (diff) | |
Diffstat (limited to 'common/ui_common/objects/intervals.py')
| -rw-r--r-- | common/ui_common/objects/intervals.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/common/ui_common/objects/intervals.py b/common/ui_common/objects/intervals.py index cb7f0838..3cd77751 100644 --- a/common/ui_common/objects/intervals.py +++ b/common/ui_common/objects/intervals.py @@ -113,7 +113,7 @@ class Intervals: # no_modify = False if self.object_type == 0: # single Object self._operate_name(data, no_modify=no_modify) - # self._operate_object_statistics(data, no_modify=no_modify) + self._operate_object_statistics(data, no_modify=no_modify) self._operate_items(data, data_index=data_index, no_modify=no_modify) self._operate_description(data, no_modify=no_modify) else: # Object group @@ -139,9 +139,9 @@ class Intervals: def _select_object_statistics(self, my_object_statistics): # 展开下拉框 self.driver.find_element(By.XPATH, acc_ObjectDetailPage_objectStatistics_dropDown_posXpath).click() - if my_object_statistics == "Elaborate": + if my_object_statistics == "Brief": self.driver.find_element(By.XPATH, object_page_ln_select_statistics_elaborate_posXpath).click() - elif my_object_statistics == "Brief": + elif my_object_statistics == "Elaborate": self.driver.find_element(By.XPATH, object_page_ln_select_statistics_brief_posXpath).click() else: pass # 默认为None |
