// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0

describe('Radio Group', () => {
  it('radio group', async () => {
    await page.goto(
      'http://host.docker.internal:9009/iframe.html?id=ui-components-form-radiogroup--radio-group'
    );
    const image = await page.screenshot();
    expect(image).toMatchImageSnapshot();
  });
  it('radio group with icon', async () => {
    await page.goto(
      'http://host.docker.internal:9009/iframe.html?id=ui-components-form-radiogroup--radio-group-icon'
    );
    const image = await page.screenshot();
    expect(image).toMatchImageSnapshot();
  });
});
