mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-31 17:38:28 +00:00
[ACA-3392] Create aca-testing-shared project to be reused in ADW (#1480)
* Move e2e framework to aca-shared/testing * * Update e2e suites imports from @alfresco/aca-shared/testing * Remove testing framework from 'e2e' directory * Move e2e testing framework to `aca-testing-shared` project
This commit is contained in:
@@ -23,10 +23,16 @@
|
||||
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import { LoginPage, SearchResultsPage } from '../../pages/pages';
|
||||
import { RepoClient } from '../../utilities/repo-client/repo-client';
|
||||
import { Utils } from '../../utilities/utils';
|
||||
import { FILES, SITE_VISIBILITY, SITE_ROLES } from '../../configs';
|
||||
import {
|
||||
LoginPage,
|
||||
SearchResultsPage,
|
||||
RepoClient,
|
||||
Utils,
|
||||
FILES,
|
||||
SITE_VISIBILITY,
|
||||
SITE_ROLES
|
||||
} from '@alfresco/aca-testing-shared';
|
||||
|
||||
import * as moment from 'moment';
|
||||
|
||||
describe('Search filters', () => {
|
||||
|
@@ -23,8 +23,7 @@
|
||||
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import { BrowsingPage, LoginPage } from '../../pages/pages';
|
||||
import { Utils } from '../../utilities/utils';
|
||||
import { BrowsingPage, LoginPage, Utils } from '@alfresco/aca-testing-shared';
|
||||
|
||||
describe('Search input', () => {
|
||||
const loginPage = new LoginPage();
|
||||
|
@@ -23,9 +23,13 @@
|
||||
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import { LoginPage, SearchResultsPage } from '../../pages/pages';
|
||||
import { RepoClient } from '../../utilities/repo-client/repo-client';
|
||||
import { Utils } from '../../utilities/utils';
|
||||
import {
|
||||
LoginPage,
|
||||
SearchResultsPage,
|
||||
RepoClient,
|
||||
Utils
|
||||
} from '@alfresco/aca-testing-shared';
|
||||
|
||||
import * as moment from 'moment';
|
||||
|
||||
describe('Search results - files and folders', () => {
|
||||
|
@@ -23,9 +23,13 @@
|
||||
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import { LoginPage, SearchResultsPage } from '../../pages/pages';
|
||||
import { RepoClient } from '../../utilities/repo-client/repo-client';
|
||||
import { Utils } from '../../utilities/utils';
|
||||
import {
|
||||
LoginPage,
|
||||
SearchResultsPage,
|
||||
RepoClient,
|
||||
Utils
|
||||
} from '@alfresco/aca-testing-shared';
|
||||
|
||||
import { browser } from 'protractor';
|
||||
|
||||
describe('Search results general', () => {
|
||||
|
@@ -23,10 +23,14 @@
|
||||
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import { LoginPage, SearchResultsPage } from '../../pages/pages';
|
||||
import { RepoClient } from '../../utilities/repo-client/repo-client';
|
||||
import { Utils } from '../../utilities/utils';
|
||||
import { SITE_VISIBILITY, SITE_ROLES } from './../../configs';
|
||||
import {
|
||||
LoginPage,
|
||||
SearchResultsPage,
|
||||
RepoClient,
|
||||
Utils,
|
||||
SITE_VISIBILITY,
|
||||
SITE_ROLES
|
||||
} from '@alfresco/aca-testing-shared';
|
||||
|
||||
describe('Search results - libraries', () => {
|
||||
const username = `user-${Utils.random()}`;
|
||||
|
@@ -23,10 +23,13 @@
|
||||
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import { LoginPage, SearchResultsPage } from '../../pages/pages';
|
||||
import { RepoClient } from '../../utilities/repo-client/repo-client';
|
||||
import { Utils } from '../../utilities/utils';
|
||||
import { FILES } from '../../configs';
|
||||
import {
|
||||
LoginPage,
|
||||
SearchResultsPage,
|
||||
RepoClient,
|
||||
Utils,
|
||||
FILES
|
||||
} from '@alfresco/aca-testing-shared';
|
||||
|
||||
describe('Search sorting', () => {
|
||||
const random = Utils.random();
|
||||
|
Reference in New Issue
Block a user