Skip to content

Commit

Permalink
Simply state that the element is not visible. (#5982)
Browse files Browse the repository at this point in the history
  • Loading branch information
jennifer-shehane authored Dec 18, 2019
1 parent 343c0f4 commit 6552d7e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/driver/src/dom/visibility.js
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ ${covered}\
}
}

return `Cypress could not determine why this element '${node}' is not visible.`
return `This element '${node}' is not visible.`
}
/* eslint-enable no-cond-assign */

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1051,7 +1051,7 @@ This element '<div#coveredUpPosFixed>' is not visible because it has CSS propert
})

it('cannot determine why element is not visible', function () {
this.reasonIs(this.$btnOpacity, 'Cypress could not determine why this element \'<button>\' is not visible.')
this.reasonIs(this.$btnOpacity, 'This element \'<button>\' is not visible.')
})
})
})
Expand Down

4 comments on commit 6552d7e

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 6552d7e Dec 18, 2019

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.

You can install this pre-release platform-specific build using instructions at https://on.cypress.io/installing-cypress#Install-pre-release-version.

You will need to use custom CYPRESS_INSTALL_BINARY url and install Cypress using an url instead of the version.

export CYPRESS_INSTALL_BINARY=https://cdn.cypress.io/beta/binary/3.8.1/linux-x64/circle-develop-6552d7e76fc811d2274f313789a8f1f244145cc9-218009/cypress.zip
npm install https://cdn.cypress.io/beta/npm/3.8.1/circle-develop-6552d7e76fc811d2274f313789a8f1f244145cc9-217999/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 6552d7e Dec 18, 2019

Choose a reason for hiding this comment

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

AppVeyor has built the win32 ia32 version of the Test Runner.

You can install this pre-release platform-specific build using instructions at https://on.cypress.io/installing-cypress#Install-pre-release-version.

You will need to use custom CYPRESS_INSTALL_BINARY url and install Cypress using an url instead of the version.

set CYPRESS_INSTALL_BINARY=https://cdn.cypress.io/beta/binary/3.8.1/win32-ia32/appveyor-develop-6552d7e76fc811d2274f313789a8f1f244145cc9-29618647/cypress.zip
npm install https://cdn.cypress.io/beta/binary/3.8.1/win32-ia32/appveyor-develop-6552d7e76fc811d2274f313789a8f1f244145cc9-29618647/cypress.zip

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 6552d7e Dec 18, 2019

Choose a reason for hiding this comment

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

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

You can install this pre-release platform-specific build using instructions at https://on.cypress.io/installing-cypress#Install-pre-release-version.

You will need to use custom CYPRESS_INSTALL_BINARY url and install Cypress using an url instead of the version.

set CYPRESS_INSTALL_BINARY=https://cdn.cypress.io/beta/binary/3.8.1/win32-x64/appveyor-develop-6552d7e76fc811d2274f313789a8f1f244145cc9-29618647/cypress.zip
npm install https://cdn.cypress.io/beta/binary/3.8.1/win32-x64/appveyor-develop-6552d7e76fc811d2274f313789a8f1f244145cc9-29618647/cypress.zip

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 6552d7e Dec 18, 2019

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.

You can install this pre-release platform-specific build using instructions at https://on.cypress.io/installing-cypress#Install-pre-release-version.

You will need to use custom CYPRESS_INSTALL_BINARY url and install Cypress using an url instead of the version.

export CYPRESS_INSTALL_BINARY=https://cdn.cypress.io/beta/binary/3.8.1/darwin-x64/circle-develop-6552d7e76fc811d2274f313789a8f1f244145cc9-218013/cypress.zip
npm install https://cdn.cypress.io/beta/npm/3.8.1/circle-develop-6552d7e76fc811d2274f313789a8f1f244145cc9-218010/cypress.tgz

Please sign in to comment.