mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-26 18:06:03 +00:00
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:
parent
e54dbd356b
commit
2dfd7d1f70
@ -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(
|
||||
|
@ -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');
|
||||
|
||||
|
@ -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 () => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user