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

feat: added services page playwright tests #3928

Merged
merged 4 commits into from
Nov 9, 2023

Conversation

vikrantgupta25
Copy link
Collaborator

@vikrantgupta25 vikrantgupta25 commented Nov 8, 2023

Test Case added :-

No Services Test ->

  • Login into the application
  • render the services page with empty data
  • expect the no data text to be present on the screen

With Services Data ->

  • Login into the application
  • Render the base service page
  • Check for the presence of correct breadcrumbs
  • Check if the table is rendered with the correct columns
  • Check if the table is rendered with the correct service data
Screenshot 2023-11-09 at 1 24 08 AM

Copy link

request-info bot commented Nov 8, 2023

We would appreciate it if you could provide us with more info about this issue/pr!

@vikrantgupta25
Copy link
Collaborator Author

this is base setup this test would be extended to cover happy / edge case flows

@YounixM YounixM merged commit 88aabb2 into SigNoz:develop Nov 9, 2023
11 checks passed
Copy link

welcome bot commented Nov 9, 2023

Congrats on merging your first pull request!
minion-party
We here at SigNoz are proud of you! 🥳

await expect(p99Latency).toEqual('P99 latency (in ms)');
const errorRate = await page
.locator(
`th[aria-label*="this column's title is Error Rate (% of total)"] .ant-table-column-title`,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would recommend to add data test id / constant hard code thing would not scale

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes will add data-test-id's when completing the flow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants