From 2f6a0e5d1e782b2e5edc621ae3b81e150f40c06a Mon Sep 17 00:00:00 2001 From: Daniel Aparicio Date: Wed, 10 Jun 2020 08:50:33 +0200 Subject: [PATCH 1/5] fix(refreshing-endpoint): Add requests to a queue, if a request with the same body is queued, discard it --- .../gatsby/src/commands/develop-process.ts | 27 ++++--- packages/gatsby/src/commands/develop.ts | 4 + packages/gatsby/src/utils/develop-proxy.ts | 75 +++++++++++++++++++ 3 files changed, 94 insertions(+), 12 deletions(-) diff --git a/packages/gatsby/src/commands/develop-process.ts b/packages/gatsby/src/commands/develop-process.ts index f121ccbd8c148..30129f75ae85a 100644 --- a/packages/gatsby/src/commands/develop-process.ts +++ b/packages/gatsby/src/commands/develop-process.ts @@ -231,13 +231,15 @@ async function startServer(program: IProgram): Promise { ) ) - /** - * Refresh external data sources. - * This behavior is disabled by default, but the ENABLE_GATSBY_REFRESH_ENDPOINT env var enables it - * If no GATSBY_REFRESH_TOKEN env var is available, then no Authorization header is required - **/ const REFRESH_ENDPOINT = `/__refresh` const refresh = async (req: express.Request): Promise => { + if (process.send) { + process.send({ + type: `REFRESH`, + action: `STARTED`, + }) + } + stopSchemaHotReloader() let activity = report.activityTimer(`createSchemaCustomization`, {}) activity.start() @@ -256,17 +258,18 @@ async function startServer(program: IProgram): Promise { await rebuildSchema({ parentSpan: activity }) activity.end() startSchemaHotReloader() + + if (process.send) { + process.send({ + type: `REFRESH`, + action: `FINISHED`, + }) + } } app.use(REFRESH_ENDPOINT, express.json()) app.post(REFRESH_ENDPOINT, (req, res) => { - const enableRefresh = process.env.ENABLE_GATSBY_REFRESH_ENDPOINT - const refreshToken = process.env.GATSBY_REFRESH_TOKEN - const authorizedRefresh = - !refreshToken || req.headers.authorization === refreshToken + refresh(req) - if (enableRefresh && authorizedRefresh) { - refresh(req) - } res.end() }) diff --git a/packages/gatsby/src/commands/develop.ts b/packages/gatsby/src/commands/develop.ts index 184183035ecb6..82f68f4d50023 100644 --- a/packages/gatsby/src/commands/develop.ts +++ b/packages/gatsby/src/commands/develop.ts @@ -198,6 +198,10 @@ module.exports = async (program: IProgram): Promise => { proxy.serveSite() io.emit(`develop:started`) } + + if (msg.type === `REFRESH` && msg.action === `FINISHED`) { + proxy.refreshEnded() + } } io.on(`connection`, socket => { diff --git a/packages/gatsby/src/utils/develop-proxy.ts b/packages/gatsby/src/utils/develop-proxy.ts index f789814464238..eaa571e914004 100644 --- a/packages/gatsby/src/utils/develop-proxy.ts +++ b/packages/gatsby/src/utils/develop-proxy.ts @@ -11,6 +11,7 @@ import { IProgram } from "../commands/types" interface IProxyControls { serveRestartingScreen: () => void serveSite: () => void + refreshEnded: () => void server: any } @@ -33,6 +34,12 @@ export const startDevelopProxy = (input: { program: IProgram }): IProxyControls => { let shouldServeRestartingScreen = false + let isRefreshing = false + const refreshQueue: { + res: http.ServerResponse + req: http.IncomingMessage + body: string + }[] = [] const proxy = httpProxy.createProxyServer({ target: `http://localhost:${input.targetPort}`, @@ -70,6 +77,52 @@ export const startDevelopProxy = (input: { return } + /** + * Refresh external data sources. + * This behavior is disabled by default, but the ENABLE_GATSBY_REFRESH_ENDPOINT env var enables it + * If no GATSBY_REFRESH_TOKEN env var is available, then no Authorization header is required + **/ + const REFRESH_ENDPOINT = `/__refresh` + if (req.url === REFRESH_ENDPOINT) { + const enableRefresh = process.env.ENABLE_GATSBY_REFRESH_ENDPOINT + const refreshToken = process.env.GATSBY_REFRESH_TOKEN + const authorizedRefresh = + !refreshToken || req.headers.authorization === refreshToken + + if (!enableRefresh || !authorizedRefresh) { + return + } + + readRequestBody(req).then((body: string) => { + const isRequestWithSameBodyQueued = !!refreshQueue.filter( + queued => queued.body === body + ).length + + if (!isRequestWithSameBodyQueued) { + refreshQueue.push({ req, res, body }) + } + + if (isRefreshing) { + if (isRequestWithSameBodyQueued) { + res.end( + `already queued ${JSON.stringify(refreshQueue.map(q => q.body))}` + ) + return + } + res.end(`queued ${JSON.stringify(refreshQueue.map(q => q.body))}`) + return + } + + isRefreshing = true + const queued = refreshQueue.shift() + if (queued) { + proxy.web(queued.req, queued.res) + } + }) + + return + } + if ( shouldServeRestartingScreen || req.url === `/___debug-restarting-screen` @@ -81,6 +134,18 @@ export const startDevelopProxy = (input: { proxy.web(req, res) } + function readRequestBody(request: http.IncomingMessage): Promise { + return new Promise(resolve => { + let body = `` + request.on(`data`, chunk => { + body += chunk.toString() + }) + request.on(`end`, () => { + resolve(body) + }) + }) + } + const server = input.program.ssl ? https.createServer(input.program.ssl, app) : http.createServer(app) @@ -99,5 +164,15 @@ export const startDevelopProxy = (input: { serveSite: (): void => { shouldServeRestartingScreen = false }, + refreshEnded: (): void => { + if (!refreshQueue.length) { + isRefreshing = false + } else { + const queued = refreshQueue.shift() + if (queued) { + proxy.web(queued.req, queued.res) + } + } + }, } } From 479dd89d5c4709a7d88fb3af9d27033263ef1458 Mon Sep 17 00:00:00 2001 From: Daniel Aparicio Date: Wed, 17 Jun 2020 09:32:08 +0200 Subject: [PATCH 2/5] fix(refreshing-endpoint): Add e2e integration tests --- .../development-refresh-endpoint/.gitignore | 76 ++++++++++++++ .../development-refresh-endpoint/LICENSE | 22 ++++ .../development-refresh-endpoint/README.md | 97 ++++++++++++++++++ .../development-refresh-endpoint/cypress.json | 4 + .../functionality/refresh-endpoint.js | 22 ++++ .../cypress/plugins/index.js | 17 +++ .../cypress/support/commands.js | 1 + .../cypress/support/index.js | 2 + .../gatsby-config.js | 31 ++++++ .../gatsby-node.js | 10 ++ .../development-refresh-endpoint/package.json | 47 +++++++++ .../src/images/gatsby-icon.png | Bin 0 -> 21212 bytes .../src/pages/page.js | 10 ++ 13 files changed, 339 insertions(+) create mode 100644 e2e-tests/development-refresh-endpoint/.gitignore create mode 100644 e2e-tests/development-refresh-endpoint/LICENSE create mode 100644 e2e-tests/development-refresh-endpoint/README.md create mode 100644 e2e-tests/development-refresh-endpoint/cypress.json create mode 100644 e2e-tests/development-refresh-endpoint/cypress/integration/functionality/refresh-endpoint.js create mode 100644 e2e-tests/development-refresh-endpoint/cypress/plugins/index.js create mode 100644 e2e-tests/development-refresh-endpoint/cypress/support/commands.js create mode 100644 e2e-tests/development-refresh-endpoint/cypress/support/index.js create mode 100644 e2e-tests/development-refresh-endpoint/gatsby-config.js create mode 100644 e2e-tests/development-refresh-endpoint/gatsby-node.js create mode 100644 e2e-tests/development-refresh-endpoint/package.json create mode 100644 e2e-tests/development-refresh-endpoint/src/images/gatsby-icon.png create mode 100644 e2e-tests/development-refresh-endpoint/src/pages/page.js diff --git a/e2e-tests/development-refresh-endpoint/.gitignore b/e2e-tests/development-refresh-endpoint/.gitignore new file mode 100644 index 0000000000000..a17a058d51437 --- /dev/null +++ b/e2e-tests/development-refresh-endpoint/.gitignore @@ -0,0 +1,76 @@ +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* + +# Runtime data +pids +*.pid +*.seed +*.pid.lock + +# Directory for instrumented libs generated by jscoverage/JSCover +lib-cov + +# Coverage directory used by tools like istanbul +coverage + +# nyc test coverage +.nyc_output + +# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) +.grunt + +# Bower dependency directory (https://bower.io/) +bower_components + +# node-waf configuration +.lock-wscript + +# Compiled binary addons (http://nodejs.org/api/addons.html) +build/Release + +# Dependency directories +node_modules/ +jspm_packages/ + +# Typescript v1 declaration files +typings/ + +# Optional npm cache directory +.npm + +# Optional eslint cache +.eslintcache + +# Optional REPL history +.node_repl_history + +# Output of 'npm pack' +*.tgz + +# dotenv environment variables file +.env + +# gatsby files +.cache/ +public + +# Mac files +.DS_Store + +# Yarn +yarn-error.log +.pnp/ +.pnp.js +# Yarn Integrity file +.yarn-integrity + +# misc files +cypress/screenshots +cypress/fixtures +cypress/videos + +__history__.json diff --git a/e2e-tests/development-refresh-endpoint/LICENSE b/e2e-tests/development-refresh-endpoint/LICENSE new file mode 100644 index 0000000000000..5169a5e4135e9 --- /dev/null +++ b/e2e-tests/development-refresh-endpoint/LICENSE @@ -0,0 +1,22 @@ +The MIT License (MIT) + +Copyright (c) 2015 gatsbyjs + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + diff --git a/e2e-tests/development-refresh-endpoint/README.md b/e2e-tests/development-refresh-endpoint/README.md new file mode 100644 index 0000000000000..61b4f718f9e4a --- /dev/null +++ b/e2e-tests/development-refresh-endpoint/README.md @@ -0,0 +1,97 @@ +

+ + Gatsby + +

+

+ Gatsby's default starter +

+ +Kick off your project with this default boilerplate ([live demo](https://gatsby-starter-default-demo.netlify.app/)). This barebones starter ships with the main Gatsby configuration files you might need. + +_Have another more specific idea? You may want to check out our vibrant collection of [official and community-created starters](https://www.gatsbyjs.org/docs/gatsby-starters/)._ + +## πŸš€ Quick start + +1. **Create a Gatsby site.** + + Use the Gatsby CLI to create a new site, specifying the default starter. + + ```shell + # create a new Gatsby site using the default starter + gatsby new my-default-starter + ``` + +1. **Start developing.** + + Navigate into your new site’s directory and start it up. + + ```shell + cd my-default-starter/ + gatsby develop + ``` + +1. **Open the source code and start editing!** + + Your site is now running at `http://localhost:8000`! + + \_Note: You'll also see a second link: `http://localhost:8000/___graphql`. This is a tool you can use to experiment with querying your data. Learn more about using this tool in the [Gatsby tutorial](https://www.gatsbyjs.org/tutorial/part-five/#introducing-graphiql).\_ + + Open the `my-default-starter` directory in your code editor of choice and edit `src/pages/index.js`. Save your changes and the browser will update in real time! + +## 🧐 What's inside? + +A quick look at the top-level files and directories you'll see in a Gatsby project. + + . + β”œβ”€β”€ node_modules + β”œβ”€β”€ src + β”œβ”€β”€ .gitignore + β”œβ”€β”€ .prettierrc + β”œβ”€β”€ gatsby-browser.js + β”œβ”€β”€ gatsby-config.js + β”œβ”€β”€ gatsby-node.js + β”œβ”€β”€ gatsby-ssr.js + β”œβ”€β”€ LICENSE + β”œβ”€β”€ package-lock.json + β”œβ”€β”€ package.json + β”œβ”€β”€ README.md + └── yarn.lock + +1. **`/node_modules`**: This directory contains all of the modules of code that your project depends on (npm packages) are automatically installed. + +2. **`/src`**: This directory will contain all of the code related to what you will see on the front-end of your site (what you see in the browser) such as your site header or a page template. `src` is a convention for β€œsource code”. + +3. **`.gitignore`**: This file tells git which files it should not track / not maintain a version history for. + +4. **`.prettierrc`**: This is a configuration file for [Prettier](https://prettier.io/). Prettier is a tool to help keep the formatting of your code consistent. + +5. **`gatsby-browser.js`**: This file is where Gatsby expects to find any usage of the [Gatsby browser APIs](https://www.gatsbyjs.org/docs/browser-apis/) (if any). These allow customization/extension of default Gatsby settings affecting the browser. + +6. **`gatsby-config.js`**: This is the main configuration file for a Gatsby site. This is where you can specify information about your site (metadata) like the site title and description, which Gatsby plugins you’d like to include, etc. (Check out the [config docs](https://www.gatsbyjs.org/docs/gatsby-config/) for more detail). + +7. **`gatsby-node.js`**: This file is where Gatsby expects to find any usage of the [Gatsby Node APIs](https://www.gatsbyjs.org/docs/node-apis/) (if any). These allow customization/extension of default Gatsby settings affecting pieces of the site build process. + +8. **`gatsby-ssr.js`**: This file is where Gatsby expects to find any usage of the [Gatsby server-side rendering APIs](https://www.gatsbyjs.org/docs/ssr-apis/) (if any). These allow customization of default Gatsby settings affecting server-side rendering. + +9. **`LICENSE`**: Gatsby is licensed under the MIT license. + +10. **`package-lock.json`** (See `package.json` below, first). This is an automatically generated file based on the exact versions of your npm dependencies that were installed for your project. **(You won’t change this file directly).** + +11. **`package.json`**: A manifest file for Node.js projects, which includes things like metadata (the project’s name, author, etc). This manifest is how npm knows which packages to install for your project. + +12. **`README.md`**: A text file containing useful reference information about your project. + +13. **`yarn.lock`**: [Yarn](https://yarnpkg.com/) is a package manager alternative to npm. You can use either yarn or npm, though all of the Gatsby docs reference npm. This file serves essentially the same purpose as `package-lock.json`, just for a different package management system. + +## πŸŽ“ Learning Gatsby + +Looking for more guidance? Full documentation for Gatsby lives [on the website](https://www.gatsbyjs.org/). Here are some places to start: + +- **For most developers, we recommend starting with our [in-depth tutorial for creating a site with Gatsby](https://www.gatsbyjs.org/tutorial/).** It starts with zero assumptions about your level of ability and walks through every step of the process. + +- **To dive straight into code samples, head [to our documentation](https://www.gatsbyjs.org/docs/).** In particular, check out the _Guides_, _API Reference_, and _Advanced Tutorials_ sections in the sidebar. + +## πŸ’« Deploy + +[![Deploy to Netlify](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/gatsbyjs/gatsby-starter-default) diff --git a/e2e-tests/development-refresh-endpoint/cypress.json b/e2e-tests/development-refresh-endpoint/cypress.json new file mode 100644 index 0000000000000..cd20b72e75761 --- /dev/null +++ b/e2e-tests/development-refresh-endpoint/cypress.json @@ -0,0 +1,4 @@ +{ + "baseUrl": "http://localhost:8000", + "failOnStatusCode": false +} diff --git a/e2e-tests/development-refresh-endpoint/cypress/integration/functionality/refresh-endpoint.js b/e2e-tests/development-refresh-endpoint/cypress/integration/functionality/refresh-endpoint.js new file mode 100644 index 0000000000000..23ff376790f43 --- /dev/null +++ b/e2e-tests/development-refresh-endpoint/cypress/integration/functionality/refresh-endpoint.js @@ -0,0 +1,22 @@ +describe(`When the refresh endpoint is hit multiple times`, () => { + + it(`should put new requests with unique body in a queue`, () => { + cy.request(`POST`, `/__refresh`).then(response => { + expect(response.body).to.be.equal(``) + }) + cy.request(`POST`, `/__refresh`).then(response => { + expect(response.body).to.include(`queued`) + }) + cy.request(`POST`, `/__refresh`).then(response => { + expect(response.body).to.include(`already queued`) + }) + cy.request(`POST`, `/__refresh`, `otherBody`).then(response => { + expect(response.body).to.include(`queued`) + }) + cy.request(`POST`, `/__refresh`, `otherBody`).then(response => { + expect(response.body).to.include(`already queued`) + }) + }) + +}) + diff --git a/e2e-tests/development-refresh-endpoint/cypress/plugins/index.js b/e2e-tests/development-refresh-endpoint/cypress/plugins/index.js new file mode 100644 index 0000000000000..fd170fba6912b --- /dev/null +++ b/e2e-tests/development-refresh-endpoint/cypress/plugins/index.js @@ -0,0 +1,17 @@ +// *********************************************************** +// This example plugins/index.js can be used to load plugins +// +// You can change the location of this file or turn off loading +// the plugins file with the 'pluginsFile' configuration option. +// +// You can read more here: +// https://on.cypress.io/plugins-guide +// *********************************************************** + +// This function is called when a project is opened or re-opened (e.g. due to +// the project's config changing) + +module.exports = (on, config) => { + // `on` is used to hook into various events Cypress emits + // `config` is the resolved Cypress config +} diff --git a/e2e-tests/development-refresh-endpoint/cypress/support/commands.js b/e2e-tests/development-refresh-endpoint/cypress/support/commands.js new file mode 100644 index 0000000000000..6034b0db87038 --- /dev/null +++ b/e2e-tests/development-refresh-endpoint/cypress/support/commands.js @@ -0,0 +1 @@ +import "@testing-library/cypress/add-commands" diff --git a/e2e-tests/development-refresh-endpoint/cypress/support/index.js b/e2e-tests/development-refresh-endpoint/cypress/support/index.js new file mode 100644 index 0000000000000..83237f7c18da2 --- /dev/null +++ b/e2e-tests/development-refresh-endpoint/cypress/support/index.js @@ -0,0 +1,2 @@ +import "gatsby-cypress" +import "./commands" diff --git a/e2e-tests/development-refresh-endpoint/gatsby-config.js b/e2e-tests/development-refresh-endpoint/gatsby-config.js new file mode 100644 index 0000000000000..d703a4edce6e4 --- /dev/null +++ b/e2e-tests/development-refresh-endpoint/gatsby-config.js @@ -0,0 +1,31 @@ +// isomorphic-fetch sets global.fetch which seems to conflicts with source-map@<0.8.0 where it does a +// simple browser check if (global.fetch) which is true when isomorphic-fetch is used. This creates an +// exception in react-hot-loader. @see https://github.com/gatsbyjs/gatsby/pull/13713 +require(`isomorphic-fetch`) + +module.exports = { + siteMetadata: { + title: `Gatsby Default Starter`, + description: `Kick off your next, great Gatsby project with this default starter. This barebones starter ships with the main Gatsby configuration files you might need.`, + author: `@gatsbyjs`, + social: { + twitter: `kylemathews`, + }, + }, + plugins: [ + `gatsby-plugin-react-helmet`, + `gatsby-plugin-sharp`, + { + resolve: `gatsby-plugin-manifest`, + options: { + name: `gatsby-starter-default`, + short_name: `starter`, + start_url: `/`, + background_color: `#663399`, + theme_color: `#663399`, + display: `minimal-ui`, + icon: `src/images/gatsby-icon.png`, // This path is relative to the root of the site. + }, + } + ], +} diff --git a/e2e-tests/development-refresh-endpoint/gatsby-node.js b/e2e-tests/development-refresh-endpoint/gatsby-node.js new file mode 100644 index 0000000000000..035ae612157d6 --- /dev/null +++ b/e2e-tests/development-refresh-endpoint/gatsby-node.js @@ -0,0 +1,10 @@ +const path = require(`path`) +exports.createPages = async function createPages({ + actions: { createPage }, +}) { + + createPage({ + path: `/page/`, + component: path.resolve(`src/pages/page.js`), + }) +} diff --git a/e2e-tests/development-refresh-endpoint/package.json b/e2e-tests/development-refresh-endpoint/package.json new file mode 100644 index 0000000000000..b8a6ace68a5a8 --- /dev/null +++ b/e2e-tests/development-refresh-endpoint/package.json @@ -0,0 +1,47 @@ +{ + "name": "e2e-development-refresh-endpoint", + "description": "An e2e-test validating development refresh endpoint functionality", + "version": "1.0.0", + "author": "Daniel Aparicio ", + "dependencies": { + "gatsby": "^2.4.4", + "gatsby-plugin-react-helmet": "^3.0.6", + "gatsby-plugin-sharp": "^2.0.37", + "isomorphic-fetch": "^2.2.1", + "prop-types": "^15.6.2", + "react": "16.8.6", + "react-dom": "16.8.6", + "react-helmet": "^5.2.1" + }, + "keywords": [ + "gatsby", + "gatsby-e2e" + ], + "license": "MIT", + "scripts": { + "build": "gatsby build", + "develop": "cross-env CYPRESS_SUPPORT=y ENABLE_GATSBY_REFRESH_ENDPOINT=true gatsby develop", + "serve": "gatsby serve", + "start": "npm run develop", + "format": "prettier --write \"src/**/*.js\"", + "test": "npm run start-server-and-test || (npm run reset && exit 1)", + "start-server-and-test": "start-server-and-test develop http://localhost:8000 cy:run", + "cy:open": "cypress open", + "cy:run": "(is-ci && cypress run --browser chrome --record) || cypress run --browser chrome" + }, + "devDependencies": { + "@testing-library/cypress": "^4.0.4", + "cross-env": "^5.2.0", + "cypress": "3.4.1", + "fs-extra": "^7.0.1", + "gatsby-cypress": "0.4.4", + "is-ci": "^2.0.0", + "prettier": "2.0.4", + "start-server-and-test": "^1.7.11", + "yargs": "^12.0.5" + }, + "repository": { + "type": "git", + "url": "https://github.com/gatsbyjs/gatsby" + } +} diff --git a/e2e-tests/development-refresh-endpoint/src/images/gatsby-icon.png b/e2e-tests/development-refresh-endpoint/src/images/gatsby-icon.png new file mode 100644 index 0000000000000000000000000000000000000000..908bc78a7f5596fab5a638d6ac07e331dc4c74d4 GIT binary patch literal 21212 zcmYg%byQT}`}G~VL6Pq6l5PZ~QyQd1q@=qCX+c0jx{(x+kcJsRN>IAHk?v;ZH~9I! zYrTK4n8iKuoG13)&*4tAmWCoO7C9CG0JzFZ@~;2@3GopLz(7O%I`^5l1%OwD%JMIC zeL(w**h)p4)Zi0MMZ4La!m2?ocIez9{Z!qjXOpt;2f5hdDhbJyB$j7je>UU zztw)va(Z&YR>?9M(EL=eiJ~Oor*9khnb>H|i?_!_3dao0d@*0!Ji{bgLcX>csjVr- zu5i5NjWY9~4<~VBKaw3w`?XV*&E!8J{4H`G>A{R>N zA$G%HqL1WyTN5J4X-O`t+{vf|suT?F}9wX)iG5gQ>X=%7U6ksYJg8l*;9)G}e*0^GR|oaj>tg40wDU*YG(l zaB}lWQe8kL+6LboQ3rqo-A{h^gm77Mve-3)_ZAfSwDq5G?>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(C0vbBcf}+qrhWYL^bQ3nb3Anif}6?U|U@Z@#wQdzgB^% z&o}?cCU9*fEBqLhNmMxFB~dnB4BJjSPFOO#~KgK z6V`!9{BKK%dzmdlh0Dm?ax&(U2Yc=^($}>?=Mc)Wj=%(Lc+ob}NGB;R;09IcVM2Lb_=1C>nDY>!x6L~zBy1TnhqRJQDeJCa0i_PM!L7==Y?0dn Pwx}U%bK8?;ra1Edyv(7f literal 0 HcmV?d00001 diff --git a/e2e-tests/development-refresh-endpoint/src/pages/page.js b/e2e-tests/development-refresh-endpoint/src/pages/page.js new file mode 100644 index 0000000000000..ae503a28835f9 --- /dev/null +++ b/e2e-tests/development-refresh-endpoint/src/pages/page.js @@ -0,0 +1,10 @@ +import React from "react" + +const Page = () => ( + <> +

Hi from the page

+

Welcome to page

+ +) + +export default Page From 732e2aa5a3a8ea7bbf99aa38ac4046ce150798c5 Mon Sep 17 00:00:00 2001 From: Daniel Aparicio Date: Tue, 23 Jun 2020 11:30:26 +0200 Subject: [PATCH 3/5] add refresh endpoint e2e tests to CI --- .circleci/config.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 57bce2440cbb8..063e68d3013b7 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -117,6 +117,20 @@ aliases: - notify-status: condition: << parameters.nightly >> + e2e_tests_development_refresh_endpoint_alias: + &e2e_tests_development_refresh_endpoint_alias + <<: *e2e-executor + parameters: + nightly: + type: boolean + default: false + steps: + - e2e-test: + test_path: e2e-tests/development-refresh-endpoint + skip_file_change_test: << parameters.nightly >> + - notify-status: + condition: << parameters.nightly >> + e2e_tests_gatsby-image_alias: &e2e_tests_gatsby-image_alias <<: *e2e-executor parameters: @@ -321,6 +335,9 @@ jobs: e2e_tests_gatsby-image_with_next_react: <<: *e2e_tests_gatsby-image_alias + e2e_tests_development_refresh_endpoint: + <<: *e2e_tests_development_refresh_endpoint_alias + e2e_tests_development_runtime: <<: *e2e_tests_development_runtime_alias @@ -556,6 +573,8 @@ workflows: <<: *e2e-test-workflow - e2e_tests_gatsby-image: <<: *e2e-test-workflow + - e2e_tests_development_refresh_endpoint: + <<: *e2e-test-workflow - e2e_tests_development_runtime: <<: *e2e-test-workflow - e2e_tests_production_runtime: From 65684fb739eed0cd7c32787f315eff39c61cb12d Mon Sep 17 00:00:00 2001 From: Daniel Aparicio Date: Mon, 29 Jun 2020 11:02:44 +0200 Subject: [PATCH 4/5] move refresh-endpoint e2e tests to development runtime --- .circleci/config.yml | 17 --- .../development-refresh-endpoint/.gitignore | 76 -------------- .../development-refresh-endpoint/LICENSE | 22 ---- .../development-refresh-endpoint/README.md | 97 ------------------ .../development-refresh-endpoint/cypress.json | 4 - .../cypress/plugins/index.js | 17 --- .../cypress/support/commands.js | 1 - .../cypress/support/index.js | 2 - .../gatsby-config.js | 31 ------ .../gatsby-node.js | 10 -- .../development-refresh-endpoint/package.json | 47 --------- .../src/images/gatsby-icon.png | Bin 21212 -> 0 bytes .../src/pages/page.js | 10 -- .../functionality/refresh-endpoint.js | 12 ++- .../cypress/support/commands.js | 1 + e2e-tests/development-runtime/package.json | 1 + 16 files changed, 13 insertions(+), 335 deletions(-) delete mode 100644 e2e-tests/development-refresh-endpoint/.gitignore delete mode 100644 e2e-tests/development-refresh-endpoint/LICENSE delete mode 100644 e2e-tests/development-refresh-endpoint/README.md delete mode 100644 e2e-tests/development-refresh-endpoint/cypress.json delete mode 100644 e2e-tests/development-refresh-endpoint/cypress/plugins/index.js delete mode 100644 e2e-tests/development-refresh-endpoint/cypress/support/commands.js delete mode 100644 e2e-tests/development-refresh-endpoint/cypress/support/index.js delete mode 100644 e2e-tests/development-refresh-endpoint/gatsby-config.js delete mode 100644 e2e-tests/development-refresh-endpoint/gatsby-node.js delete mode 100644 e2e-tests/development-refresh-endpoint/package.json delete mode 100644 e2e-tests/development-refresh-endpoint/src/images/gatsby-icon.png delete mode 100644 e2e-tests/development-refresh-endpoint/src/pages/page.js rename e2e-tests/{development-refresh-endpoint => development-runtime}/cypress/integration/functionality/refresh-endpoint.js (73%) diff --git a/.circleci/config.yml b/.circleci/config.yml index 063e68d3013b7..0dbcca4851647 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -117,20 +117,6 @@ aliases: - notify-status: condition: << parameters.nightly >> - e2e_tests_development_refresh_endpoint_alias: - &e2e_tests_development_refresh_endpoint_alias - <<: *e2e-executor - parameters: - nightly: - type: boolean - default: false - steps: - - e2e-test: - test_path: e2e-tests/development-refresh-endpoint - skip_file_change_test: << parameters.nightly >> - - notify-status: - condition: << parameters.nightly >> - e2e_tests_gatsby-image_alias: &e2e_tests_gatsby-image_alias <<: *e2e-executor parameters: @@ -335,9 +321,6 @@ jobs: e2e_tests_gatsby-image_with_next_react: <<: *e2e_tests_gatsby-image_alias - e2e_tests_development_refresh_endpoint: - <<: *e2e_tests_development_refresh_endpoint_alias - e2e_tests_development_runtime: <<: *e2e_tests_development_runtime_alias diff --git a/e2e-tests/development-refresh-endpoint/.gitignore b/e2e-tests/development-refresh-endpoint/.gitignore deleted file mode 100644 index a17a058d51437..0000000000000 --- a/e2e-tests/development-refresh-endpoint/.gitignore +++ /dev/null @@ -1,76 +0,0 @@ -# Logs -logs -*.log -npm-debug.log* -yarn-debug.log* -yarn-error.log* - -# Runtime data -pids -*.pid -*.seed -*.pid.lock - -# Directory for instrumented libs generated by jscoverage/JSCover -lib-cov - -# Coverage directory used by tools like istanbul -coverage - -# nyc test coverage -.nyc_output - -# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) -.grunt - -# Bower dependency directory (https://bower.io/) -bower_components - -# node-waf configuration -.lock-wscript - -# Compiled binary addons (http://nodejs.org/api/addons.html) -build/Release - -# Dependency directories -node_modules/ -jspm_packages/ - -# Typescript v1 declaration files -typings/ - -# Optional npm cache directory -.npm - -# Optional eslint cache -.eslintcache - -# Optional REPL history -.node_repl_history - -# Output of 'npm pack' -*.tgz - -# dotenv environment variables file -.env - -# gatsby files -.cache/ -public - -# Mac files -.DS_Store - -# Yarn -yarn-error.log -.pnp/ -.pnp.js -# Yarn Integrity file -.yarn-integrity - -# misc files -cypress/screenshots -cypress/fixtures -cypress/videos - -__history__.json diff --git a/e2e-tests/development-refresh-endpoint/LICENSE b/e2e-tests/development-refresh-endpoint/LICENSE deleted file mode 100644 index 5169a5e4135e9..0000000000000 --- a/e2e-tests/development-refresh-endpoint/LICENSE +++ /dev/null @@ -1,22 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2015 gatsbyjs - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - diff --git a/e2e-tests/development-refresh-endpoint/README.md b/e2e-tests/development-refresh-endpoint/README.md deleted file mode 100644 index 61b4f718f9e4a..0000000000000 --- a/e2e-tests/development-refresh-endpoint/README.md +++ /dev/null @@ -1,97 +0,0 @@ -

- - Gatsby - -

-

- Gatsby's default starter -

- -Kick off your project with this default boilerplate ([live demo](https://gatsby-starter-default-demo.netlify.app/)). This barebones starter ships with the main Gatsby configuration files you might need. - -_Have another more specific idea? You may want to check out our vibrant collection of [official and community-created starters](https://www.gatsbyjs.org/docs/gatsby-starters/)._ - -## πŸš€ Quick start - -1. **Create a Gatsby site.** - - Use the Gatsby CLI to create a new site, specifying the default starter. - - ```shell - # create a new Gatsby site using the default starter - gatsby new my-default-starter - ``` - -1. **Start developing.** - - Navigate into your new site’s directory and start it up. - - ```shell - cd my-default-starter/ - gatsby develop - ``` - -1. **Open the source code and start editing!** - - Your site is now running at `http://localhost:8000`! - - \_Note: You'll also see a second link: `http://localhost:8000/___graphql`. This is a tool you can use to experiment with querying your data. Learn more about using this tool in the [Gatsby tutorial](https://www.gatsbyjs.org/tutorial/part-five/#introducing-graphiql).\_ - - Open the `my-default-starter` directory in your code editor of choice and edit `src/pages/index.js`. Save your changes and the browser will update in real time! - -## 🧐 What's inside? - -A quick look at the top-level files and directories you'll see in a Gatsby project. - - . - β”œβ”€β”€ node_modules - β”œβ”€β”€ src - β”œβ”€β”€ .gitignore - β”œβ”€β”€ .prettierrc - β”œβ”€β”€ gatsby-browser.js - β”œβ”€β”€ gatsby-config.js - β”œβ”€β”€ gatsby-node.js - β”œβ”€β”€ gatsby-ssr.js - β”œβ”€β”€ LICENSE - β”œβ”€β”€ package-lock.json - β”œβ”€β”€ package.json - β”œβ”€β”€ README.md - └── yarn.lock - -1. **`/node_modules`**: This directory contains all of the modules of code that your project depends on (npm packages) are automatically installed. - -2. **`/src`**: This directory will contain all of the code related to what you will see on the front-end of your site (what you see in the browser) such as your site header or a page template. `src` is a convention for β€œsource code”. - -3. **`.gitignore`**: This file tells git which files it should not track / not maintain a version history for. - -4. **`.prettierrc`**: This is a configuration file for [Prettier](https://prettier.io/). Prettier is a tool to help keep the formatting of your code consistent. - -5. **`gatsby-browser.js`**: This file is where Gatsby expects to find any usage of the [Gatsby browser APIs](https://www.gatsbyjs.org/docs/browser-apis/) (if any). These allow customization/extension of default Gatsby settings affecting the browser. - -6. **`gatsby-config.js`**: This is the main configuration file for a Gatsby site. This is where you can specify information about your site (metadata) like the site title and description, which Gatsby plugins you’d like to include, etc. (Check out the [config docs](https://www.gatsbyjs.org/docs/gatsby-config/) for more detail). - -7. **`gatsby-node.js`**: This file is where Gatsby expects to find any usage of the [Gatsby Node APIs](https://www.gatsbyjs.org/docs/node-apis/) (if any). These allow customization/extension of default Gatsby settings affecting pieces of the site build process. - -8. **`gatsby-ssr.js`**: This file is where Gatsby expects to find any usage of the [Gatsby server-side rendering APIs](https://www.gatsbyjs.org/docs/ssr-apis/) (if any). These allow customization of default Gatsby settings affecting server-side rendering. - -9. **`LICENSE`**: Gatsby is licensed under the MIT license. - -10. **`package-lock.json`** (See `package.json` below, first). This is an automatically generated file based on the exact versions of your npm dependencies that were installed for your project. **(You won’t change this file directly).** - -11. **`package.json`**: A manifest file for Node.js projects, which includes things like metadata (the project’s name, author, etc). This manifest is how npm knows which packages to install for your project. - -12. **`README.md`**: A text file containing useful reference information about your project. - -13. **`yarn.lock`**: [Yarn](https://yarnpkg.com/) is a package manager alternative to npm. You can use either yarn or npm, though all of the Gatsby docs reference npm. This file serves essentially the same purpose as `package-lock.json`, just for a different package management system. - -## πŸŽ“ Learning Gatsby - -Looking for more guidance? Full documentation for Gatsby lives [on the website](https://www.gatsbyjs.org/). Here are some places to start: - -- **For most developers, we recommend starting with our [in-depth tutorial for creating a site with Gatsby](https://www.gatsbyjs.org/tutorial/).** It starts with zero assumptions about your level of ability and walks through every step of the process. - -- **To dive straight into code samples, head [to our documentation](https://www.gatsbyjs.org/docs/).** In particular, check out the _Guides_, _API Reference_, and _Advanced Tutorials_ sections in the sidebar. - -## πŸ’« Deploy - -[![Deploy to Netlify](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/gatsbyjs/gatsby-starter-default) diff --git a/e2e-tests/development-refresh-endpoint/cypress.json b/e2e-tests/development-refresh-endpoint/cypress.json deleted file mode 100644 index cd20b72e75761..0000000000000 --- a/e2e-tests/development-refresh-endpoint/cypress.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "baseUrl": "http://localhost:8000", - "failOnStatusCode": false -} diff --git a/e2e-tests/development-refresh-endpoint/cypress/plugins/index.js b/e2e-tests/development-refresh-endpoint/cypress/plugins/index.js deleted file mode 100644 index fd170fba6912b..0000000000000 --- a/e2e-tests/development-refresh-endpoint/cypress/plugins/index.js +++ /dev/null @@ -1,17 +0,0 @@ -// *********************************************************** -// This example plugins/index.js can be used to load plugins -// -// You can change the location of this file or turn off loading -// the plugins file with the 'pluginsFile' configuration option. -// -// You can read more here: -// https://on.cypress.io/plugins-guide -// *********************************************************** - -// This function is called when a project is opened or re-opened (e.g. due to -// the project's config changing) - -module.exports = (on, config) => { - // `on` is used to hook into various events Cypress emits - // `config` is the resolved Cypress config -} diff --git a/e2e-tests/development-refresh-endpoint/cypress/support/commands.js b/e2e-tests/development-refresh-endpoint/cypress/support/commands.js deleted file mode 100644 index 6034b0db87038..0000000000000 --- a/e2e-tests/development-refresh-endpoint/cypress/support/commands.js +++ /dev/null @@ -1 +0,0 @@ -import "@testing-library/cypress/add-commands" diff --git a/e2e-tests/development-refresh-endpoint/cypress/support/index.js b/e2e-tests/development-refresh-endpoint/cypress/support/index.js deleted file mode 100644 index 83237f7c18da2..0000000000000 --- a/e2e-tests/development-refresh-endpoint/cypress/support/index.js +++ /dev/null @@ -1,2 +0,0 @@ -import "gatsby-cypress" -import "./commands" diff --git a/e2e-tests/development-refresh-endpoint/gatsby-config.js b/e2e-tests/development-refresh-endpoint/gatsby-config.js deleted file mode 100644 index d703a4edce6e4..0000000000000 --- a/e2e-tests/development-refresh-endpoint/gatsby-config.js +++ /dev/null @@ -1,31 +0,0 @@ -// isomorphic-fetch sets global.fetch which seems to conflicts with source-map@<0.8.0 where it does a -// simple browser check if (global.fetch) which is true when isomorphic-fetch is used. This creates an -// exception in react-hot-loader. @see https://github.com/gatsbyjs/gatsby/pull/13713 -require(`isomorphic-fetch`) - -module.exports = { - siteMetadata: { - title: `Gatsby Default Starter`, - description: `Kick off your next, great Gatsby project with this default starter. This barebones starter ships with the main Gatsby configuration files you might need.`, - author: `@gatsbyjs`, - social: { - twitter: `kylemathews`, - }, - }, - plugins: [ - `gatsby-plugin-react-helmet`, - `gatsby-plugin-sharp`, - { - resolve: `gatsby-plugin-manifest`, - options: { - name: `gatsby-starter-default`, - short_name: `starter`, - start_url: `/`, - background_color: `#663399`, - theme_color: `#663399`, - display: `minimal-ui`, - icon: `src/images/gatsby-icon.png`, // This path is relative to the root of the site. - }, - } - ], -} diff --git a/e2e-tests/development-refresh-endpoint/gatsby-node.js b/e2e-tests/development-refresh-endpoint/gatsby-node.js deleted file mode 100644 index 035ae612157d6..0000000000000 --- a/e2e-tests/development-refresh-endpoint/gatsby-node.js +++ /dev/null @@ -1,10 +0,0 @@ -const path = require(`path`) -exports.createPages = async function createPages({ - actions: { createPage }, -}) { - - createPage({ - path: `/page/`, - component: path.resolve(`src/pages/page.js`), - }) -} diff --git a/e2e-tests/development-refresh-endpoint/package.json b/e2e-tests/development-refresh-endpoint/package.json deleted file mode 100644 index b8a6ace68a5a8..0000000000000 --- a/e2e-tests/development-refresh-endpoint/package.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "name": "e2e-development-refresh-endpoint", - "description": "An e2e-test validating development refresh endpoint functionality", - "version": "1.0.0", - "author": "Daniel Aparicio ", - "dependencies": { - "gatsby": "^2.4.4", - "gatsby-plugin-react-helmet": "^3.0.6", - "gatsby-plugin-sharp": "^2.0.37", - "isomorphic-fetch": "^2.2.1", - "prop-types": "^15.6.2", - "react": "16.8.6", - "react-dom": "16.8.6", - "react-helmet": "^5.2.1" - }, - "keywords": [ - "gatsby", - "gatsby-e2e" - ], - "license": "MIT", - "scripts": { - "build": "gatsby build", - "develop": "cross-env CYPRESS_SUPPORT=y ENABLE_GATSBY_REFRESH_ENDPOINT=true gatsby develop", - "serve": "gatsby serve", - "start": "npm run develop", - "format": "prettier --write \"src/**/*.js\"", - "test": "npm run start-server-and-test || (npm run reset && exit 1)", - "start-server-and-test": "start-server-and-test develop http://localhost:8000 cy:run", - "cy:open": "cypress open", - "cy:run": "(is-ci && cypress run --browser chrome --record) || cypress run --browser chrome" - }, - "devDependencies": { - "@testing-library/cypress": "^4.0.4", - "cross-env": "^5.2.0", - "cypress": "3.4.1", - "fs-extra": "^7.0.1", - "gatsby-cypress": "0.4.4", - "is-ci": "^2.0.0", - "prettier": "2.0.4", - "start-server-and-test": "^1.7.11", - "yargs": "^12.0.5" - }, - "repository": { - "type": "git", - "url": "https://github.com/gatsbyjs/gatsby" - } -} diff --git a/e2e-tests/development-refresh-endpoint/src/images/gatsby-icon.png b/e2e-tests/development-refresh-endpoint/src/images/gatsby-icon.png deleted file mode 100644 index 908bc78a7f5596fab5a638d6ac07e331dc4c74d4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 21212 zcmYg%byQT}`}G~VL6Pq6l5PZ~QyQd1q@=qCX+c0jx{(x+kcJsRN>IAHk?v;ZH~9I! zYrTK4n8iKuoG13)&*4tAmWCoO7C9CG0JzFZ@~;2@3GopLz(7O%I`^5l1%OwD%JMIC zeL(w**h)p4)Zi0MMZ4La!m2?ocIez9{Z!qjXOpt;2f5hdDhbJyB$j7je>UU zztw)va(Z&YR>?9M(EL=eiJ~Oor*9khnb>H|i?_!_3dao0d@*0!Ji{bgLcX>csjVr- zu5i5NjWY9~4<~VBKaw3w`?XV*&E!8J{4H`G>A{R>N zA$G%HqL1WyTN5J4X-O`t+{vf|suT?F}9wX)iG5gQ>X=%7U6ksYJg8l*;9)G}e*0^GR|oaj>tg40wDU*YG(l zaB}lWQe8kL+6LboQ3rqo-A{h^gm77Mve-3)_ZAfSwDq5G?>}n4O;F&Vej!=@_&-^zbei@l5fA zckcK}P%qktdTfeoGMao`{B>4(#KBY)si#McHFr{65YFT(o>b)pEjUPp~M8SSfCWQ_Kam0^=2? zaSxHl3TGT`OCVx6(@2yMjwPSM;N2J=F<+RFfM4dy6v84RTN!L_tKL07YZ;TYPV4%- zPEq9N0An7x%`vlrD{?-LvM}#QVb@+7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PM!L7==Y?0dn Pwx}U%bK8?;ra1Edyv(7f diff --git a/e2e-tests/development-refresh-endpoint/src/pages/page.js b/e2e-tests/development-refresh-endpoint/src/pages/page.js deleted file mode 100644 index ae503a28835f9..0000000000000 --- a/e2e-tests/development-refresh-endpoint/src/pages/page.js +++ /dev/null @@ -1,10 +0,0 @@ -import React from "react" - -const Page = () => ( - <> -

Hi from the page

-

Welcome to page

- -) - -export default Page diff --git a/e2e-tests/development-refresh-endpoint/cypress/integration/functionality/refresh-endpoint.js b/e2e-tests/development-runtime/cypress/integration/functionality/refresh-endpoint.js similarity index 73% rename from e2e-tests/development-refresh-endpoint/cypress/integration/functionality/refresh-endpoint.js rename to e2e-tests/development-runtime/cypress/integration/functionality/refresh-endpoint.js index 23ff376790f43..a414fae33a267 100644 --- a/e2e-tests/development-refresh-endpoint/cypress/integration/functionality/refresh-endpoint.js +++ b/e2e-tests/development-runtime/cypress/integration/functionality/refresh-endpoint.js @@ -1,5 +1,7 @@ describe(`When the refresh endpoint is hit multiple times`, () => { - + afterEach(() => { + waitUntilServerRespondsSucessfully() + }); it(`should put new requests with unique body in a queue`, () => { cy.request(`POST`, `/__refresh`).then(response => { expect(response.body).to.be.equal(``) @@ -20,3 +22,11 @@ describe(`When the refresh endpoint is hit multiple times`, () => { }) +function waitUntilServerRespondsSucessfully() { + cy.waitUntil(() => cy.request("/").then((response) => { + return response.status == 200 + }), { + timeout: 20000, + interval: 1000 + }) +} \ No newline at end of file diff --git a/e2e-tests/development-runtime/cypress/support/commands.js b/e2e-tests/development-runtime/cypress/support/commands.js index 488410d485354..efacf2f14f7f5 100644 --- a/e2e-tests/development-runtime/cypress/support/commands.js +++ b/e2e-tests/development-runtime/cypress/support/commands.js @@ -1,4 +1,5 @@ import "@testing-library/cypress/add-commands" +import 'cypress-wait-until'; Cypress.Commands.add(`lifecycleCallCount`, action => cy diff --git a/e2e-tests/development-runtime/package.json b/e2e-tests/development-runtime/package.json index 3c0a893d1abd2..9c8aab3c42ba8 100644 --- a/e2e-tests/development-runtime/package.json +++ b/e2e-tests/development-runtime/package.json @@ -46,6 +46,7 @@ "@testing-library/cypress": "^4.0.4", "cross-env": "^5.2.0", "cypress": "3.4.1", + "cypress-wait-until": "1.7.1", "fs-extra": "^7.0.1", "gatsby-cypress": "^0.1.7", "is-ci": "^2.0.0", From d71bc5bf8eb394afb9e3e74527aeec313b9f2441 Mon Sep 17 00:00:00 2001 From: Daniel Aparicio Date: Mon, 29 Jun 2020 11:06:07 +0200 Subject: [PATCH 5/5] fix circle ci config --- .circleci/config.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 0dbcca4851647..57bce2440cbb8 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -556,8 +556,6 @@ workflows: <<: *e2e-test-workflow - e2e_tests_gatsby-image: <<: *e2e-test-workflow - - e2e_tests_development_refresh_endpoint: - <<: *e2e-test-workflow - e2e_tests_development_runtime: <<: *e2e-test-workflow - e2e_tests_production_runtime: