changed calls to cy.route to cy.intercept (#806)

Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
Philip Molares 2020-11-30 12:31:54 +01:00 committed by GitHub
parent bc7ff07256
commit e0dbb05572
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 87 additions and 49 deletions

View file

@ -15,10 +15,9 @@ export const branding = {
}
beforeEach(() => {
cy.server()
cy.route({
url: '/api/v2/config',
response: {
cy.intercept('/api/v2/config', {
statusCode: 200,
body: {
allowAnonymous: true,
authProviders: {
facebook: true,