thenbe / neotest-playwright

A playwright adapter for neotest.
MIT License
43 stars 5 forks source link

Gutter icon indicates failure when test passes #8

Closed agentHoover closed 1 year ago

agentHoover commented 1 year ago

Pass/fail indicator in the gutter and in the test window shows failed even when tests pass.

2023-03-30_16-41

This is my configuration

require("neotest").setup({
  adapters = {
    require("neotest-dotnet")({
      dap = { justMyCode = false },
    }),
    require("neotest-playwright").adapter({
      options={
        get_playwright_config= function(file_path)
          return './api.config.ts'
        end
      }
    })
  }
})
...
require("neotest").setup({
  adapters = {
    require("neotest-dotnet")({
      dap = { justMyCode = false },
    }),
    require("neotest-playwright").adapter({
      options={
        get_playwright_config= function(file_path)
          return './api.config.ts'
        end
      }
    })
  }
})