Skip to content

/missing-playwright-await > silent rule when using it in Promises #107

Closed
@Juanicanete10

Description

@Juanicanete10

Having the following block produce a missing-playwright-await error

image

		await Promise.all([
			expect(previewLessonPage.relatedContent.title).toBeHidden(),
			expect(previewLessonPage.relatedContent.items).toHaveCount(0),
		]);

Those cases should not produce errors considering that we're handling them into a Promise already and that promise it's being awaited.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions