Skip to content

Screenshot on fail does not include additional sessions #1266

Closed

Description

@GerroDen

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

Activity

  1. KMKoushik commented on Jan 17, 2020

    @KMKoushik
    Collaborator

    Fix is merged

  2. added a commit that references this issue on Mar 13, 2020
  3. added a commit that references this issue on Mar 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions