Open
Description
/kind bug
Which area is this bug related to?
/area documentation
/area landing-page
What versions of software are you using?
Node.js project
Operating System and version: N/A
Node.js version: 18
Yarn version: 1.22.19
Project.json: https://github.com/devfile/devfile-web/blob/cf64c6821b06d51eebec5210ee554e2fb9769060/package.json
Bug Summary
Describe the bug:
The E2E testing is failing due to a number of external links in the documentation pages becoming unresponsive over time. This is likely the case of the referenced pages being moved or removed from the external sites.
To Reproduce:
Run the E2E testing: yarn nx affected --target=e2e --configuration=production --parallel=1
Expected behavior
All E2E test cases should pass and all links should return responses.
Any logs, error output, screenshots etc? Provide the devfile that sees this bug, if applicable
281 passing (7m)
3 failing
1) Docs
Version: 2.2.0
Section: Get started
Page: Quick start with odo v3
has valid links:
CypressError: `cy.request()` timed out waiting `30000ms` for a response from your server.
The request we sent was:
Method: GET
URL: https://odo.dev/docs/overview/installation
No response was received within the timeout.
https://on.cypress.io/request
at <unknown> (http://localhost:4200/__cypress/runner/cypress_runner.js:139742:78)
at tryCatcher (http://localhost:4200/__cypress/runner/cypress_runner.js:8914:23)
at <unknown> (http://localhost:4200/__cypress/runner/cypress_runner.js:4036:41)
at tryCatcher (http://localhost:4200/__cypress/runner/cypress_runner.js:8914:23)
at Promise._settlePromiseFromHandler (http://localhost:4200/__cypress/runner/cypress_runner.js:6849:31)
at Promise._settlePromise (http://localhost:4200/__cypress/runner/cypress_runner.js:6906:18)
at Promise._settlePromise0 (http://localhost:4200/__cypress/runner/cypress_runner.js:6951:10)
at Promise._settlePromises (http://localhost:4200/__cypress/runner/cypress_runner.js:7027:18)
at _drainQueueStep (http://localhost:4200/__cypress/runner/cypress_runner.js:3621:12)
at _drainQueue (http://localhost:4200/__cypress/runner/cypress_runner.js:3614:9)
at ../../node_modules/bluebird/js/release/async.js.Async._drainQueues (http://localhost:4200/__cypress/runner/cypress_runner.js:3630:5)
at Async.drainQueues (http://localhost:4200/__cypress/runner/cypress_runner.js:3500:14)
From Your Spec Code:
at Context.eval (webpack:///./src/e2e/app.cy.ts:46:23)
2) Docs
Version: 2.2.0
Section: Get started
Page: Quick start with Eclipse Che
has valid links:
CypressError: `cy.request()` timed out waiting `30000ms` for a response from your server.
The request we sent was:
Method: GET
URL: https://minikube.sigs.k8s.io/docs/start/
No response was received within the timeout.
https://on.cypress.io/request
at <unknown> (http://localhost:4200/__cypress/runner/cypress_runner.js:139742:78)
at tryCatcher (http://localhost:4200/__cypress/runner/cypress_runner.js:8914:23)
at <unknown> (http://localhost:4200/__cypress/runner/cypress_runner.js:4036:41)
at tryCatcher (http://localhost:4200/__cypress/runner/cypress_runner.js:8914:23)
at Promise._settlePromiseFromHandler (http://localhost:4200/__cypress/runner/cypress_runner.js:6849:31)
at Promise._settlePromise (http://localhost:4200/__cypress/runner/cypress_runner.js:6906:18)
at Promise._settlePromise0 (http://localhost:4200/__cypress/runner/cypress_runner.js:6951:10)
at Promise._settlePromises (http://localhost:4200/__cypress/runner/cypress_runner.js:7027:18)
at _drainQueueStep (http://localhost:4200/__cypress/runner/cypress_runner.js:3621:12)
at _drainQueue (http://localhost:4200/__cypress/runner/cypress_runner.js:3614:9)
at ../../node_modules/bluebird/js/release/async.js.Async._drainQueues (http://localhost:4200/__cypress/runner/cypress_runner.js:3630:5)
at Async.drainQueues (http://localhost:4200/__cypress/runner/cypress_runner.js:3500:14)
From Your Spec Code:
at Context.eval (webpack:///./src/e2e/app.cy.ts:46:23)
3) Docs
Version: 2.2.1
Section: Get started
Page: Quick start with odo v3
has valid links:
CypressError: `cy.request()` timed out waiting `30000ms` for a response from your server.
The request we sent was:
Method: GET
URL: https://minikube.sigs.k8s.io/docs/start/
No response was received within the timeout.
https://on.cypress.io/request
at <unknown> (http://localhost:4200/__cypress/runner/cypress_runner.js:139742:78)
at tryCatcher (http://localhost:4200/__cypress/runner/cypress_runner.js:8914:23)
at <unknown> (http://localhost:4200/__cypress/runner/cypress_runner.js:4036:41)
at tryCatcher (http://localhost:4200/__cypress/runner/cypress_runner.js:8914:23)
at Promise._settlePromiseFromHandler (http://localhost:4200/__cypress/runner/cypress_runner.js:6849:31)
at Promise._settlePromise (http://localhost:4200/__cypress/runner/cypress_runner.js:6906:18)
at Promise._settlePromise0 (http://localhost:4200/__cypress/runner/cypress_runner.js:6951:10)
at Promise._settlePromises (http://localhost:4200/__cypress/runner/cypress_runner.js:7027:18)
at _drainQueueStep (http://localhost:4200/__cypress/runner/cypress_runner.js:3621:12)
at _drainQueue (http://localhost:4200/__cypress/runner/cypress_runner.js:3614:9)
at ../../node_modules/bluebird/js/release/async.js.Async._drainQueues (http://localhost:4200/__cypress/runner/cypress_runner.js:3630:5)
at Async.drainQueues (http://localhost:4200/__cypress/runner/cypress_runner.js:3500:14)
From Your Spec Code:
at Context.eval (webpack:///./src/e2e/app.cy.ts:46:23)
Additional context
Any workaround?
N/A
Suggestion on how to fix the bug
- An investigation into what are the new page links for the odo installation guide and the minikube quickstart guide
- Replace instances of https://odo.dev/docs/overview/installation with the replacement url
- Replace instances of https://minikube.sigs.k8s.io/docs/start/ with the replacement url
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Backlog