Cypress.Commands.add('findPseudoBefore', { prevSubject: 'element' }, el => {
  const win = el[0].ownerDocument.defaultView;
  return win.getComputedStyle(el[0], 'before');
});