systelab / allure-reporter

Printable report generation for Allure
5 stars 2 forks source link

Have the information about the PC details (and OS) where the tests were executed #116

Open hlopez6 opened 1 year ago

hlopez6 commented 1 year ago

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

ManelMoreno commented 1 year ago

Evaluate if this would be solved implementing/using a feature in 'slt-component-test'.

Franek75 commented 1 week ago

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.