Open hlopez6 opened 1 year ago
Evaluate if this would be solved implementing/using a feature in 'slt-component-test'.
In TDMS (WDIO e2e) we have an utility to adjust expected times on the basis of the OS the e2e test is being run on.
This is just an excerpt: browser.execute(() => { return navigator.userAgent; }); if (userAgent.includes('Windows') || userAgent.includes('Macintosh')) { // for local (Windows) executions on development PCs, add hoursToAdd(...) to hour, or even to the day if it changes to the next one (after midnight)
Together with "Windows", "Macintosh", "Linux", additional info on the specific OS can be retrieved with this system.
Actually in snow we have harcoded the information about the PC details where the tests were executed. It would be nice to obtain this information, to see if it was executed in local, or in which jenkins slave was executed. And also which operating system had this PC