how to get this information from cypress, browser.getProcessedConfig().capabilities.index #24285
Unanswered
vasanthiraman
asked this question in
CI setup
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi All,
We are using cypress for our web application testing. Here we are trying to run multiple features parallel in jenkins, but the problem is each thread is accessing the same data/member which causes conflicts and failures in the features.
const DATASET = +process.env['dataset'] || 0;
we need to increment the dataset for each process thread, but here we could nt get the index of the currently processing instance. For ex, in protractor it is handled using the method (browser.getProcessedConfig()).capabilities.index . We tried to use cypress.browser, but it doesn't have the property to get the index of the currently processing thread/instance.
is there equivalent method for browser.getProcessedConfig() in cypress?
Beta Was this translation helpful? Give feedback.
All reactions