Anyone have trouble component testing in CI? Our e...
# help
p
Anyone have trouble component testing in CI? Our e2e tests work smoothly but we have a dead-simple component test that's got a 50% failure rate in CI even though all it does is mount the component and assert that it is visible when a prop is true. This is the whole test file
Copy code
import ProgressPanel from '@/components/base/ProgressPanel.vue';
describe('ProgressPanel', () => {
  it('should render when set to true', () => {
    const modelValue = true;

    cy.mount(ProgressPanel, {
      props: {
        modelValue,
      },
    })

      .get('[data-cy="progress-panel"]')
      .should('be.visible');
  });
});
It passes locally on two different machines, but is flaky in ci