You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment Testcafé supports a single .testcaferc.json file. However, I have different needs in a c.i. environment than I have on my local machine for example. In my c.i. environment I have a need for the xunit reporter, multiple browsers and video recording for example, which I don't need locally.
The api could look like this: testcafe --config .testcaferc-dev.json testcafe --config .testcaferc-test.json
Aside from this, I would also need a different baseUrl for each environment in my DTAP street so adding baseUrl to the config and having the option to pass in the config file to testcafé would be very nice. Sadly baseUrl is currently not part of the configuration yet.
The text was updated successfully, but these errors were encountered:
Thank you for your suggestion regarding the support for multiple configuration files. We received a similar request earlier and will consider implementing this feature in the context of this issue:
As for the baseUrl feature, is not a part of our roadmap. We will appreciate it if you get a chance to contribute this feature to our project. We will certainly help you in implementing this feature.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs or feature requests. For TestCafe API, usage and configuration inquiries, we recommend asking them on StackOverflow.
At the moment Testcafé supports a single
.testcaferc.json
file. However, I have different needs in a c.i. environment than I have on my local machine for example. In my c.i. environment I have a need for the xunit reporter, multiple browsers and video recording for example, which I don't need locally.The api could look like this:
testcafe --config .testcaferc-dev.json
testcafe --config .testcaferc-test.json
.testcaferc-dev.json:
.testcaferc-test.json:
Aside from this, I would also need a different
baseUrl
for each environment in my DTAP street so addingbaseUrl
to the config and having the option to pass in the config file to testcafé would be very nice. SadlybaseUrl
is currently not part of the configuration yet.The text was updated successfully, but these errors were encountered: