Sha256: 546dfde568ef7fbaa50a0a48cd3c0bd2eff08a0a3ba37e2dcacdb04e696cd386
Contents?: true
Size: 428 Bytes
Versions: 5
Compression:
Stored size: 428 Bytes
Contents
require "pathname" CLI = Pathname.new(File.dirname(__FILE__)).join("../../exe/cypress-rails") desc "Initialize cypress.config.js" task :"cypress:init" do system "#{CLI} init" end desc "Open interactive Cypress app for developing tests" task :"cypress:open" do trap("SIGINT") {} # avoid traceback system "#{CLI} open" end desc "Run Cypress tests headlessly" task :"cypress:run" do abort unless system "#{CLI} run" end
Version data entries
5 entries across 5 versions & 1 rubygems