Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia
TypeScript apiapi-clientapi-restapi-testingdeveloper-toolsgraphqlhttphttp-clientpwarestrest-apispatestingtesting-toolstoolsvuevuejswebsocket
test: purge travis
yubathom44de8438ef62
diff --git a/.travis.yml b/.travis.ymlindex ebaa8f2f4..77870daee 100644--- a/.travis.yml+++ b/.travis.yml@@ -1,4 +1,4 @@-# == INSTRUCTIONS FOR SETTING UP TRAVIS (and GitHub Pages) ==+# == INSTRUCTIONS FOR SETTING UP TRAVIS ==## 1. Find this repository in your Travis-CI dashboard.# open settings and add an environment variable called@@ -8,12 +8,10 @@# **DO NOT TURN ON 'Display value in build log'!!!!**## 2. Push the code to the repository.-# 3. Set the GitHub Pages source in the GitHub repository settings to the-# gh-pages branch.language: node_jsnode_js:- - "12"+ - lts/*os: linux@@ -22,35 +20,20 @@ addons:packages:- libgconf-2-4 # cypress binary dependency-env:- - DEPLOY_ENV=POSTWOMAN_IO--cache:- npm: true- directories:- - "node_modules"- - ~/.cache+cache: npmbranches:only:- - "master"+ - masterinstall:- - "npm install firebase-tools"- - "npm install"+ - npm cibefore_script:- - "npm run build" # use nuxt build and start to run tests- - "npm run test"+ - npm run build # use nuxt build and start to run testsscript:- - "cd functions"- - "npm install"- - "cd .."- - "npm run generate"+ - npm testnotifications:webhooks: https://www.travisbuddy.com--after_success:- - firebase deploy --token $FIREBASE_TOKENdiff --git a/tests/e2e/integration/proxy.spec.js b/tests/e2e/integration/proxy.spec.jsindex f5579b11b..607936002 100644--- a/tests/e2e/integration/proxy.spec.js+++ b/tests/e2e/integration/proxy.spec.js@@ -4,6 +4,7 @@ describe("Proxy disabled - local request", () => {.get("#url").then(el => expect(el.val() === "https://api.thecatapi.com").to.equal(true)).get("#response-details-wrapper")+ .should("be.visible").should($wrapper => {expect($wrapper).to.contain("FAKE Cat API")})@@ -15,9 +16,10 @@ describe("Proxy enabled - external request", () => {cy.enableProxy("/?url=https://api.thecatapi.com&path=").get("#send").click()- .get("#response-details-wrapper")+ .get("#response-details-wrapper", { timeout: 24000 })+ .should("be.visible").should($wrapper => {- expect($wrapper).to.contain("Cat API")+ expect($wrapper).to.contain("The Cat API")})})})