public void setTableRows()

in src/main/java/platform/qa/officer/pages/components/Table.java [47:60]


    public void setTableRows() {
        webTableRows.forEach(row -> {
            Row taskRow = Row.builder()
                    .processDefinitionName(row.findElement(xpath("td[@id='processDefinitionName']")))
                    .businessKey(row.findElement(xpath("td[@id='businessKey']")))
                    .taskDefinitionName(getOptionalElement(row, "td[@id='name' or @id='taskDefinitionName']"))
                    .startTime(row.findElement(xpath("td[@id='created' or @id='startTime']")))
                    .endTime(getOptionalElement(row, "td[@id='endTime']"))
                    .result(getOptionalElement(row, "td[@id='excerptResult' or @id='status.title']"))
                    .actionButton(getOptionalElement(row, "td//button"))
                    .build();
            tableRows.add(taskRow);
        });
    }