Page MenuHomePhabricator

Display date/time and timing info for Raita builds
Closed, DeclinedPublic

Description

Currently, Raita does not display the build timestamp information anywhere. It should be displayed alongside the build tabs and in the details for each build. It would also be nice to see duration displayed next to each scenario and its steps.

Event Timeline

dduvall raised the priority of this task from to Needs Triage.
dduvall updated the task description. (Show Details)
dduvall added subscribers: dduvall, zeljkofilipin.
zeljkofilipin moved this task from Inbox to Ruby on the Browser-Tests-Infrastructure board.

From Raita db/mappings/build.json the duration is available as "result.duration":

{
    "build": {
        "properties": {
            "number": { "type": "string" },
            "url": { "type": "string", "index": "not_analyzed" },
            "project.name": { "type": "string", "index": "not_analyzed" },
            "project.commit": { "type": "string", "index": "not_analyzed" },
            "project.branch": { "type": "string", "index": "not_analyzed" },
            "project.repo": { "type": "string", "index": "not_analyzed" },
            "environment.name": { "type": "string", "index": "not_analyzed" },
            "environment.url": { "type": "string", "index": "not_analyzed" },
            "browser.name": { "type": "string", "index": "not_analyzed" },
            "browser.version": { "type": "string", "index": "not_analyzed" },
            "browser.platform": { "type": "string", "index": "not_analyzed" },
            "result.status": { "type": "string", "index": "not_analyzed" },
            "result.duration": { "type": "long" }
        },
        "_timestamp": {
            "enabled": true,
            "store": true
        }
    }
}