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

LPD-49651 Create Playwright test for frontendDataSetQuickActions #4767

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fortunatomaldonado
Copy link
Collaborator

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!

@liferay-continuous-integration
Copy link
Collaborator

CI is automatically triggering the following test suites:

  •     ci:test:sf

@liferay-continuous-integration
Copy link
Collaborator

✔️ ci:test:sf - 1 out of 1 jobs passed in 8 minutes

Click here for more details.

Base Branch:

Branch Name: master
Branch GIT ID: 197d7198ca23b4574fc18142168de14eafbac3f3

Sender Branch:

Branch Name: LPD-49651
Branch GIT ID: e13ee59187ece3c51f480131f11999690742dc62

1 out of 1jobs PASSED
1 Successful Jobs:
For more details click here.

@liferay-continuous-integration
Copy link
Collaborator

Copy link
Collaborator

@markocikos markocikos left a 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

Comment on lines +819 to +821
const quickActionPencilIcon = page
.getByRole('link', {name: 'Sample Edit'})
.nth(0);
Copy link
Collaborator

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');
Copy link
Collaborator

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().

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.

3 participants