Skip to content
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

TypeError: Failed to fetch dynamically imported module #515

Open
nazar2343 opened this issue Apr 23, 2024 · 0 comments
Open

TypeError: Failed to fetch dynamically imported module #515

nazar2343 opened this issue Apr 23, 2024 · 0 comments

Comments

@nazar2343
Copy link

nazar2343 commented Apr 23, 2024

When start loki tests in CI, I am getting the following error:
TypeError: Failed to fetch dynamically imported module: http://172.17.0.3:64674/...
My loki.config.js:

module.exports = {
chromeSelector: ".wrapper > *, #storybook-root > *, .story-decorator > *",
chromeDockerWithoutSeccomp: true,
chromeRetries: 3,
chromeConcurrency: process.env.CI ? 1 : 8,
chromeLoadTimeout: 5000,
chromeTolerance: 0.01,
diffingEngine: "gm",
configurations: {
"chrome.laptop": {
target: "chrome.app",
width: 1366,
height: 768,
deviceScaleFactor: 1,
mobile: false,
},
},
};

command for start testing in CI:
pnpm loki test --requireReference --reactUri file:./public --chromeFlags='--headless --disable-gpu --hide-scrollbars --no-sandbox' --diffingEngine gm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant