How to use flagpole - 1 common examples

To help you get started, we’ve selected a few flagpole examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github flocasts / flagpole / tests / hello.js View on Github external
const { Flagpole } = require('flagpole');

const suite = Flagpole.Suite('Basic Smoke Test of Site')
   .base({
      stag: 'https://www.google.com',
      prod: 'https://www.yahoo.com',
      qa: 'https://www.espn.com',
      rc: 'https://www.msn.com',
   });

suite.Scenario('Homepage Loads')
   .open('/')
   .html()
   .assertions(function (response) {
       
   });

flagpole

Simple and fast DOM integration, headless or headful browser, and REST API testing framework.

MIT
Latest version published 2 years ago

Package Health Score

40 / 100
Full package analysis

Popular flagpole functions