Skip to content

Commit

Permalink
Merge pull request #21395 from cypress-io/ryanm/chore/merge-master
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanthemanuel committed May 9, 2022
2 parents 0d958dc + 2b42960 commit 37df3ca
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
7 changes: 7 additions & 0 deletions npm/vue/CHANGELOG.md
@@ -1,3 +1,10 @@
# [@cypress/vue-v3.1.2](https://github.com/cypress-io/cypress/compare/@cypress/vue-v3.1.1...@cypress/vue-v3.1.2) (2022-05-03)


### Bug Fixes

* head content reset, fix [#19721](https://github.com/cypress-io/cypress/issues/19721) ([#21291](https://github.com/cypress-io/cypress/issues/21291)) ([77ab6a5](https://github.com/cypress-io/cypress/commit/77ab6a51a0de1929171a2275e9cec9580c57241d))

# [@cypress/vue-v3.1.1](https://github.com/cypress-io/cypress/compare/@cypress/vue-v3.1.0...@cypress/vue-v3.1.1) (2022-02-10)


Expand Down
4 changes: 0 additions & 4 deletions npm/vue/src/index.ts
Expand Up @@ -39,8 +39,6 @@ type CyMountOptions<Props, Data = {}> = Omit<MountingOptions<Props, Data>, 'atta
}
} & Partial<StyleOptions>

let initialInnerHtml = ''

Cypress.on('run:start', () => {
// `mount` is designed to work with component testing only.
// it assumes ROOT_ID exists, which is not the case in e2e.
Expand All @@ -52,7 +50,6 @@ Cypress.on('run:start', () => {
return
}

initialInnerHtml = document.head.innerHTML
Cypress.on('test:before:run', () => {
Cypress.vueWrapper?.unmount()
// @ts-ignore
Expand All @@ -64,7 +61,6 @@ Cypress.on('run:start', () => {
}

el.innerHTML = ''
document.head.innerHTML = initialInnerHtml
})
})

Expand Down

3 comments on commit 37df3ca

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 37df3ca May 9, 2022

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 platform-specific build at https://on.cypress.io/installing-cypress#Install-pre-release-version.

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/9.6.1/linux-x64/develop-37df3cab6430532b63b19586c4da9e5c0beec5cb/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 37df3ca May 9, 2022

Choose a reason for hiding this comment

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

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

Learn more about this pre-release platform-specific build at https://on.cypress.io/installing-cypress#Install-pre-release-version.

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/9.6.1/win32-x64/develop-37df3cab6430532b63b19586c4da9e5c0beec5cb/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 37df3ca May 9, 2022

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 platform-specific build at https://on.cypress.io/installing-cypress#Install-pre-release-version.

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/9.6.1/darwin-x64/develop-37df3cab6430532b63b19586c4da9e5c0beec5cb/cypress.tgz

Please sign in to comment.