Skip to content

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

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

Closed
kobenguyent opened this issue Jan 12, 2024 · 0 comments · Fixed by #4127
Closed

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

kobenguyent opened this issue Jan 12, 2024 · 0 comments · Fixed by #4127
Labels

Comments

@kobenguyent
Copy link
Collaborator

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.

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

Successfully merging a pull request may close this issue.

1 participant