question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

kudos for many examples -- can you add an example of Docker Compose + CodeceptJS?

See original GitHub issue

Feature request

Is your feature request related to a problem? Please describe.

I want to develop NextJS locally with Docker Compose because this can run database, api, and nextjs server all with 1 command, and it’s easy-ish to deploy these containersets to the cloud. Thank you for making Next and so many examples.

However it’s somewhat unclear how to test nextjs locally with docker-compose (or perhaps i missed a link and this could be published more clearly)

Describe the solution you’d like

Please add an example of how you think users should test NextJS locally in docker-compose with ideally CodeceptJS

Describe alternatives you’ve considered

Currently working on a docker-compose file and just wanted to bring this up as you might know better how to implement such a thing quickly

Additional context

I want to use CodeceptJS because it has simple test syntax which even non-technical folks could understand, so I can focus more on development and less on figuring out how to write tests https://github.com/Codeception/CodeceptJS

Feature('CodeceptJS demo');

Scenario('check Welcome page on site', (I) => {
  I.amOnPage('/');
  I.see('Welcome');
});

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
bioniclescommented, Jan 20, 2020

Thanks … I did get it working over the weekend, and could potentially make a PR

0reactions
balazsorban44commented, Jan 30, 2022

This issue has been automatically locked due to no recent activity. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.

Read more comments on GitHub >

github_iconTop Results From Across the Web

can you add an example of Docker Compose + CodeceptJS ...
I want to develop NextJS locally with Docker Compose because this can run database, api, and nextjs server all with 1 command, and...
Read more >
Codeceptjs Docker
CodeceptJS has an official docker image (opens new window) based on Playwright image. Image supports Playwright, Puppeteer, and WebDriver ...
Read more >
codeception/codeceptjs - Docker Image
Let's assume we have CodeceptJS installed and WebDriverIO helper enabled. Basics. Let's see how we can handle basic form testing: Feature('CodeceptJS ...
Read more >
How to Dockerize your End-to-End acceptance tests - Medium
This article serves as a “how-to” guide for using Selenium Docker images alongside CodeceptJS and an Express server. Acceptance testing is a phase...
Read more >
Codeception/CodeceptJS - Gitter
hey folks, how can i set the load path for the tests ? ... To achieve this, I tried to add categories.json file...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found