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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: missing steps of test when running with workers #4127

Conversation

kobenguyent
Copy link
Collaborator

Motivation/Description of the PR

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.

Type of change

  • 馃悰 Bug fix

Checklist:

  • Tests have been added
  • Documentation has been added (Run npm run docs)
  • Lint checking (Run npm run lint)
  • Local tests are passed (Run npm test)

@kobenguyent kobenguyent merged commit bf4952c into 3.x Jan 14, 2024
13 checks passed
@kobenguyent kobenguyent deleted the 4126-bug-the-test-is-missing-all-its-steps-when-running-with-workers branch January 14, 2024 06:11
@kobenguyent kobenguyent mentioned this pull request Jan 25, 2024
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 this pull request may close these issues.

[BUG] - The test is missing all its steps when running with workers
2 participants