healenium / healenium-backend

Client for Healenium
Apache License 2.0
24 stars 26 forks source link

[Need support]: New report endpoints #70

Closed erikzimmermann closed 1 year ago

erikzimmermann commented 1 year ago

Describe the problem

I need to access the report contents in my code to log healed elements but unfortunately there is no endpoint for that yet.

Adding following endpoints to the ReportController would already be sufficient.

    @GetMapping("/data/{uid}")
    public RecordDto getRecord(@PathVariable String uid) {
        return reportService.generate(uid);
    }

    @GetMapping("/data")
    public RecordDto getRecords() {
        return reportService.generate();
    }

Healenium Web version

N/A

Healenium Backend version

N/A

Selenium version

No response

Platform

Java

Logs appeared during using Healenium

N/A

Additional context

No response

Alex-Reif commented 1 year ago

Hi @erikzimmermann , merged in the hlm-backend 3.4.0