mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-12-25 14:38:29 +00:00
chore(test): fix failing tests (#20577)
This commit is contained in:
parent
39979d2ed5
commit
bca11d2fa1
@ -57,6 +57,8 @@ test.describe.serial('Persona operations', () => {
|
||||
test.beforeEach(async ({ page }) => {
|
||||
await redirectToHomePage(page);
|
||||
await settingClick(page, GlobalSettingOptions.PERSONA);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForSelector('[data-testid="loader"]', { state: 'detached' });
|
||||
});
|
||||
|
||||
test('Persona creation should work properly', async ({ page }) => {
|
||||
@ -140,7 +142,7 @@ test.describe.serial('Persona operations', () => {
|
||||
);
|
||||
});
|
||||
|
||||
test.skip('Persona update description flow should work properly', async ({
|
||||
test('Persona update description flow should work properly', async ({
|
||||
page,
|
||||
}) => {
|
||||
await page
|
||||
|
||||
@ -157,7 +157,7 @@ test.describe.serial(
|
||||
});
|
||||
|
||||
if (process.env.PLAYWRIGHT_IS_OSS) {
|
||||
test.skip('Run application', async ({ page }) => {
|
||||
test('Run application', async ({ page }) => {
|
||||
const appResponse = page.waitForResponse(
|
||||
`/api/v1/apps/name/DataInsightsApplication?fields=*`
|
||||
);
|
||||
|
||||
@ -140,7 +140,7 @@ test.describe('Login flow should work properly', () => {
|
||||
await page.locator('[data-testid="go-back-button"]').click();
|
||||
});
|
||||
|
||||
test.skip('Refresh should work', async ({ browser }) => {
|
||||
test.fixme('Refresh should work', async ({ browser }) => {
|
||||
const browserContext = await browser.newContext();
|
||||
const { apiContext, afterAction } = await performAdminLogin(browser);
|
||||
const page1 = await browserContext.newPage(),
|
||||
|
||||
@ -232,9 +232,13 @@ export const PersonaDetailsPage = () => {
|
||||
</Col>
|
||||
<Col span={24}>
|
||||
<DescriptionV1
|
||||
newLook
|
||||
description={personaDetails.description}
|
||||
entityName={personaDetails.name}
|
||||
entityType={EntityType.PERSONA}
|
||||
hasEditAccess={
|
||||
entityPermission.EditAll || entityPermission.EditDescription
|
||||
}
|
||||
showCommentsIcon={false}
|
||||
onDescriptionUpdate={handleDescriptionUpdate}
|
||||
/>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user