As of 2013, Canada is responsible for 1.6% of global emissions, with Ontario responsible for less than 0.4% of
global emissions.
Learn more about Canada's global missions.
`);
await page.waitForChanges();
host = page.locator('ontario-aside');
});
test('renders and is hydrated', async () => {
await expect(host).toBeAttached();
await expect(host).toHaveClass('hydrated');
});
test('renders correct initial highlight-colour', async () => {
const aside = host;
await expect(aside).toHaveAttribute('highlight-colour', 'purple');
});
test('applies and updates border-highlight class when highlight-colour changes', async ({ page }) => {
// initial class on inner