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,8 +23,7 @@
|
||||
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import { BrowsingPage } from '../../pages/pages';
|
||||
import { Utils } from '../../utilities/utils';
|
||||
import { BrowsingPage, Utils } from '@alfresco/aca-testing-shared';
|
||||
|
||||
export function favoritesTests() {
|
||||
const page = new BrowsingPage();
|
||||
|
@@ -23,10 +23,12 @@
|
||||
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import { LoginPage } from '../../pages/pages';
|
||||
import { Utils } from '../../utilities/utils';
|
||||
import { AdminActions } from '../../utilities/admin-actions';
|
||||
import { RepoClient } from '../../utilities/repo-client/repo-client';
|
||||
import {
|
||||
LoginPage,
|
||||
Utils,
|
||||
AdminActions,
|
||||
RepoClient
|
||||
} from '@alfresco/aca-testing-shared';
|
||||
import { personalFilesTests } from './personal-files';
|
||||
import { recentFilesTests } from './recent-files';
|
||||
import { searchResultsTests } from './search-results';
|
||||
|
@@ -23,10 +23,13 @@
|
||||
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import { LoginPage, BrowsingPage } from '../../pages/pages';
|
||||
import { Utils } from '../../utilities/utils';
|
||||
import { AdminActions } from '../../utilities/admin-actions';
|
||||
import { RepoClient } from '../../utilities/repo-client/repo-client';
|
||||
import {
|
||||
LoginPage,
|
||||
BrowsingPage,
|
||||
Utils,
|
||||
AdminActions,
|
||||
RepoClient
|
||||
} from '@alfresco/aca-testing-shared';
|
||||
|
||||
describe('Pagination on multiple pages', () => {
|
||||
const random = Utils.random();
|
||||
|
@@ -23,10 +23,13 @@
|
||||
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import { LoginPage, BrowsingPage } from '../../pages/pages';
|
||||
import { Utils } from '../../utilities/utils';
|
||||
import { AdminActions } from '../../utilities/admin-actions';
|
||||
import { RepoClient } from '../../utilities/repo-client/repo-client';
|
||||
import {
|
||||
LoginPage,
|
||||
BrowsingPage,
|
||||
Utils,
|
||||
AdminActions,
|
||||
RepoClient
|
||||
} from '@alfresco/aca-testing-shared';
|
||||
|
||||
describe('Pagination on multiple pages on Trash', () => {
|
||||
const random = Utils.random();
|
||||
|
@@ -23,8 +23,7 @@
|
||||
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import { BrowsingPage } from '../../pages/pages';
|
||||
import { Utils } from '../../utilities/utils';
|
||||
import { BrowsingPage, Utils } from '@alfresco/aca-testing-shared';
|
||||
|
||||
export function personalFilesTests(parentName: string) {
|
||||
const page = new BrowsingPage();
|
||||
|
@@ -23,8 +23,7 @@
|
||||
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import { BrowsingPage } from '../../pages/pages';
|
||||
import { Utils } from '../../utilities/utils';
|
||||
import { BrowsingPage, Utils } from '@alfresco/aca-testing-shared';
|
||||
|
||||
export function recentFilesTests() {
|
||||
const page = new BrowsingPage();
|
||||
|
@@ -23,8 +23,7 @@
|
||||
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import { BrowsingPage } from '../../pages/pages';
|
||||
import { Utils } from '../../utilities/utils';
|
||||
import { BrowsingPage, Utils } from '@alfresco/aca-testing-shared';
|
||||
|
||||
export function searchResultsTests() {
|
||||
const page = new BrowsingPage();
|
||||
|
@@ -23,8 +23,7 @@
|
||||
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import { BrowsingPage } from '../../pages/pages';
|
||||
import { Utils } from '../../utilities/utils';
|
||||
import { BrowsingPage, Utils } from '@alfresco/aca-testing-shared';
|
||||
|
||||
export function sharedFilesTests() {
|
||||
const page = new BrowsingPage();
|
||||
|
@@ -23,10 +23,14 @@
|
||||
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import { LoginPage, BrowsingPage, SearchResultsPage } from '../../pages/pages';
|
||||
import { Utils } from '../../utilities/utils';
|
||||
import { AdminActions } from '../../utilities/admin-actions';
|
||||
import { RepoClient } from '../../utilities/repo-client/repo-client';
|
||||
import {
|
||||
LoginPage,
|
||||
BrowsingPage,
|
||||
SearchResultsPage,
|
||||
Utils,
|
||||
AdminActions,
|
||||
RepoClient
|
||||
} from '@alfresco/aca-testing-shared';
|
||||
|
||||
describe('Pagination on single page', () => {
|
||||
const random = Utils.random();
|
||||
|
Reference in New Issue
Block a user