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

LPS-143919 Simulation iframe allows the user to interact with the control menu #6887

Closed
wants to merge 6 commits into from

Conversation

beltranrengifo
Copy link

@beltranrengifo beltranrengifo commented Jan 10, 2022

See Jira issue
Original PR

Motivation

Get rid of a weird app-in-app situation on the simulator device panel, due to the presence of the control menu after the first navigation.
The param p_l_mode=preview used for hiding this menu only works for the first load of the iframe.

Solution proposed

Now, the JS verifies if the param is present after a navigation, adding it if needed.
In case portal navigation occurs, a listener will handle the DOM to create a smooth transition between pages vía CSS.

Steps

  • Create a page
  • Navigate to home
  • Open the simulator
  • Click on the new page menu item, in order to navigate

Actual: The new loaded page shows the control menu
Expected: The new loaded page does not display the control menu

Note: after navigation, a visible delay before hiding the control menu is expected

@liferay-continuous-integration
Copy link
Collaborator

To conserve resources, the PR Tester does not automatically run for every pull.

If your code changes were already tested in another pull, reference that pull in this pull so the test results can be analyzed.

If your pull was never tested, comment "ci:test" to run the PR Tester for this pull.

@beltranrengifo
Copy link
Author

ci:test:sf

@beltranrengifo beltranrengifo changed the title LPS 143919 LPS-143919 Simulation iframe allows the user to interact with the control menu Jan 10, 2022
@liferay-continuous-integration
Copy link
Collaborator

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

Click here for more details.

Base Branch:

Branch Name: master
Branch GIT ID: 26445341f1a9d1d4fa9dd05ee88932b57f8844f6

Sender Branch:

Branch Name: LPS-143919
Branch GIT ID: d5f76cf3fba06599054300db64771724788785b9

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

@beltranrengifo
Copy link
Author

ci:test:relevant

@liferay-continuous-integration
Copy link
Collaborator

@liferay-continuous-integration
Copy link
Collaborator

✔️ ci:test:stable - 11 out of 11 jobs passed

✔️ ci:test:relevant - 26 out of 27 jobs passed in 1 hour 27 minutes

Click here for more details.

Base Branch:

Branch Name: master
Branch GIT ID: 26445341f1a9d1d4fa9dd05ee88932b57f8844f6

Upstream Comparison:

Branch GIT ID: 410d9593cb9ec56cba8dca1d2035405257627714
Jenkins Build URL: Acceptance Upstream DXP (master) #2783

ci:test:stable - 11 out of 11 jobs PASSED
11 Successful Jobs:
ci:test:relevant - 25 out of 27 jobs PASSED
25 Successful Jobs:
For more details click here.

This pull contains no unique failures.


Failures in common with acceptance upstream results at 410d959:
  1. test-portal-acceptance-pullrequest-batch(master)/lpkg-base-jdk8/0
    Job Results:

    3 Tests Passed.
    2 Tests Failed.

    1. AXIS_VARIABLE=0 #25831
      1. com.liferay.portal.log.assertor.PortalLogAssertorTest.testScanOSGiLog
        junit.framework.AssertionFailedError: 
        Portal log assert failure, OSGi log found: /opt/dev/projects/github/liferay-portal/bundles/osgi/state/1641804352421.log:
        !SESSION 2022-01-10 08:46:15.555 -----------------------------------------------
        eclipse.buildId=unknown
        java.version=1.8.0_121
        java.vendor=Oracle Corporation
        BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
        

        !ENTRY com.liferay.site.initializer.extender 4 0 2022-01-10 08:46:15.555
        !MESSAGE FrameworkEvent ERROR
        !STACK 0
        org.osgi.framework.BundleException: Could not resolve module: com.liferay.site.initializer.extender [662]
        Unresolved requirement: Import-Package: com.liferay.commerce.account.util; version="1.3.0"

        at org.eclipse.osgi.container.Module.start(Module.java:444)
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1682)
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1662)
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1624)
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1555)
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
        at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
        at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)

        at com.lifer...

      2. com.liferay.portal.log.assertor.PortalLogAssertorTest.testScanXMLLog
        junit.framework.AssertionFailedError:
        FrameworkEvent ERROR
        org.osgi.framework.BundleException: Could not resolve module: com.liferay.site.initializer.extender [662]
        Unresolved requirement: Import-Package: com.liferay.commerce.account.util; version="1.3.0"

        at org.eclipse.osgi.container.Module.start(Module.java:444)
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1682)
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1662)
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1624)
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1555)
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
        at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
        at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)

        at com.liferay.portal.log.assertor.PortalLogAssertorTest.scanXMLLogFile(PortalLogAssertorTest.java:171)
        at com.liferay.portal.log.assertor.PortalLogAssertorTest$1.visitFile(PortalLogAssertorTest.java:98)
        at com.liferay.portal.log.assertor.PortalLogAssertorTest$1.visitFile(PortalLogAssertorTest.java:88)
        at java.nio.file.Files.walkFileTree(Files.java:2670)
        at java.nio.file.Files.walkFileTree(Files.java:2742)
        at com.liferay.portal.log.asser...

@liferay-continuous-integration
Copy link
Collaborator

@sandrodw3 sandrodw3 self-assigned this Jan 10, 2022
@sandrodw3 sandrodw3 added the 🔍 Frontend Review Needed Frontend code needs to be reviewed by a member of the team. label Jan 10, 2022
@beltranrengifo
Copy link
Author

ci:test:echo

@liferay-continuous-integration
Copy link
Collaborator

❌ ci:test:echo - 15 out of 22 jobs passed in 2 hours 44 minutes

Click here for more details.

Base Branch:

Branch Name: master
Branch GIT ID: b348076325e5c8ae22676237c2cbbd0299156056

Upstream Comparison:

Branch GIT ID: b348076325e5c8ae22676237c2cbbd0299156056
Jenkins Build URL: Acceptance Upstream DXP (master) #2786

ci:test:echo - 15 out of 22 jobs PASSED
15 Successful Jobs:
For more details click here.

Failures unique to this pull:

  1. test-portal-acceptance-pullrequest-batch(master)/functional-tomcat90-mysql57-jdk8/6
    Job Results:

    24 Tests Passed.
    1 Test Failed.

    1. AXIS_VARIABLE=6 #5578
           [echo] ##
           [echo] 
      [beanshell] 2022-01-10 04:58:32
      [beanshell] Full thread dump Java HotSpot(TM) 64-Bit Server VM (25.121-b13 mixed mode):
      [beanshell] 
      [beanshell] "Attach Listener" #37 daemon prio=9 os_prio=0 tid=0x00007fcf80001000 nid=0x17c2f8 waiting on condition [0x0000000000000000]
      [beanshell]    java.lang.Thread.State: RUNNABLE
      [beanshell] 
      [beanshell]    Locked ownable synchronizers:
      [beanshell]   - None
      [beanshell] 
      [beanshell] "http-nio-8080-exec-10" #36 daemon prio=5 os_prio=0 tid=0x00007fcf40011000 nid=0x17bdfe waiting on condition [0x00007fcf4b2d4000]
      [beanshell] 
         [delete] Deleting: /tmp/Bootstrap__1555811.log
         [delete] Deleting: /opt/dev/projects/github/liferay-portal/jps_output
      [stopwatch] [run.batch.test.action: 33:27.919 sec]
           [echo] The following error occurred while executing this line:
           [echo] /opt/dev/projects/github/liferay-portal/build-test-batch.xml:365: The following error occurred while executing this line:
           [echo] /opt/dev/projects/github/liferay-portal/build-test-batch.xml:1662: /opt/dev/projects/github/liferay-portal/build-test-batch.xml:1666: The following error occurred while executing this line:
           [echo] /opt/dev/projects/github/liferay-portal/build-test-tomcat.xml:50: The following error occurred while executing this line:
           [echo] /opt/dev/projects/github/liferay-portal/build-test-tomcat.xml:62: The following error occurred while executing this line:
           [echo] /opt/dev/projects/github/liferay-portal/build-test.xml:13450: The following error occurred while executing this line:
           [echo] /opt/dev/projects/github/liferay-portal/build-test.xml:13815: The following error occurred while executing this line:
           [echo] /opt/dev/projects/github/liferay-portal/build-test.xml:4696: The following error occurred while executing this line:
           [echo] /opt/dev/projects/github/liferay-portal/build-test.xml:4777: The following error occurred while executing this line:
           [echo] /opt/dev/projects/github/liferay-portal/build-test.xml:5768: No server is available at http://localhost:8080/web/guest
            [get] Getting: http://test-1-36/job/test-portal-acceptance-pullrequest-batch(master)/AXIS_VARIABLE=6/5578//consoleText
            [get] To: /opt/dev/projects/github/liferay-portal/20220110045833758.txt
         [delete] Deleting: /opt/dev/projects/github/liferay-portal/20220110045833758.txt
         [delete] Deleting: /opt/dev/projects/github/liferay-portal/null427211691.properties

Failures in common with acceptance upstream results at b348076:
  1. ...

@liferay-continuous-integration
Copy link
Collaborator

@sandrodw3 sandrodw3 removed their assignment Jan 10, 2022
@sandrodw3 sandrodw3 added the 🛠 Changes Required Code has been reviewed and needs changes. label Jan 10, 2022
@beltranrengifo
Copy link
Author

ci:test:sf

@liferay-continuous-integration
Copy link
Collaborator

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

Click here for more details.

Base Branch:

Branch Name: master
Branch GIT ID: 3d2a74598c120e8d3b5055ea8a220c70bb1e38ac

Sender Branch:

Branch Name: LPS-143919
Branch GIT ID: 28afdbc51137e563930d05be6c6296142b5019da

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

@sandrodw3 sandrodw3 added ✅ Ready to Merge Pull request is ready and can be forwarded. and removed 🛠 Changes Required Code has been reviewed and needs changes. labels Jan 10, 2022
@sandrodw3
Copy link
Collaborator

ci:forward

@liferay-continuous-integration
Copy link
Collaborator

CI is automatically triggering the following test suites:

  •     ci:test:relevant
  •     ci:test:sf

The pull request will automatically be forwarded to the user brianchandotcom if the following test suites pass:

  •     ci:test:relevant
  •     ci:test:sf
  •     ci:test:stable

@liferay-continuous-integration
Copy link
Collaborator

Skipping previously passed test suites:
ci:test:sf

@liferay-continuous-integration
Copy link
Collaborator

@liferay-continuous-integration
Copy link
Collaborator

✔️ ci:test:stable - 11 out of 11 jobs passed

✔️ ci:test:relevant - 26 out of 27 jobs passed in 1 hour 37 minutes

Click here for more details.

Base Branch:

Branch Name: master
Branch GIT ID: 3d2a74598c120e8d3b5055ea8a220c70bb1e38ac

Upstream Comparison:

Branch GIT ID: 3d2a74598c120e8d3b5055ea8a220c70bb1e38ac
Jenkins Build URL: Acceptance Upstream DXP (master) #2787

ci:test:stable - 11 out of 11 jobs PASSED
11 Successful Jobs:
ci:test:relevant - 25 out of 27 jobs PASSED
25 Successful Jobs:
For more details click here.

This pull contains no unique failures.


Failures in common with acceptance upstream results at 3d2a745:

@liferay-continuous-integration
Copy link
Collaborator

All required test suite(s) passed.
Forwarding pull request to brianchandotcom.
Console

@liferay-continuous-integration
Copy link
Collaborator

Pull request has been successfully forwarded to brianchandotcom#111918
Console

@liferay-continuous-integration
Copy link
Collaborator

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