Skip to content

Commit

Permalink
add comment and changelog entry
Browse files Browse the repository at this point in the history
  • Loading branch information
astone123 committed Mar 24, 2023
1 parent ed984ef commit 243502a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions cli/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ _Released 03/28/2023 (PENDING)_

- Fixed a compatibility issue so that component test projects can use [Vite](https://vitejs.dev/) version 4.2.0 and greater. Fixes [#26138](https://github.com/cypress-io/cypress/issues/26138).
- Changed the way that Git hashes are loaded so that non-relevant runs are excluded from the Debug page. Fixes [#26058](https://github.com/cypress-io/cypress/issues/26058).
- Fixed an issue where Vite component tests sometimes fail in CI due to not being able to dynamically import the component support or spec modules. Fixes [#25913](https://github.com/cypress-io/cypress/issues/25913).

**Misc:**

Expand Down
5 changes: 4 additions & 1 deletion npm/vite-dev-server/client/initCypressTests.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
// This file is merged in a <script type=module> into index.html
// it will be used to load and kick start the selected spec

// Fetch a dynamic import and re-try 3 times with a 2-second back-off
// Fetch a dynamic import and re-try 3 times with a 2-second back-off.
// We want to re-try these if they fail because sometimes (seemingly due to network issues)
// the modules aren't available when we first request them.
// See https://github.com/cypress-io/cypress/issues/25913
async function importWithRetry (importFn) {
try {
return await importFn()
Expand Down

3 comments on commit 243502a

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 243502a Mar 24, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Circle has built the linux x64 version of the Test Runner.

Learn more about this pre-release build at https://on.cypress.io/advanced-installation#Install-pre-release-version

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/12.8.2/linux-x64/retry-dynamic-imports-243502ae98b750e429789d373dd7175f487a62ee/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 243502a Mar 24, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Circle has built the darwin arm64 version of the Test Runner.

Learn more about this pre-release build at https://on.cypress.io/advanced-installation#Install-pre-release-version

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/12.8.2/darwin-arm64/retry-dynamic-imports-243502ae98b750e429789d373dd7175f487a62ee/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 243502a Mar 24, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Circle has built the darwin x64 version of the Test Runner.

Learn more about this pre-release build at https://on.cypress.io/advanced-installation#Install-pre-release-version

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/12.8.2/darwin-x64/retry-dynamic-imports-243502ae98b750e429789d373dd7175f487a62ee/cypress.tgz

Please sign in to comment.