DONE: Bug540-XiongJiaming #125
No reviewers
Labels
No Label
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: mrlan/EnglishPal#125
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "Bug540-XiongJiaming"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
WIP: Bug540-XiongJiamingto WIP: Bug540-XiongJiamingWIP: Bug540-XiongJiamingto WIP: Bug540-XiongJiamingWIP: Bug540-XiongJiamingto Bug540-XiongJiaming@xiongjiaming
验证了一下,点击“标记文章”按钮,文章的题目会出现在右边的下拉列表中。
需要做以下改进
下拉列表中第一条不能为空,应该是最新标记的文章
点击下拉列表中的文章题目,跳转到那篇文章
Bug
退出后再登录,下拉列表中显示“selectedWords”,这个显然不是文章标题
已改进
下拉列表中第一条不能为空,应该是最新标记的文章
点击下拉列表中的文章题目,跳转到那篇文章
需要将之前存储在localstorage中的内容清空,利用localstorage.clear(),只对最新标记的文章有效
Bug 退出后再登录,下拉列表中显示“selectedWords”,这个显然不是文章标题
已修复
@mrlan
@xiongjiaming
很不错,已经可以通过点击下列列表中的某个选项,实现文章跳转了。
还有个小问题:现在下拉列表中 selectedWords 还存在,请检查并修复。
@ -0,0 +42,4 @@
# 输出异常信息
logging.error(e)
# 关闭浏览器
driver.quit()
@xiongjiaming
请删除
driver.quit()
因为 finally 里头有这个语句,可以确保 driver.quit() 总会被执行
已删除
@xiongjiaming
请与目标分支同步一下,然后运行以下命令,确保能够通过所有测试。
pytest --html=pytest_report.html test_bug540_xiongjiaming.py test_bug545_HuangHuiLing.py test_bug551_DingZeYu.py test_bug528_tangjiao.py test_add_word.py test_bug544_tangxinyuan.py test_bug553_LinShan.py
After reviewing your test script, I find it well-structured with effective error handling and modular functions, demonstrating professionalism. To further improve, consider implementing utility functions for wait conditions and ensuring proper browser closure using a finally block, which would enhance its robustness and maintainability.
7b979fa079
tod83809dcc7
已经修复会出意外出现selectedWords的问题
已经运行过测试,但有几个失败了,查找问题似乎与selenium的版本有关
@mrlan
Bug540-XiongJiamingto Bug540-XiongJiamingBug540-XiongJiamingto DONE: Bug540-XiongJiamingDONE: Bug540-XiongJiamingto DONE: Bug540-XiongJiaming