-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
playwright: added initial db setup for playwright test #18832
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor comment
@@ -170,7 +170,7 @@ class ServiceBaseClass { | |||
|
|||
// Header available once page loads | |||
await page.waitForSelector('[data-testid="data-assets-header"]'); | |||
await page.getByTestId('loader').waitFor({ state: 'detached' }); | |||
await page.getByTestId('loader').first().waitFor({ state: 'detached' }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think following would be a better option here instead of first() to make sure we are waiting for the exact loader
await page
.getByTestId('table-container')
.getByTestId('loader')
.waitFor({ state: 'detached' });
Quality Gate passed for 'open-metadata-ui'Issues Measures |
Describe your changes:
added initial setup
Type of change:
Checklist:
Fixes <issue-number>: <short explanation>