feat: fix playwright test issues
This commit is contained in:
@@ -124,9 +124,16 @@ return {
|
|||||||
end
|
end
|
||||||
|
|
||||||
local enter_launch_url = function()
|
local enter_launch_url = function()
|
||||||
local url = vim.fn.input("URL to launch: ", "http://localhost:")
|
local co = coroutine.running()
|
||||||
vim.cmd('echo ""')
|
return coroutine.create(function()
|
||||||
return url
|
vim.ui.input({ prompt = "Enter URL: ", default = "http://localhost:" }, function(url)
|
||||||
|
if url == nil or url == "" then
|
||||||
|
return
|
||||||
|
else
|
||||||
|
coroutine.resume(co, url)
|
||||||
|
end
|
||||||
|
end)
|
||||||
|
end)
|
||||||
end
|
end
|
||||||
|
|
||||||
for _, language in ipairs({ "typescript", "javascript", "typescriptreact", "javascriptreact", "vue" }) do
|
for _, language in ipairs({ "typescript", "javascript", "typescriptreact", "javascriptreact", "vue" }) do
|
||||||
|
|||||||
Reference in New Issue
Block a user