Skip to content

Latest commit

 

History

History
18 lines (16 loc) · 436 Bytes

heavy-peas-appear.md

File metadata and controls

18 lines (16 loc) · 436 Bytes
@patternfly/pfe-tools
minor

Added querySnapshot accessibility testing helper

describe('then clicking the toggle', function() {
  beforeEach(async function() {
    await clickElementAtCenter(toggle);
  });
  it('expands the disclosure panel', async function() {
    const snapshot = await a11ySnapshot();
    const expanded = querySnapshot(snapshot, { expanded: true });
    expect(expanded).to.be.ok;
  });
});