e2e fixes and cleanup for unwanted files

This commit is contained in:
SheenaMalhotra182
2023-03-17 15:42:00 +05:30
committed by Sheena Malhotra
parent a6efbc3a3e
commit 7ddb7e07e3
44 changed files with 385 additions and 600 deletions

View File

@@ -52,8 +52,8 @@ describe('Multiple Files - available actions : ', () => {
const loginPage = new LoginPage();
const page = new BrowsingPage();
const { dataTable } = page;
const { searchInput } = page.header;
const { dataTable, toolbar } = page;
const { searchInput } = page.pageLayoutHeader;
const searchResultsPage = new SearchResultsPage();
beforeAll(async () => {
@@ -162,6 +162,7 @@ describe('Multiple Files - available actions : ', () => {
describe('on Search Results : ', () => {
beforeEach(async () => {
await page.clickPersonalFiles();
await toolbar.clickSearchIconButton();
await searchInput.clickSearchButton();
await searchInput.checkOnlyFiles();
await searchInput.searchFor(random);