mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-08 00:58:06 +00:00
fix flaky metric and bulk import issue around range selector (#22582)
This commit is contained in:
parent
721bd77478
commit
4e3740bbad
@ -56,7 +56,6 @@ export default defineConfig({
|
||||
trace: 'on-first-retry',
|
||||
/* Screenshot on failure. */
|
||||
screenshot: 'only-on-failure',
|
||||
permissions: ['clipboard-read', 'clipboard-write'],
|
||||
},
|
||||
|
||||
/* Configure projects for major browsers */
|
||||
|
@ -45,6 +45,9 @@ import {
|
||||
// use the admin user to login
|
||||
test.use({
|
||||
storageState: 'playwright/.auth/admin.json',
|
||||
contextOptions: {
|
||||
permissions: ['clipboard-read', 'clipboard-write'],
|
||||
},
|
||||
});
|
||||
|
||||
const glossaryDetails = {
|
||||
|
@ -228,6 +228,9 @@ export const setValueForProperty = async (data: {
|
||||
const values = value.split(',');
|
||||
await page.locator('[data-testid="add-new-row"]').click();
|
||||
|
||||
// Editor grid to be visible
|
||||
await page.waitForSelector('.om-rdg', { state: 'visible' });
|
||||
|
||||
await fillTableColumnInputDetails(page, values[0], 'pw-column1');
|
||||
|
||||
await fillTableColumnInputDetails(page, values[1], 'pw-column2');
|
||||
|
@ -188,6 +188,9 @@ export const updateRelatedMetric = async (
|
||||
.getByRole('link', { name: dataAsset.entity.name, exact: true })
|
||||
.click();
|
||||
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForSelector('[data-testid="loader"]', { state: 'detached' });
|
||||
|
||||
await page.getByRole('link', { name: title }).click();
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user