Open yuxli066 opened 3 years ago
Hi @yuxli066 that's not currently possible with the config, but seems like something interesting to implement.
In the connector for Spectre we are using a test object, as far as I remember, this object contains the name of the suite, so it should be easy to concatenate it, I'm not that sure about device tho...
Would you expect to have tests with a name like <device> <suite> <test>
?
Yea that's the end goal, because right now the main concern for me is the view of my page on multiple devices, and from what I've seen on spectre so far, the device that we are using isn't clearly being displayed. It only shows "chrome mobile" or "safari", not "chrome mobile on tablet" or "chrome mobile on samsung galaxy s8", which is the device that I had configured in BrowserStack.
Also, @Jnegrier , how would I be able to access the test object? I tried and that didn't seem to work for me either.
Hi @yuxli066 that's not currently possible with the config, but seems like something interesting to implement.
In the connector for Spectre we are using a test object, as far as I remember, this object contains the name of the suite, so it should be easy to concatenate it, I'm not that sure about device tho...
Would you expect to have tests with a name like
<device> <suite> <test>
?
I was wondering if I can dynamically pass the suite name into the wdio service array here:
I am using browser stack to execute all of my visual regression tests in order to get multiple devices support. What I want to do is I want to pass the device name into the suite name as well so that when I am on the Spectre dashboard I can see the device that all of my current tests ran on. Is there any way for me to do that?