Skip to content

Commit

Permalink
log on the first retry so that we know it happened [run ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
astone123 committed Mar 23, 2023
1 parent 240a4c0 commit 164ef2e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions npm/vite-dev-server/client/initCypressTests.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ async function importWithRetry (importFn) {
.trim(),
)

console.error(`retrying import of ${url?.href}`)

// add a timestamp to the end of the URL to force re-load the module instead of using the cache
url.searchParams.set('t', `${+new Date()}`)

Expand Down

3 comments on commit 164ef2e

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 164ef2e Mar 23, 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-164ef2e5082dbe1b7cb3204dfbdfcde9af63b939/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 164ef2e Mar 23, 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-164ef2e5082dbe1b7cb3204dfbdfcde9af63b939/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 164ef2e Mar 23, 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-164ef2e5082dbe1b7cb3204dfbdfcde9af63b939/cypress.tgz

Please sign in to comment.