-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to make Manual Run use CI configuration #51
Comments
So my question should rather be: "How to make Testomat.io" use CI configuration?
In my case, this is the only difference, so I should probably import a common configuration as well, like codecept.config.js const { setHeadlessWhen, setWindowSize } = require('@codeceptjs/configure');
exports.config = require ('./codecept.common.conf.js');
exports.config.helpers.Puppeteer.url = 'http://localhost:1974'; // or 'https://www.ingo-steinke.de'; |
There is no convention to use that file. But you can use different configs by specifying the correct one via for instance:
|
I am quite sure that I read that somewhere, as I would not make up this very filename. The issue can stay closed, but maybe I should make a feature request, as I would like to test localhost on my machine, but make remote systems like Testomat.io test a public URL instead. |
I tried to run a CodeceptJS scenario as a Manual Run on Testomat.io but it failed, as it tried to use the default configuration in
./codecept.conf.js
which defineslocalhost
.Expected behavior:
The test should use
codecept.ci.conf.js
which defines a publicly available live URL of my production server.The text was updated successfully, but these errors were encountered: