Bug544-TangXinyuan #105
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#105
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "Bug544-TangXinyuan"
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?
解决了有时我们可能会意外关闭网页并丢失所有内容。 希望通过读取 localStorage 实现重新打开网页后,之前输入的所有内容都仍然存在。
Fix bug 544to Bug544-TangXinyuan@tangxinyuan
Thanks
请将测试脚本的文件名改为 test_bug544_tangxinyuan.py
另外,请与 Alpha-snapshot20230621 分支同步一下。我已经更新了该分支中的 conftest.py。
@mrlan 已改名,已经merge了最新Alpha-snapshot20230621并解决了冲突
@ -0,0 +3,4 @@
from selenium.webdriver.common.by import By
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
from conftest import driver, URL, UNAME, PASSWORD
@tangxinyuan
不需要显式引入 conftest.py 中的 fixture。
运行 pytest 时,这些 fixture 会被自动加载。
@ -0,0 +4,4 @@
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
from app.test.helper import signup
@tangxinyuan
我这边把 app.test.helper 简化为 helper 才不会报错。
否则会报错:
E ModuleNotFoundError: No module named 'app'
Bug544-TangXinyuanto WIP: Bug544-TangXinyuanWIP: Bug544-TangXinyuanto Bug544-TangXinyuanLGTM!
编程运行正常,不影响其他功能运行
代码大体没有需要改动之处,整体分类得当,类名恰当,简洁得体。
代码风格统一,格式统一,清晰易懂
APPROVED