Closed ArnaudBuchholz closed 5 months ago
Can confirm that Opa5.assert.ok(ui5Control)
was the root cause for this huge JSON
I still believe the runner should filter out these unnecessary values from the job report.
Actually, this is a problem with UI5 objects detection that does not work in OPA with iFrames (because the base class are not the same between the OPA window and the application window). Used a safer method based on UI5 object known members (getId
, getMetadata
)
Closing the incident as the initial problem is solved. Being able to generate a bigger JSON could be interesting but would cause other problems (such as the report generator that must be able to load the serialized the JSON).
Qualification : the job's JSON is too big to be serialized with
JSON.stringify
Alternatives :
json-stream-stringify
seems to be capable of saving very big JSONs in a stream. That would solve the issue on save but to be able to generate the reports, it would need to be able to read it again…Opa5.assert.ok(ui5Control)
) and the runner keeps track of everything…