Skip to content

Commit 218cd9a

Browse files
wanghongjuanrogerwang
authored andcommitted
[test] Move test for issue4521 from full to sanity
- Move test for issue nwjs#4521 from full to sanity - This test is passed on v0.13.0, failed on v0.31.0-beta1
1 parent 3f814f5 commit 218cd9a

File tree

5 files changed

+2
-16
lines changed

5 files changed

+2
-16
lines changed

test/full/issue4521-notification-perm/http-server.py

Lines changed: 0 additions & 15 deletions
This file was deleted.

test/full/issue4521-notification-perm/test.py renamed to test/sanity/issue4521-notification-perm/test.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ def test_perm(driver, click_id, find_id, should_close_window=False, expected='gr
2828
os.chdir(testdir)
2929

3030
port = str(utils.free_port())
31-
server = subprocess.Popen(['python', 'http-server.py', port])
31+
server_path = os.path.join(testdir, '../', 'http-server.py')
32+
server = subprocess.Popen(['python', server_path, port])
3233

3334
tpl = open('index.tpl', 'r')
3435
content = tpl.read().replace('{port}', port)

0 commit comments

Comments
 (0)