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

cy.log the order is lost #107

Open
brabenetz opened this issue Feb 14, 2022 · 0 comments
Open

cy.log the order is lost #107

brabenetz opened this issue Feb 14, 2022 · 0 comments
Assignees

Comments

@brabenetz
Copy link

My Cypress Test:

beforeEach(() => {
    cy.log('Before each test');
});

afterEach(() => {
    cy.log('After each test');
});

after(() => {
    cy.log('After suite test');
});

it('Another Visits the project page', () => {
    cy.visit('/');
    cy.log('test LOG message: ' + new Date());
    cy.log('first log message');
    cy.log('second log message');
    cy.log('third log message');
    cy.log('fourth log message');
    cy.log('fifth log message');
    cy.screenshot();
    cy.screenshot({
        blackout: ['.external-user-action-profile-name'], // blackout User-Name
    });
    cy.contains('Starterkit Application');
    cy.screenshot({
        capture: 'runner',
        disableTimersAndAnimations: true,
    });
    cy.info('Testing Cypress Report-Portal method cy.info()');
    cy.log('last LOG message: ' + new Date());
});

My Report-Portal Result:

image

Is there a way to preserve the Order of the Log-Messages?

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

No branches or pull requests

2 participants