closeKebabMenu = async (page) => {
	if (!(await isKebabMenuOpen(page))) return false;

	try {
		// Click button to close menu
		await page.getByRole('button', { name: 'Menu' }).click();
		// Make sure menu is closed
		await expect(page.getByRole('menu', { name: 'Menu' })).not.toBeVisible();
		return true;
	} catch (e) {
		console.error('closeKebabMenu failed', e);
		throw e;
	}
}
@param {import('@playwright/test').Page} page
@returns {Promise<boolean>} True if the kebab menu was closed, false if it was already closed