mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-10-01 14:41:14 +00:00
restored changes and trying a fix for viewer
This commit is contained in:
@@ -22,18 +22,7 @@
|
||||
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import {
|
||||
RepoClient,
|
||||
Utils,
|
||||
AdminActions,
|
||||
UserActions,
|
||||
LoginPage,
|
||||
SearchResultsPage,
|
||||
BrowsingPage,
|
||||
APP_ROUTES,
|
||||
navigate,
|
||||
FILES
|
||||
} from '@alfresco/aca-testing-shared';
|
||||
import { RepoClient, Utils, AdminActions, UserActions, LoginPage, FILES, BrowsingPage, SearchResultsPage } from '@alfresco/aca-testing-shared';
|
||||
import * as testData from './test-data';
|
||||
import * as testUtil from '../test-util';
|
||||
|
||||
@@ -54,7 +43,7 @@ describe('Office Files - available actions : ', () => {
|
||||
|
||||
const loginPage = new LoginPage();
|
||||
const page = new BrowsingPage();
|
||||
const { dataTable } = page;
|
||||
const { dataTable, toolbar } = page;
|
||||
const { searchInput } = page.pageLayoutHeader;
|
||||
const searchResultsPage = new SearchResultsPage();
|
||||
|
||||
@@ -257,7 +246,7 @@ describe('Office Files - available actions : ', () => {
|
||||
describe('on Search Results : ', () => {
|
||||
beforeEach(async () => {
|
||||
await page.clickPersonalFiles();
|
||||
await navigate(APP_ROUTES.SEARCH);
|
||||
await toolbar.clickSearchIconButton();
|
||||
await searchInput.clickSearchButton();
|
||||
await searchInput.searchFor(random);
|
||||
await searchResultsPage.waitForResults();
|
||||
|
Reference in New Issue
Block a user