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