I was trying to implement code to retry the failed test using "mocha-retry" Below is the sample .
describe(retries,' retries-',function () {
var self = this;
beforeAll(function () {
global.requireLogin();
});
this.retries(3);
})
I am getting error as Error: ReferenceError: retries is not defined
MAy I know where is the wrong
Describe仅接受两个参数,一个是描述测试场景的String
,另一个是可能包含更多描述或测试用例的function
。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.