mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-10-01 20:04:52 +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(
|
||||
'/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 tableEntityResponse;
|
||||
await page.waitForSelector('[data-testid="test-case-form-v1"]', {
|
||||
state: 'visible',
|
||||
});
|
||||
|
@ -23,6 +23,8 @@ const table1 = new TableClass();
|
||||
const table2 = new TableClass();
|
||||
|
||||
test.describe('Bulk Re-Deploy pipelines ', () => {
|
||||
test.slow();
|
||||
|
||||
test.beforeAll('Setup pre-requests', async ({ browser }) => {
|
||||
const { afterAction, apiContext } = await createNewPage(browser);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user