Skip to content
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

Merged
merged 3 commits into from
Nov 28, 2024

Conversation

ShaileshParmar11
Copy link
Contributor

@ShaileshParmar11 ShaileshParmar11 commented Nov 28, 2024

Describe your changes:

added initial setup

  • Updated default rule for data consumer & organisation policy

Type of change:

  • Bug fix
  • Improvement
  • New feature
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation

Checklist:

  • I have read the CONTRIBUTING document.
  • My PR title is Fixes <issue-number>: <short explanation>
  • I have commented on my code, particularly in hard-to-understand areas.
  • For JSON Schema changes: I updated the migration scripts or explained why it is not needed.

Copy link
Contributor

github-actions bot commented Nov 28, 2024

Jest test Coverage

UI tests summary

Lines Statements Branches Functions
Coverage: 63%
63.84% (40271/63082) 40.31% (16033/39770) 42.7% (4797/11235)

@ShaileshParmar11 ShaileshParmar11 changed the title playwright: fixed service ingestion aut playwright: added initial db setup for playwright test Nov 28, 2024
Copy link
Member

@aniketkatkar97 aniketkatkar97 left a 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' });
Copy link
Member

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' });

Copy link

@ShaileshParmar11 ShaileshParmar11 merged commit 4720a8d into main Nov 28, 2024
13 of 16 checks passed
@ShaileshParmar11 ShaileshParmar11 deleted the fixed-service-ingesion-aut branch November 28, 2024 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
safe to test Add this label to run secure Github workflows on PRs UI UI specific issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants