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-40156 We should check if the toggle switch is already checked or not in WikiPortlet.macro's enableWiki() #6031

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

Conversation

Mikellorza
Copy link
Collaborator

@Mikellorza Mikellorza commented Oct 24, 2024

What is this trying to solve?

https://liferay.atlassian.net/browse/LPD-40156

Some staging tests are being affected by enable wiki macro like this one. So this PR is to tmprove enable wiki macro in order to take into account some use cases when:

  1. We are calling to enable wiki twice
  2. We need to be in the home page

How am I fixing it?

Check if there is a disabled wiki feature flag to enable it and go back to home page

How can you verify that it works?

No test needed because this is to improve our tests. Execute ci:test:headless-functional to see if this change fix this staging issue.

@liferay-continuous-integration
Copy link
Collaborator

CI is automatically triggering the following test suites:

  •     ci:test:sf

@jkappler
Copy link
Collaborator

ci:test:headless-functional

@liferay-continuous-integration
Copy link
Collaborator

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

Click here for more details.

Base Branch:

Branch Name: master
Branch GIT ID: ddeb14626d6563c2fd73d3c85c5baa5f1270f95d

Sender Branch:

Branch Name: LPD-40156
Branch GIT ID: f8abc70c20c68e28e7998342150365092d77fabc

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

@liferay-continuous-integration
Copy link
Collaborator

@liferay-continuous-integration
Copy link
Collaborator

Build started.

Jenkins is currently running tests in the headless-functional test suite.

Base Branch:

Branch Name: master

Job Summary:

Job Link: test-portal-acceptance-pullrequest(master)

For more details click here.

@Mikellorza
Copy link
Collaborator Author

ci:content:management

@Mikellorza
Copy link
Collaborator Author

ci:test:content:management

@liferay-continuous-integration
Copy link
Collaborator

The test suite specified is not a valid test suite.
Please refer to the available test suites below.

ci:test[:suite]:dryrun

    Generate the job summary of the specified test suite based on the pull request changes. This command will not test the pull request.

ci:test[:suite][:SHA|nocompile|norebase|gist-SHA]

    Test the pull request. Optionally specify the name of the test suite and/or optionally specify the upstream SHA to test against or use "nocompile" to test with a prebuilt bundle or use "norebase" to test without rebasing.

Available test suites:
  •     ci:test:acceptance - Test acceptance tests.
  •     ci:test:acceptance-ce - No description is available.
  •     ci:test:acceptance-dxp - No description is available.
  •     ci:test:acceptance-functional - Test acceptance functional tests.
  •     ci:test:acceptance-functional-db-partition - Test acceptance functional tests with Database Partitioning.
  •     ci:test:acceptance-release - Compile a release bundle and execute acceptance tests.
  •     ci:test:accessibility - Test all accessibility tests.
  •     ci:test:accessibility-menu - Test all accessibility menu tests.
  •     ci:test:account - Test Account tests.
  •     ci:test:analytics-cloud - Test Analytics Cloud tests.
  •     ci:test:analytics-cloud-acceptance - No description is available.
  •     ci:test:analytics-cloud-integration - No description is available.
  •     ci:test:analytics-cloud-quarantine - No description is available.
  •     ci:test:analytics-cloud-release - No description is available.
  •     ci:test:analytics-cloud-upstream - No description is available.
  •     ci:test:api-builder - All tests for API Builder component.
  •     ci:test:api-builder-functional - Functional tests for API Builder component.
  •     ci:test:app-servers - Test Deployments on App Servers.
  •     ci:test:auto-tagging - Test Auto Tagging tests.
  •     ci:test:backend - Test backend tests.
  •     ci:test:backend-hypersonic - Test backend tests on Hypersonic.
  •     ci:test:blade - Test Blade samples tests.
  •     ci:test:blogs - Test Blogs tests.
  •     ci:test:bundle - Saves a compiled tomcat bundle.
  •     ci:test:bundles - No description is available.
  •     ci:test:calendar - Test Calendar tests.
  •     ci:test:clay - Test Clay component tests.
  •     ci:test:click-to-chat - Test Click to Chat tests.
  •     ci:test:clustering - Test clustering tests.
  •     ci:test:comment - Test Comment tests.
  •     ci:test:commerce - Test only Commerce tests.
  •     ci:test:commerce-database - Test only Commerce Database tests.
  •     ci:test:commerce-es7-remote - Test only Commerce tests with the latest compatible remote Elasticsearch 7 version.
  •     ci:test:commerce-es8-remote - Test only Commerce tests with the latest compatible remote Elasticsearch 8 version.
  •     ci:test:commerce-functional - Test only Commerce functional tests.
  •     ci:test:commerce-integration - Test only Commerce integration tests.
  •     ci:test:commerce-opensearch2 - Test only Commerce tests with the latest compatible OpenSearch 2 version.
  •     ci:test:commerce-upgrade - No description is available.
  •     ci:test:configuration-framework - Test Configuration Framework component tests.
  •     ci:test:content-management - Test Content Management tests.
  •     ci:test:content-management-playwright - Test Content Management playwright tests.
  •     ci:test:content-page-review - Test Content Page Review (comments) tests.
  •     ci:test:continuous-integration - Test Continuous Integration tests.
  •     ci:test:cookies - Test Cookie Preferences tests.
  •     ci:test:core-functional - Test Core Infra Functional tests
  •     ci:test:customer-solutions - Test all Customer Solutions team tests.
  •     ci:test:data-engine - Test Data Engine functional tests.
  •     ci:test:data-engine-db-partition - Test Data Engine functional tests with Database Partitioning.
  •     ci:test:data-integration - Test only Data Integration tests.
  •     ci:test:data-integration-functional - Test only functional Data Integration tests.
  •     ci:test:db-partition - Test Database Partitioning functional tests.
  •     ci:test:depot - Test Depot tests.
  •     ci:test:dev-tools - Test Dev Tools tests.
  •     ci:test:digital-signature - Test Digital Signature tests.
  •     ci:test:dl-store - Test Document Library Store tests.
  •     ci:test:document - Test Document and Media tests.
  •     ci:test:document-antivirus - Test Antivirus against DM.
  •     ci:test:drools - Test Drools tests.
  •     ci:test:dummy - No description is available.
  •     ci:test:environments - Test environment acceptance functional tests on all available environment stacks.
  •     ci:test:export-import - Test exportimport tests.
  •     ci:test:external-document-repositories - No description is available.
  •     ci:test:forms - Test forms tests.
  •     ci:test:forms-db-partition - Test forms functional tests with Database Partitioning.
  •     ci:test:forms-functional - Test only functional forms tests.
  •     ci:test:frontend - Test all Frontend Infra team tests.
  •     ci:test:frontend-client-extensions - Test frontend client extensions tests.
  •     ci:test:frontend-data-set - Test frontend data set tests.
  •     ci:test:frontend-dev-exp - Test frontend developer experience tests.
  •     ci:test:frontend-ui - Test frontend ui tests.
  •     ci:test:frontend-walkthrough - Test frontend walkthrough tests.
  •     ci:test:gauntlet - Test upstream tests.
  •     ci:test:gauntlet-bucket - Test a subset of upstream tests.
  •     ci:test:gradle-plugins - Test Gradle Plugins tests.
  •     ci:test:headless - Test all headless team tests.
  •     ci:test:headless-acceptance - Test headless team acceptance tests considering Headless and REST Builder.
  •     ci:test:headless-functional - Headless team functional API tests.
  •     ci:test:headless-playwright - Headless team playwright tests.
  •     ci:test:headless-staging - Test Staging components tests.
  •     ci:test:headless-staging-custom-db - Test Staging components tests with a custom database.
  •     ci:test:hotel - Test all Source Formatter unit tests related to upgrade
  •     ci:test:item-selector - Test item selector tests.
  •     ci:test:jdk11 - Test acceptance,smoke,and upgrade functional tests against JDK11.
  •     ci:test:jdk21 - Test acceptance tests against JDK21.
  •     ci:test:jdk21-functional - No description is available.
  •     ci:test:jdk21-integration - No description is available.
  •     ci:test:jdk21-unit - No description is available.
  •     ci:test:jsf - Test Liferay Faces tests.
  •     ci:test:kaleo-forms - Test Kaleo Forms admin tests.
  •     ci:test:knowledge-base - No description is available.
  •     ci:test:ldap - Test LDAP tests.
  •     ci:test:license - Compile a release bundle and execute tests for licensing.
  •     ci:test:license-cluster - Compile a release bundle and execute tests for cluster licensing on 32GB slaves.
  •     ci:test:liferay-osb-site-initializer - No description is available.
  •     ci:test:liferay-sample-workspace - No description is available.
  •     ci:test:liferay-site-initializer - No description is available.
  •     ci:test:lpkg - Test LPKG tests.
  •     ci:test:message-boards - No description is available.
  •     ci:test:mfa - Test Multi Factor Authentication tests.
  •     ci:test:navigation-framework - Test Navigation Framework tests.
  •     ci:test:notifications - Test Notifications tests.
  •     ci:test:oauth2 - Test OAuth 2 tests.
  •     ci:test:object - Test Object tests.
  •     ci:test:object-as - Test object tests with different application servers.
  •     ci:test:object-db - Test object tests with different databases.
  •     ci:test:object-db-integration - Test only Object integration tests with different databases.
  •     ci:test:object-db-partition - Test object functional tests with Database Partitioning.
  •     ci:test:object-functional - Test only Object functional tests
  •     ci:test:object-lxc - Test Object tests with Liferay Experience Cloud configurations.
  •     ci:test:oidc - Test OpenID Connect tests.
  •     ci:test:onedrive - Test OneDrive tests.
  •     ci:test:page-management - Test all Page Management team tests.
  •     ci:test:page-management-playwright - Test Page Management team playwright tests.
  •     ci:test:password-policies - Test Password Policies tests.
  •     ci:test:platform-experience - Test Platform Experience team tests.
  •     ci:test:platform-experience-acceptance - Test Platform Experience team acceptance tests.
  •     ci:test:platform-experience-accessibility - Test Platform Experience team accessibility framework tests.
  •     ci:test:platform-experience-db-partition - No description is available.
  •     ci:test:playwright - Test all playwright tests.
  •     ci:test:portal-context-path - No description is available.
  •     ci:test:portal-proxy-path - No description is available.
  •     ci:test:portlet-deployment - Test deployment of all demo portlet plugins.
  •     ci:test:poshi - No description is available.
  •     ci:test:poshi-gauntlet - No description is available.
  •     ci:test:project-templates - Test project-templates tests.
  •     ci:test:publications - Test publications tests.
  •     ci:test:publications-as - Test publications tests with different application servers.
  •     ci:test:publications-db - Test publications tests with different databases.
  •     ci:test:publications-db-partition - Test publications functional tests with Database Partitioning.
  •     ci:test:publications-lxc - Test publications tests with Liferay Experience Cloud configurations.
  •     ci:test:questions - No description is available.
  •     ci:test:redirect - No description is available.
  •     ci:test:relevant - Test relevant changes only.
  •     ci:test:reports - Test Reports tests.
  •     ci:test:roles - Test Roles tests.
  •     ci:test:saml - Test SAML tests.
  •     ci:test:scim - Test SCIM tests.
  •     ci:test:search - Test search tests with the Elasticsearch 7 search engine.
  •     ci:test:search-as - Test search tests with the Elasticsearch 7 search engine on different application servers.
  •     ci:test:search-db - Test search tests with the Elasticsearch 7 search engine on different databases.
  •     ci:test:search-db-partition - Test search functional tests with Database Partitioning.
  •     ci:test:search-es8-as - Test search tests with the Elasticsearch 8 search engine on different application servers.
  •     ci:test:search-es8-db - Test search tests with the Elasticsearch 8 search engine on different databases.
  •     ci:test:search-es8-remote - Test only search tests with the latest compatible remote Elasticsearch 8 version.
  •     ci:test:search-es8-remote-minimum - Test search tests with the minimum compatible remote Elasticsearch 8 version.
  •     ci:test:search-lxc - Test search tests with the Elasticsearch 7 search engine and Liferay Experience Cloud configurations.
  •     ci:test:search-opensearch2 - Test only search tests with the latest compatible OpenSearch 2 version.
  •     ci:test:search-opensearch2-as - Test search tests with the OpenSearch 2 search engine on different application servers.
  •     ci:test:search-opensearch2-db - Test search tests with the OpenSearch 2 search engine on different databases.
  •     ci:test:search-remote - Test only search tests with the latest compatible remote Elasticsearch 7 version.
  •     ci:test:search-remote-minimum - Test search tests with the minimum compatible remote Elasticsearch 7 version.
  •     ci:test:search-solr - Test search tests with the Solr 8 search engine.
  •     ci:test:search-solr-as - Test search tests with the Solr 8 search engine on different application servers.
  •     ci:test:search-solr-db - Test search tests with the Solr 8 search engine on different databases.
  •     ci:test:security - Test security tests.
  •     ci:test:service-builder - Test Service Builder tests.
  •     ci:test:setup-wizard - Test Setup Wizard tests.
  •     ci:test:sf - Test source formatter.
  •     ci:test:sharing - Test Asset Sharing tests.
  •     ci:test:site-management - Test Site Management tests.
  •     ci:test:site-template - Test Site Template tests.
  •     ci:test:smoke - Run smoke test with all available configurations in PortalSmoke.testcase
  •     ci:test:stable - No description is available.
  •     ci:test:startup - Test Portal startup.
  •     ci:test:sybase - Test functional and integration tests on Sybase database.
  •     ci:test:system - Test functional and integration tests for System Management (Virtual Instances,System Settings,Instance Settings)
  •     ci:test:tck - Test TCK tests.
  •     ci:test:themes - No description is available.
  •     ci:test:translation - Test Translation Management tests.
  •     ci:test:um - Test User Management tests.
  •     ci:test:um-db-partition - No description is available.
  •     ci:test:upgrade - Test upgrades against tomcat app server and all supported databases.
  •     ci:test:upgrade-all - Test upgrades from all components against all app servers and databases.
  •     ci:test:upgrade-app-servers - Test upgrades against all app servers.
  •     ci:test:upgrade-client - Test upgrade client.
  •     ci:test:upgrade-performance - Test large database for upgrade performance regressions.
  •     ci:test:upstream-dxp - No description is available.
  •     ci:test:upstream-functional - Test upstream functional tests.
  •     ci:test:upstream-functional-db-partition - Test upstream functional tests with Database Partitioning.
  •     ci:test:users - Test Users and Organizations tests.
  •     ci:test:usm - No description is available.
  •     ci:test:usm-db-partition - No description is available.
  •     ci:test:usm-environments - No description is available.
  •     ci:test:usm-upgrade - No description is available.
  •     ci:test:vulcan-acceptance - Test headless team acceptance tests considering Vulcan and Commerce.
  •     ci:test:wiki - Test wiki tests.
  •     ci:test:workflow - Test Workflow tests.
  •     ci:test:workflow-db-partition - Test Workflow functional tests with Database Partitioning.
  •     ci:test:workflow-es7-remote - Test Workflow tests with the latest compatible remote Elasticsearch 7 version.
  •     ci:test:workflow-es8-remote - Test Workflow tests with the latest compatible remote Elasticsearch 8 version.
  •     ci:test:workflow-opensearch2 - No description is available.
  •     ci:test:workspaces - No description is available.

@Mikellorza
Copy link
Collaborator Author

ci:test:content-management

@liferay-continuous-integration
Copy link
Collaborator

Build started.

Jenkins is currently running tests in the content-management test suite.

Base Branch:

Branch Name: master

Job Summary:

Job Link: test-portal-acceptance-pullrequest(master)

For more details click here.

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.

4 participants