Update dependency cypress to v6 (#798)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Philip Molares <philip.molares@udo.edu>
Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
renovate[bot] 2020-11-28 11:51:40 +01:00 committed by GitHub
parent 5fa9de003c
commit a7aae1ae4a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 23 additions and 30 deletions

View file

@ -38,19 +38,9 @@ describe('Intro', () => {
}) })
}) })
describe('Version', () => { it('Versioncan be opened and closed', () => {
it('can be opened', () => {
cy.get('#versionModal') cy.get('#versionModal')
.should('not.be.visible') .should('not.exist')
cy.get('#version')
.click()
cy.get('#versionModal')
.should('be.visible')
})
it('can be closed', () => {
cy.get('#versionModal')
.should('not.be.visible')
cy.get('#version') cy.get('#version')
.click() .click()
cy.get('#versionModal') cy.get('#versionModal')
@ -59,7 +49,6 @@ describe('Intro', () => {
.contains('Close') .contains('Close')
.click() .click()
cy.get('#versionModal') cy.get('#versionModal')
.should('not.be.visible') .should('not.exist')
})
}) })
}) })

View file

@ -40,6 +40,8 @@ describe('profile page', () => {
}) })
it('delete token', () => { it('delete token', () => {
cy.get('.modal-dialog')
.should('not.exist')
cy.get('.card.access-tokens .list-group-item .btn-danger') cy.get('.card.access-tokens .list-group-item .btn-danger')
.click() .click()
cy.get('.modal-dialog') cy.get('.modal-dialog')
@ -47,7 +49,7 @@ describe('profile page', () => {
.get('.modal-footer .btn-danger') .get('.modal-footer .btn-danger')
.click() .click()
cy.get('.modal-dialog') cy.get('.modal-dialog')
.should('not.be.visible') .should('not.exist')
}) })
it('add token', () => { it('add token', () => {
@ -55,6 +57,8 @@ describe('profile page', () => {
.should('be.disabled') .should('be.disabled')
cy.get('.card.access-tokens input[type=text]') cy.get('.card.access-tokens input[type=text]')
.type('cypress') .type('cypress')
cy.get('.modal-dialog')
.should('not.exist')
cy.get('.card.access-tokens .btn-primary') cy.get('.card.access-tokens .btn-primary')
.should('not.be.disabled') .should('not.be.disabled')
.click() .click()

View file

@ -163,7 +163,7 @@
"@types/redux-devtools": "3.0.47", "@types/redux-devtools": "3.0.47",
"@types/redux-devtools-extension": "2.13.2", "@types/redux-devtools-extension": "2.13.2",
"cross-env": "7.0.2", "cross-env": "7.0.2",
"cypress": "5.6.0", "cypress": "6.0.0",
"cypress-commands": "1.1.0", "cypress-commands": "1.1.0",
"cypress-file-upload": "4.1.1", "cypress-file-upload": "4.1.1",
"eslint-plugin-chai-friendly": "0.6.0", "eslint-plugin-chai-friendly": "0.6.0",
@ -175,6 +175,6 @@
"webpack-bundle-analyzer": "4.1.0" "webpack-bundle-analyzer": "4.1.0"
}, },
"resolutions": { "resolutions": {
"cypress": "5.6.0" "cypress": "6.0.0"
} }
} }

View file

@ -4892,10 +4892,10 @@ cypress-file-upload@4.1.1:
dependencies: dependencies:
mime "^2.4.4" mime "^2.4.4"
cypress@5.6.0: cypress@6.0.0:
version "5.6.0" version "6.0.0"
resolved "https://registry.yarnpkg.com/cypress/-/cypress-5.6.0.tgz#6781755c3ddfd644ce3179fcd7389176c0c82280" resolved "https://registry.yarnpkg.com/cypress/-/cypress-6.0.0.tgz#57050773c61e8fe1e5c9871cc034c616fcacded9"
integrity sha512-cs5vG3E2JLldAc16+5yQxaVRLLqMVya5RlrfPWkC72S5xrlHFdw7ovxPb61s4wYweROKTyH01WQc2PFzwwVvyQ== integrity sha512-A/w9S15xGxX5UVeAQZacKBqaA0Uqlae9e5WMrehehAdFiLOZj08IgSVZOV8YqA9OH9Z0iBOnmsEkK3NNj43VrA==
dependencies: dependencies:
"@cypress/listr-verbose-renderer" "^0.4.1" "@cypress/listr-verbose-renderer" "^0.4.1"
"@cypress/request" "^2.88.5" "@cypress/request" "^2.88.5"