      it('filters `input` tags by their disabled state', async () => {
        dom(`
          <p><input id="name-field" disabled/></p>
          <p><input id="address-field"/></p>
        `);

        await expect(TextField({ id: 'name-field', disabled: true }).exists()).resolves.toBeUndefined();
        await expect(TextField({ id: 'address-field', disabled: false }).exists()).resolves.toBeUndefined();
        await expect(TextField({ id: 'name-field', disabled: false }).exists()).rejects.toHaveProperty('name', 'NoSuchElementError');
        await expect(TextField({ id: 'address-field', disabled: true }).exists()).rejects.toHaveProperty('name', 'NoSuchElementError');
      });

      it('defaults to only enabled', async () => {
        dom(`