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

Screenshot on fail does not include additional sessions #1266

Open
GerroDen opened this Issue Oct 18, 2018 · 0 comments

Comments

Projects
None yet
2 participants
@GerroDen

GerroDen commented Oct 18, 2018

I use tests with an additional session. When the test fails i'd like to see a screenshot of that moment.

I only get a screenshot of the main session and none of the additional.

Feature with failing test inside a session:

Feature("Screenshots on fail in session");

Scenario("Failing in session", (I) => {
	session("new session", () => {
		I.amOnPage('http://google.com');
		I.dontSeeInCurrentUrl('http://google.com');
	});
});

Details

  • CodeceptJS version: 1.4.3
  • NodeJS Version: v10.12.0
  • Operating System: Ubuntu 16.04
  • Puppeteer: 1.9.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment