Move minimal configuration into suites directory.

This commit is contained in:
Clement Michaud 2019-01-30 16:50:49 +01:00
parent c5eb86e0fd
commit 387187b152
6 changed files with 23 additions and 31 deletions

View File

@ -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';

View File

@ -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() {
/**

View File

@ -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,

View File

@ -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() {

View File

@ -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() {
/**

View File

@ -1,9 +0,0 @@
import { WebDriver } from "selenium-webdriver";
/*
declare module 'mocha' {
interface ISuiteCallbackContext {
driver1: WebDriver;
}
}
*/