webdriverio-boneyard / wdio-sauce-service

WebdriverIO v4 service for better Sauce Labs integration
http://webdriver.io
MIT License
18 stars 21 forks source link

Reporting capability at testcase level #48

Closed kmnaid closed 6 years ago

kmnaid commented 6 years ago

In the reporting on SauceLabs we see test suites but we are not able to see individual test cases. If we have the below two suites, in the report you see suite and suite 2 appearing, but we would like to have 'suite1 testcase 1', 'suite1 testcase 2', 'suite2 testcase 1', 'suite2 testcase 2' appear.

Testsuite1.js

describe('Suite 1') {
 it('suite1 testcase 1'){
   //verify something
 }
 it('suite1 testcase 2'){
   //verify something
 }
}

Testsuite2.js

describe('Suite 2') {
 it('suite2 testcase 1'){
   //verify something
 }
 it('suite2 testcase 2'){
   //verify something
 }
}

image

christian-bromann commented 6 years ago

@kmnaid this is not possible. WebdriverIO is creating a session for each individual file and takes the name of the outer describe block as name of the test. If you have further questions join our Gitter.