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

Getting Error Navigation failed because browser has disconnected! #1497

Open
edi9999 opened this issue Sep 7, 2023 · 0 comments
Open

Getting Error Navigation failed because browser has disconnected! #1497

edi9999 opened this issue Sep 7, 2023 · 0 comments

Comments

@edi9999
Copy link

edi9999 commented Sep 7, 2023

I have about 20 scenarios that are running, with following config :

module.exports = {
	id: "backstop_default",
	misMatchThreshold: 0.3,
	viewports: [vp.phone, vp.tablet, vp.laptop],
	onBeforeScript: "puppet/onBefore.js",
	onReadyScript: "puppet/onReady.js",
	scenarios,
	paths: {
		bitmaps_reference: "backstop_data/bitmaps_reference",
		bitmaps_test: "backstop_data/bitmaps_test",
		engine_scripts: "backstop_data/engine_scripts",
		html_report: "backstop_data/html_report",
		ci_report: "backstop_data/ci_report",
	},
	engine: "puppeteer",
	engineOptions: {
		args: ["--no-sandbox"],
	},
	report: [],
	asyncCaptureLimit: 2,
	asyncCompareLimit: 2,
	debug: false,
	debugWindow: false,
};

Sometimes, one of the tests randomly fails with following error :

Getting Error Navigation failed because browser has disconnected!

I would love if the libary could have an option to retry 2 or 3 times (configurable), as this is most likely due to too much strain on my system during the test.

Awesome library by the way !

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