Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
878 views
in Technique[技术] by (71.8m points)

cypress - Remove Pending tests from mochawesome report

I am using cypress-select-tests module to filter cypress tests.

The issue is unselected tests are marked as pending in mochawesome report which doesn't look good.

How can I remove the pending tests from the Report?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

You can move them to a different folder and add them to "ignoreTestFiles" in cypress.config.json. This works for me, when I had the same problem


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...