我试图找到一种在CI上运行Cypress测试(GitHub操作)时忽略特定测试失败的方法。 假设我有3个测试:
descripe('all tests', () => { it('test 1', () => { /* test 1 */ }) it('test 2', () => { /* test 2 */ }) // wrap test 3 so that it runs normally but when it fails, CI result will still be green. it('test 3', () => { /* test 3 */ }) })
在这种情况下,如果: