DONE: Bug561-WanZiKun #118

Closed
wanzikun wants to merge 119 commits from Bug561-WanZiKun into Alpha-snapshot20230621

已更换请求合并对象并上传测试脚本

已更换请求合并对象并上传测试脚本
wanzikun added 2 commits 2024-05-08 21:41:11 +08:00
13323ed123 DeBug561-WanZiKun
修复bug561前后切换文章无法正常显示生词高光的功能
wanzikun changed title from WIP:Bug561-WanZiKun to Bug561-WanZiKun 2024-05-09 17:30:29 +08:00

@wanzikun

测试脚本的路径应该在 app/test/ 目录下面

@wanzikun 测试脚本的路径应该在 app/test/ 目录下面
wanzikun added 1 commit 2024-05-17 15:31:40 +08:00
4ff33b377f 删除 test_bug561_WanZiKun.py
更新test内容并更换位置
wanzikun added 1 commit 2024-05-17 15:35:52 +08:00
b68c62a7b8 上传文件至 app/test
更新了test内容

@mrlan 已更新测试脚本并上传到正确目录,请您查看

@mrlan 已更新测试脚本并上传到正确目录,请您查看
mrlan reviewed 2024-05-19 20:22:27 +08:00
@ -0,0 +7,4 @@
from selenium.common.exceptions import UnexpectedAlertPresentException, NoAlertPresentException, NoSuchElementException, TimeoutException
from selenium.webdriver import ActionChains
def signup(URL, driver):

@wanzikun
不需要重复定义 signup() 函数,在 conftest.py 中已经有了。

@wanzikun 不需要重复定义 signup() 函数,在 conftest.py 中已经有了。
mrlan reviewed 2024-05-19 20:23:06 +08:00
@ -0,0 +47,4 @@
print("Highlighted elements:", highlighted_elements)
return len(highlighted_elements) > 0
def test_bug561():

@wanzikun

这里应该用到 conftest.py 中定义的 url 与 driver。

@wanzikun 这里应该用到 conftest.py 中定义的 url 与 driver。
mrlan reviewed 2024-05-19 20:23:55 +08:00
@ -0,0 +51,4 @@
driver = webdriver.Edge()
try:
driver.maximize_window()
base_url = "http://118.25.96.118:90/"

@wanzikun

这个 URL 部署的版本并不包含你的缺陷修复。测试它的意义?

@wanzikun 这个 URL 部署的版本并不包含你的缺陷修复。测试它的意义?
wanzikun added 1 commit 2024-05-26 20:06:44 +08:00
wanzikun added 1 commit 2024-05-26 20:07:39 +08:00
mrlan reviewed 2024-05-26 21:25:56 +08:00
@ -0,0 +68,4 @@
driver.quit()
print("Driver closed.")
if __name__ == "__main__":

@wanzikun

请删除这句与下面一句

@wanzikun 请删除这句与下面一句
wanzikun marked this conversation as resolved
wanzikun added 1 commit 2024-05-27 11:04:22 +08:00
mrlan changed title from Bug561-WanZiKun to DONE: Bug561-WanZiKun 2024-06-22 08:22:51 +08:00
mrlan closed this pull request 2024-09-02 15:26:30 +08:00

Pull request closed

Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: mrlan/EnglishPal#118
There is no content yet.