mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
Move minimal configuration into suites directory.
This commit is contained in:
parent
c5eb86e0fd
commit
387187b152
|
@ -1,7 +1,7 @@
|
|||
import ChildProcess from 'child_process';
|
||||
import Bluebird from "bluebird";
|
||||
|
||||
import AutheliaSuite from "../helpers/context/AutheliaSuite";
|
||||
import AutheliaSuite from "../../helpers/context/AutheliaSuite";
|
||||
import BadPassword from "./scenarii/BadPassword";
|
||||
import RegisterTotp from './scenarii/RegisterTotp';
|
||||
import ResetPassword from './scenarii/ResetPassword';
|
|
@ -1,7 +1,7 @@
|
|||
import FillLoginPageWithUserAndPasswordAndClick from '../../helpers/FillLoginPageAndClick';
|
||||
import VisitPage from '../../helpers/VisitPage';
|
||||
import SeeNotification from '../../helpers/SeeNotification';
|
||||
import {AUTHENTICATION_FAILED} from '../../../shared/UserMessages';
|
||||
import FillLoginPageWithUserAndPasswordAndClick from '../../../helpers/FillLoginPageAndClick';
|
||||
import VisitPage from '../../../helpers/VisitPage';
|
||||
import SeeNotification from '../../../helpers/SeeNotification';
|
||||
import {AUTHENTICATION_FAILED} from '../../../../shared/UserMessages';
|
||||
|
||||
export default function() {
|
||||
/**
|
|
@ -1,5 +1,5 @@
|
|||
import SeleniumWebdriver from "selenium-webdriver";
|
||||
import LoginAndRegisterTotp from '../../helpers/LoginAndRegisterTotp';
|
||||
import LoginAndRegisterTotp from '../../../helpers/LoginAndRegisterTotp';
|
||||
|
||||
/**
|
||||
* Given the user logs in as john,
|
|
@ -1,12 +1,13 @@
|
|||
import VisitPage from '../../helpers/VisitPage';
|
||||
import ClickOnLink from '../../helpers/ClickOnLink';
|
||||
import ClickOn from '../../helpers/ClickOn';
|
||||
import WaitRedirected from '../../helpers/WaitRedirected';
|
||||
import FillField from "../../helpers/FillField";
|
||||
import {GetLinkFromEmail} from "../../helpers/GetIdentityLink";
|
||||
import FillLoginPageAndClick from "../../helpers/FillLoginPageAndClick";
|
||||
import SeleniumWebDriver from 'selenium-webdriver';
|
||||
import IsSecondFactorStage from "../../helpers/IsSecondFactorStage";
|
||||
|
||||
import VisitPage from '../../../helpers/VisitPage';
|
||||
import ClickOnLink from '../../../helpers/ClickOnLink';
|
||||
import ClickOn from '../../../helpers/ClickOn';
|
||||
import WaitRedirected from '../../../helpers/WaitRedirected';
|
||||
import FillField from "../../../helpers/FillField";
|
||||
import {GetLinkFromEmail} from "../../../helpers/GetIdentityLink";
|
||||
import FillLoginPageAndClick from "../../../helpers/FillLoginPageAndClick";
|
||||
import IsSecondFactorStage from "../../../helpers/IsSecondFactorStage";
|
||||
|
||||
export default function() {
|
||||
it("should reset password for john", async function() {
|
|
@ -1,11 +1,11 @@
|
|||
import FillLoginPageWithUserAndPasswordAndClick from '../../helpers/FillLoginPageAndClick';
|
||||
import WaitRedirected from '../../helpers/WaitRedirected';
|
||||
import VisitPage from '../../helpers/VisitPage';
|
||||
import ValidateTotp from '../../helpers/ValidateTotp';
|
||||
import AccessSecret from "../../helpers/AccessSecret";
|
||||
import LoginAndRegisterTotp from '../../helpers/LoginAndRegisterTotp';
|
||||
import SeeNotification from '../../helpers/SeeNotification';
|
||||
import { AUTHENTICATION_TOTP_FAILED } from '../../../shared/UserMessages';
|
||||
import FillLoginPageWithUserAndPasswordAndClick from '../../../helpers/FillLoginPageAndClick';
|
||||
import WaitRedirected from '../../../helpers/WaitRedirected';
|
||||
import VisitPage from '../../../helpers/VisitPage';
|
||||
import ValidateTotp from '../../../helpers/ValidateTotp';
|
||||
import AccessSecret from "../../../helpers/AccessSecret";
|
||||
import LoginAndRegisterTotp from '../../../helpers/LoginAndRegisterTotp';
|
||||
import SeeNotification from '../../../helpers/SeeNotification';
|
||||
import { AUTHENTICATION_TOTP_FAILED } from '../../../../shared/UserMessages';
|
||||
|
||||
export default function() {
|
||||
/**
|
9
test/types/mocha.d.ts
vendored
9
test/types/mocha.d.ts
vendored
|
@ -1,9 +0,0 @@
|
|||
import { WebDriver } from "selenium-webdriver";
|
||||
|
||||
/*
|
||||
declare module 'mocha' {
|
||||
interface ISuiteCallbackContext {
|
||||
driver1: WebDriver;
|
||||
}
|
||||
}
|
||||
*/
|
Loading…
Reference in New Issue
Block a user