Reputation: 267
I'm exploring the Frisby tool
I am trying out a simple test (below) and when the test fails the failures count is 0
var frisby = require('frisby');
describe ('Endpoints page', function (){
it('1- Endpoint main board', function() {
return frisby.get('https://SDF.DSF')
.expect('status', 200);
});
it('2- verify random endpoints working properly', function() {
return frisby.get('https://DF.DSF')
.expect('status', 100);
});
});
Upvotes: 0
Views: 52