Update dependency cypress to v10 (#2095)

* Update dependency cypress to v10
* Migrate cypress files

Signed-off-by: Renovate Bot <bot@renovateapp.com>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
renovate[bot] 2022-06-08 11:19:51 +00:00 committed by GitHub
parent e93607c96e
commit 040e11924f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
34 changed files with 57 additions and 45 deletions

30
cypress/support/e2e.ts Normal file
View file

@ -0,0 +1,30 @@
/*
* SPDX-FileCopyrightText: 2022 The HedgeDoc developers (see AUTHORS file)
*
* SPDX-License-Identifier: AGPL-3.0-only
*/
// ***********************************************************
// This example support/index.ts is processed and
// loaded automatically before your test files.
//
// This is a great place to put global configuration and
// behavior that modifies Cypress.
//
// You can change the location of this file or turn off
// automatically serving support files with the
// 'supportFile' configuration option.
//
// You can read more here:
// https://on.cypress.io/configuration
// ***********************************************************
import 'cypress-commands'
import './check-links'
import './config'
import './fill'
import './get-by-id'
import './get-iframe-content'
import './logout'
import './visit-test-editor'
import './visit'