Minor: fixed failing test case in AUT part 1 (#17428)

* Minor: fixed failing test case in AUT part 1

* fixed multiPipeline click issue due to meta pilot icon

* addressing comments
This commit is contained in:
Shailesh Parmar 2024-08-13 20:13:24 +05:30 committed by GitHub
parent e54dbd356b
commit 2dfd7d1f70
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 16 additions and 1 deletions

View File

@ -202,7 +202,7 @@ test("Edit the pipeline's test case", async ({ page }) => {
name: new RegExp(pipeline?.['name']),
})
.getByTestId('more-actions')
.click();
.click({ force: true });
await page
.locator(

View File

@ -24,6 +24,7 @@ test.describe('Tour should work properly', () => {
test('All tour steps should work', async ({ page }) => {
await page.locator('[data-testid="help-icon"]').click();
await page.getByRole('link', { name: 'Tour', exact: true }).click();
await page.waitForURL('**/tour');
await expect(page.locator(`[data-tour-elem="badge"]`)).toHaveText('1');

View File

@ -34,7 +34,14 @@ test('Table difference test case', async ({ page }) => {
};
await table1.visitEntityPage(page);
const profileResponse = page.waitForResponse(
`/api/v1/tables/${encodeURIComponent(
table1.entityResponseData?.['fullyQualifiedName']
)}/tableProfile/latest`
);
await page.getByText('Profiler & Data Quality').click();
await profileResponse;
await page.getByRole('menuitem', { name: 'Table Profile' }).click();
try {
await test.step('Create', async () => {
@ -141,7 +148,14 @@ test('Custom SQL Query', async ({ page }) => {
};
await table.visitEntityPage(page);
const profileResponse = page.waitForResponse(
`/api/v1/tables/${encodeURIComponent(
table.entityResponseData?.['fullyQualifiedName']
)}/tableProfile/latest`
);
await page.getByText('Profiler & Data Quality').click();
await profileResponse;
await page.getByRole('menuitem', { name: 'Table Profile' }).click();
try {
await test.step('Create', async () => {