-
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-46949 Fix failing test about tabs not being localized in Frontend Data Set Sample #4739
base: master
Are you sure you want to change the base?
Conversation
CI is automatically triggering the following test suites:
|
❌ ci:test:sf - 0 out of 1 jobs passed in 4 minutesClick here for more details.Base Branch:Branch Name: master Sender Branch:Branch Name: LPD-46949 1 Failed Jobs:For more details click here.[exec] > Task :packageRunCheckFormat [exec] yarn run v1.13.0 [exec] \$ node-scripts check:ci [exec] [exec] ⚙️ Running preflight checks... [exec] [exec] ⚙️ Checking outdated tsconfig.json files ... [exec] [exec] ⚙️ Running TypeScript checks on modified files... [exec] ℹ️ A total of 12 CPUs were detected: launching tsc using 12 workers [exec] [exec] ⚙️ Running format checks on modified files... [exec] /opt/dev/projects/github/liferay-portal/modules/test/playwright/tests/frontend-data-set-web/classic.spec.ts [exec] 27:64 error Expected object keys to be in natural ascending order. 'locale' should be before 'site'. sort-keys [exec] 29:2 error 'fdsSamplePageURL' is assigned a value but never used. Allowed unused vars must match /^_/u. @typescript-eslint/no-unused-vars [exec] 1:1 error File has format errors. (format check) [exec] [exec] ✖ 3 problems (3 errors, 0 warnings) [exec] [exec] [exec] ❌ CI checks failed. [exec] [exec] [exec] FAILURE: Build failed with an exception. [exec] [exec] * What went wrong: [exec] Execution failed for task ':packageRunCheckFormat'. [exec] > Process 'command '/opt/dev/projects/github/liferay-portal/build/node/bin/node'' finished with non-zero exit value 1 [exec] [exec] * Try: [exec] > Run with --info or --debug option to get more log output. [exec] > Run with --scan to get full insights. [exec] > Get more help at https://help.gradle.org. [exec] [exec] * Exception is: [exec] org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':packageRunCheckFormat'. [exec] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.lambda\$executeIfValid\$1(ExecuteActionsTaskExecuter.java:148) [exec] at org.gradle.internal.Try\$Failure.ifSuccessfulOrElse(Try.java:282) [exec] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:146) [exec] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:134) [exec] at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46) |
Jenkins Build:test-portal-source-format#7472 Jenkins Report:jenkins-report.html Jenkins Suite:sf Pull Request:liferay-frontend#4739 Testray Routine:EE Pull Request Testray Build:[master] ci:test:sf - antonio-ortega > liferay-frontend - PR#4739 - 2025-02-18[12:31:23] Testray Build ID: Testray Importer:publish-testray-report#27475 |
ci:test:sf |
❌ ci:test:sf - 0 out of 1 jobs passed in 5 minutesClick here for more details.Base Branch:Branch Name: master Sender Branch:Branch Name: LPD-46949 1 Failed Jobs:For more details click here.[exec] > Task :packageRunCheckFormat [exec] yarn run v1.13.0 [exec] \$ node-scripts check:ci [exec] [exec] ⚙️ Running preflight checks... [exec] [exec] ⚙️ Checking outdated tsconfig.json files ... [exec] [exec] ⚙️ Running TypeScript checks on modified files... [exec] ℹ️ A total of 12 CPUs were detected: launching tsc using 12 workers [exec] [exec] ⚙️ Running format checks on modified files... [exec] /opt/dev/projects/github/liferay-portal/modules/test/playwright/tests/frontend-data-set-web/classic.spec.ts [exec] 27:64 error Expected object keys to be in natural ascending order. 'locale' should be before 'site'. sort-keys [exec] 29:2 error 'fdsSamplePageURL' is assigned a value but never used. Allowed unused vars must match /^_/u. @typescript-eslint/no-unused-vars [exec] [exec] ✖ 2 problems (2 errors, 0 warnings) [exec] [exec] [exec] ❌ CI checks failed. [exec] info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. [exec] error Command failed with exit code 1. [exec] [exec] > Task :packageRunCheckFormat FAILED [exec] [exec] [exec] FAILURE: Build failed with an exception. [exec] [exec] * What went wrong: [exec] Execution failed for task ':packageRunCheckFormat'. [exec] > Process 'command '/opt/dev/projects/github/liferay-portal/build/node/bin/node'' finished with non-zero exit value 1 [exec] [exec] * Try: [exec] > Run with --info or --debug option to get more log output. [exec] > Run with --scan to get full insights. [exec] > Get more help at https://help.gradle.org. [exec] [exec] * Exception is: [exec] org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':packageRunCheckFormat'. [exec] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.lambda\$executeIfValid\$1(ExecuteActionsTaskExecuter.java:148) [exec] at org.gradle.internal.Try\$Failure.ifSuccessfulOrElse(Try.java:282) [exec] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:146) [exec] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:134) |
Jenkins Build:test-portal-source-format#6723 Jenkins Report:jenkins-report.html Jenkins Suite:sf Pull Request:liferay-frontend#4739 Testray Routine:EE Pull Request Testray Build:[master] ci:test:sf - antonio-ortega > liferay-frontend - PR#4739 - 2025-02-19[00:20:23] Testray Build ID: Testray Importer:publish-testray-report#26058 |
ci:test:sf |
✔️ 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-46949 1 Successful Jobs:For more details click here. |
Jenkins Build:test-portal-source-format#6255 Jenkins Report:jenkins-report.html Jenkins Suite:sf Pull Request:liferay-frontend#4739 Testray Routine:EE Pull Request Testray Build:[master] ci:test:sf - antonio-ortega > liferay-frontend - PR#4739 - 2025-02-19[00:38:45] Testray Build ID: Testray Importer:publish-testray-report#7031 |
ci:test:relevant |
✔️ ci:test:stable - 24 out of 24 jobs passed❌ ci:test:relevant - 29 out of 32 jobs passed in 1 hour 11 minutesClick here for more details.Base Branch:Branch Name: master Upstream Comparison:Branch GIT ID: 1aef8c7c1f29d044950b1c2ace31c81be0af0bed ci:test:stable - 24 out of 24 jobs PASSED24 Successful Jobs:ci:test:relevant - 29 out of 32 jobs PASSED3 Failed Jobs:
29 Successful Jobs:For more details click here.Failures unique to this pull:Failures in common with acceptance upstream results at 1aef8c7:Test bundle downloads: |
Jenkins Build:test-portal-acceptance-pullrequest(master)#11043 Jenkins Report:jenkins-report.html Jenkins Suite:relevant Pull Request:liferay-frontend#4739 Testray Routine:EE Pull Request Testray Build:[master] ci:test:relevant - antonio-ortega > liferay-frontend - PR#4739 - 2025-02-19[01:17:09] Testray Build ID: Testray Importer:publish-testray-report#24423 |
✔️ ci:test:stable - 24 out of 24 jobs passed❌ ci:test:relevant - 29 out of 32 jobs passed in 2 hours 28 minutesClick here for more details.Base Branch:Branch Name: master Upstream Comparison:Branch GIT ID: 55d1ceb821cd4bbb0be8f65278556eeb45a6983a ci:test:stable - 24 out of 24 jobs PASSED24 Successful Jobs:ci:test:relevant - 29 out of 32 jobs PASSED3 Failed Jobs:
29 Successful Jobs:For more details click here.Failures unique to this pull:Failures in common with acceptance upstream results at 55d1ceb:Test bundle downloads: |
Jenkins Build:test-portal-acceptance-pullrequest(master)#7464 Jenkins Report:jenkins-report.html Jenkins Suite:relevant Pull Request:liferay-frontend#4739 Testray Routine:EE Pull Request Testray Build:[master] ci:test:relevant - antonio-ortega > liferay-frontend - PR#4739 - 2025-02-28[05:36:58] Testray Build ID: Testray Importer:publish-testray-report#16264 |
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.
LGTM 🚀
a339925
to
b91c1c6
Compare
ci:test:relevant |
✔️ ci:test:stable - 24 out of 24 jobs passed❌ ci:test:relevant - 29 out of 32 jobs passed in 1 hour 3 minutesClick here for more details.Base Branch:Branch Name: master Upstream Comparison:Branch GIT ID: 8ac9b6c56f56b6f3222ee196435d8d27932ef50a ci:test:stable - 24 out of 24 jobs PASSED24 Successful Jobs:ci:test:relevant - 29 out of 32 jobs PASSED3 Failed Jobs:
29 Successful Jobs:For more details click here.Failures unique to this pull:Failures in common with acceptance upstream results at 8ac9b6c:Test bundle downloads: |
Jenkins Build:test-portal-acceptance-pullrequest(master)#12920 Jenkins Report:jenkins-report.html Jenkins Suite:relevant Pull Request:liferay-frontend#4739 Testray Routine:EE Pull Request Testray Build:[master] ci:test:relevant - antonio-ortega > liferay-frontend - PR#4739 - 2025-03-06[01:36:31] Testray Build ID: Testray Importer:publish-testray-report#27712 |
I've put this on hold because we're about to send #4779 which renames |
Hi,
In order to fix LPD-46949 the first commit is enough. That test started failing when we moved from liferay-ui:tabs to clay:navigation-bar. Since those tabs are not part of Frontend Data Set itself, it's enough to search for original name 'Classic'.
Apart from that and after talking to @dsanz , I've also moved from Poshi to Playwright the rest of tests in the second commit since they were relatively straightforward.
There are still a pair of .testcase files in the same folder we should migrate.
Thanks.