Giter Club home page Giter Club logo

Comments (4)

openmindculture avatar openmindculture commented on July 17, 2024

Automated tests also seem to try to run on localhost:

Screenshot of dashboard

from check-tests.

openmindculture avatar openmindculture commented on July 17, 2024

So my question should rather be: "How to make Testomat.io" use CI configuration?
In my use case, I thought I should use

  • a localhost configuration for a manual run on my own machine
  • another configuration (probably to be used by Testomat.io) using a public URL (www)

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';

from check-tests.

DavertMik avatar DavertMik commented on July 17, 2024

codecept.ci.conf.js

There is no convention to use that file.

But you can use different configs by specifying the correct one via -c option

for instance:

npx codeceptjs run -c codecept.conf.ci.js

from check-tests.

openmindculture avatar openmindculture commented on July 17, 2024

codecept.ci.conf.js

There is no convention to use that file.

I am quite sure that I read that somewhere, as I would not make up this very filename.
Maybe I got some outdated documentation or code example. I will check if I find the source.
Also I will have to check my blog post again, where I probably quoted that filename also.

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.

from check-tests.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.