Cypress tests for OAuth login

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

No files matched your search

-6
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;