onTestEnd(test) {
		if (test.outcome() === 'flaky') {
			const { file, line } = test.location;
			const title = `flaky test: ${test.title}`;
			const message = `retries: ${test.retries}`;
			this._flaky.push({ file, line, title, message });
		}
	}
@param test {import('@playwright/test/reporter').TestCase}