mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-10-02 12:26:42 +00:00
playwright: added proper await for table entity to load before accessing the field (#23385)
* playwright: added proper await for table entity to load before accessing the field * chore(test): mark bulk re-deploy pipelines test as slow
This commit is contained in:
parent
f1039fdb40
commit
d71a1cef85
@ -143,7 +143,11 @@ test.describe('Add TestCase New Flow', () => {
|
|||||||
const testCaseDoc = page.waitForResponse(
|
const testCaseDoc = page.waitForResponse(
|
||||||
'/locales/en-US/OpenMetadata/TestCaseForm.md'
|
'/locales/en-US/OpenMetadata/TestCaseForm.md'
|
||||||
);
|
);
|
||||||
|
const tableEntityResponse = page.waitForResponse(
|
||||||
|
'/api/v1/search/query?q=*&index=table_search_index*'
|
||||||
|
);
|
||||||
await page.getByTestId('add-test-case-btn').click();
|
await page.getByTestId('add-test-case-btn').click();
|
||||||
|
await tableEntityResponse;
|
||||||
await page.waitForSelector('[data-testid="test-case-form-v1"]', {
|
await page.waitForSelector('[data-testid="test-case-form-v1"]', {
|
||||||
state: 'visible',
|
state: 'visible',
|
||||||
});
|
});
|
||||||
|
@ -23,6 +23,8 @@ const table1 = new TableClass();
|
|||||||
const table2 = new TableClass();
|
const table2 = new TableClass();
|
||||||
|
|
||||||
test.describe('Bulk Re-Deploy pipelines ', () => {
|
test.describe('Bulk Re-Deploy pipelines ', () => {
|
||||||
|
test.slow();
|
||||||
|
|
||||||
test.beforeAll('Setup pre-requests', async ({ browser }) => {
|
test.beforeAll('Setup pre-requests', async ({ browser }) => {
|
||||||
const { afterAction, apiContext } = await createNewPage(browser);
|
const { afterAction, apiContext } = await createNewPage(browser);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user