-
Notifications
You must be signed in to change notification settings - Fork 1
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
LPD-49651 Create Playwright test for frontendDataSetQuickActions #4767
base: master
Are you sure you want to change the base?
LPD-49651 Create Playwright test for frontendDataSetQuickActions #4767
Conversation
CI is automatically triggering the following test suites:
|
✔️ ci:test:sf - 1 out of 1 jobs passed in 8 minutesClick here for more details.Base Branch:Branch Name: master Sender Branch:Branch Name: LPD-49651 1 Successful Jobs:For more details click here. |
Jenkins Build:test-portal-source-format#6294 Jenkins Report:jenkins-report.html Jenkins Suite:sf Pull Request:liferay-frontend#4767 Testray Routine:EE Pull Request Testray Build:[master] ci:test:sf - fortunatomaldonado > liferay-frontend - PR#4767 - 2025-02-26[12:50:42] Testray Build ID: Testray Importer:publish-testray-report#7070 |
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.
@fortunatomaldonado looks good, just some naming nits inline
const quickActionPencilIcon = page | ||
.getByRole('link', {name: 'Sample Edit'}) | ||
.nth(0); |
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.
PencilIcon
is more of an implementation detail, this is better named something like sampleEditQuickActionLink
.
.getByRole('link', {name: 'Sample Edit'}) | ||
.nth(0); | ||
|
||
const firstTableHeadCell = page.locator('.cell-select'); |
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.
As there is no first()
, this is either incorrect, or misleadingly named. This should be selectCells
, or firstSelectCell
if you add in first()
.
https://liferay.atlassian.net/browse/LPD-49571
Created playwright test for quick action buttons.
Please let me know if there are any questions or comments about this.
Thank you!