Skip to content

[BUG] - The test is missing all its steps when running with workers #4126

@kobenguyent

Description

@kobenguyent

What are you trying to achieve?

@brahimiarlinda found an edge case like this

Scenario('Verify getting list of users', async () => {
	let res = await I.getUserPerPage(2);
	res.data = []; // this line causes the issue
	await I.expectEqual(res.data.data[0].id, 7);
}); 

at this time, res.data.data[0].id would throw undefined error and somehow the test is missing all its steps.

What do you get instead?

The test should have its steps.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions