Cypress tests for OAuth login

This commit is contained in:
Jamie Curnow
2024-11-12 10:38:56 +10:00
parent d048d1fc98
commit 47d7896301
4 changed files with 67 additions and 6 deletions

View File

@ -1,16 +1,10 @@
/// <reference types="cypress" />
const { curry } = require("lodash");
// WIP
describe('LDAP with Authentik', () => {
let token;
if (Cypress.env('stack') === 'postgres') {
before(() => {
cy.task('log', 'STACK IS: ' + Cypress.env('stack'));
cy.resetUsers();
cy.getToken().then((tok) => {
token = tok;