openTierModal = async (page, {slug}) => {
    return await test.step('Open the tier modal', async () => {
        await page.getByTestId('tiers').locator(`[data-testid="tier-card"][data-tier="${slug}"]`).click();

        return page.getByTestId('tier-detail-modal');
    });
}
Get tier card from membership page
@param {import('@playwright/test').Page} page
@param {Object} options
@param {String} [options.slug]