Skip to content

Commit

Permalink
comment skipped test
Browse files Browse the repository at this point in the history
  • Loading branch information
chirag-madlani committed Dec 14, 2024
1 parent fbbf519 commit 315e27d
Showing 1 changed file with 23 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
* limitations under the License.
*/
import { expect, Page, test as base } from '@playwright/test';
import { GlobalSettingOptions } from '../../constant/settings';
import { SidebarItem } from '../../constant/sidebar';
import { Domain } from '../../support/domain/Domain';
import { AdminClass } from '../../support/user/AdminClass';
Expand All @@ -22,7 +21,7 @@ import {
selectDomain,
setupAssetsForDomain,
} from '../../utils/domain';
import { settingClick, sidebarClick } from '../../utils/sidebar';
import { sidebarClick } from '../../utils/sidebar';

const test = base.extend<{
page: Page;
Expand Down Expand Up @@ -153,28 +152,28 @@ test.describe('Ingestion Bot ', () => {
);

// Need backend change to support this tests
test.fixme(
'Ingestion bot should able to access services irrespective of domain',
async () => {
await redirectToHomePage(page);
// change domain
await ingestionBotPage.getByTestId('domain-dropdown').click();
await ingestionBotPage
.locator(
`[data-menu-id*="${domain1.data.name}"] > .ant-dropdown-menu-title-content`
)
.click();

// validate service list

await settingClick(ingestionBotPage, GlobalSettingOptions.DATABASES);
const rowKeys = await ingestionBotPage.waitForSelector(
'[data-row-key=*]'
);

expect(rowKeys).not.toHaveLength(0);
}
);
// test.fixme(
// 'Ingestion bot should able to access services irrespective of domain',
// async () => {
// await redirectToHomePage(page);
// // change domain
// await ingestionBotPage.getByTestId('domain-dropdown').click();
// await ingestionBotPage
// .locator(
// `[data-menu-id*="${domain1.data.name}"] > .ant-dropdown-menu-title-content`
// )
// .click();

// // validate service list

// await settingClick(ingestionBotPage, GlobalSettingOptions.DATABASES);
// const rowKeys = await ingestionBotPage.waitForSelector(
// '[data-row-key=*]'
// );

// expect(rowKeys).not.toHaveLength(0);
// }
// );

await assetCleanup1();
await assetCleanup2();
Expand Down

0 comments on commit 315e27d

Please sign in to comment.