Skip to content

Commit

Permalink
put disableRestorePagesPrompt back in promise list in browser open
Browse files Browse the repository at this point in the history
  • Loading branch information
cacieprins committed May 15, 2024
1 parent 04f295e commit c209969
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/server/lib/browsers/chrome.ts
Original file line number Diff line number Diff line change
Expand Up @@ -510,16 +510,13 @@ export = {
launchOptions.preferences = _mergeChromePreferences(preferences, launchOptions.preferences as ChromePreferences)
}

const p = _disableRestorePagesPrompt(userDir)

debug(p)
await p
const [extDest] = await Bluebird.all([
this._writeExtension(
browser,
options,
),
_removeRootExtension(),
_disableRestorePagesPrompt(userDir),
// Chrome adds a lock file to the user data dir. If we are restarting the run and browser, we need to remove it.
fs.unlink(path.join(userDir, 'SingletonLock')).catch(() => {}),
_writeChromePreferences(userDir, preferences, launchOptions.preferences as ChromePreferences),
Expand Down

4 comments on commit c209969

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on c209969 May 15, 2024

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 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/13.10.0/linux-arm64/ignore-chrom-prefs-c209969af1c93d6a5da2fcddc1f46ec0ea8b9d1d/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on c209969 May 15, 2024

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/13.10.0/linux-x64/ignore-chrom-prefs-c209969af1c93d6a5da2fcddc1f46ec0ea8b9d1d/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on c209969 May 15, 2024

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/13.10.0/darwin-arm64/ignore-chrom-prefs-c209969af1c93d6a5da2fcddc1f46ec0ea8b9d1d/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on c209969 May 15, 2024

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/13.10.0/darwin-x64/ignore-chrom-prefs-c209969af1c93d6a5da2fcddc1f46ec0ea8b9d1d/cypress.tgz

Please sign in to comment.