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-39505 Add playwright test to View Selected Web Content With Geolocation Field #6019

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

gergelyszalay
Copy link
Collaborator

Cannot edit structure key when disabling configuration

What is this trying to solve?

https://liferay.atlassian.net/browse/LPD-39805,
https://liferay.atlassian.net/browse/LPD-39805

The geolocation field properly displayed in a web content display

How am I fixing it?

moved the test to the playwright, the 2 tests could be merged into one.

How can you verify that it works?
Run the tests locally

@liferay-continuous-integration
Copy link
Collaborator

CI is automatically triggering the following test suites:

  •     ci:test:sf

@gergelyszalay
Copy link
Collaborator Author

ci:test:content-management-playwright

@liferay-continuous-integration
Copy link
Collaborator

❌ ci:test:sf - 0 out of 1 jobs passed in 5 minutes

Click here for more details.

Base Branch:

Branch Name: master
Branch GIT ID: b3033ae367d39f24e7266bcc4ce388726cab038e

Sender Branch:

Branch Name: LPD-39505-master
Branch GIT ID: 45e9d77c0886c7a089a228d435143c484e7277d1

0 out of 1jobs PASSED
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/journal-web/config.ts
     [exec]      11:3  error  Expected object keys to be in natural ascending order. 'permissions' should be before 'testIdAttribute'.  sort-keys
     [exec]      12:3  error  Expected object keys to be in natural ascending order. 'geolocation' should be before 'permissions'.  sort-keys
     [exec]    
     [exec]    ✖ 2 problems (2 errors, 0 warnings)
     [exec]    
     [exec]    /opt/dev/projects/github/liferay-portal/modules/test/playwright/tests/journal-web/journalArticle.spec.ts
     [exec]      8:2  error  'chromium' is defined but never used. Allowed unused vars must match /^_/u.  @typescript-eslint/no-unused-vars
     [exec]      29:8  error  'getContainerDefinition' is defined but never used. Allowed unused vars must match /^_/u.  @typescript-eslint/no-unused-vars
     [exec]      30:8  error  'getPageDefinition' is defined but never used. Allowed unused vars must match /^_/u.  @typescript-eslint/no-unused-vars
     [exec]      31:8  error  'getWidgetDefinition' is defined but never used. Allowed unused vars must match /^_/u.  @typescript-eslint/no-unused-vars
     [exec]      145:3  error  'widgetPagePage' is defined but never used. Allowed unused args must match /^_|^this\$/u.  @typescript-eslint/no-unused-vars
     [exec]      159:6  error  Expected object keys to be in natural ascending order. 'dataType' should be before 'repeatable'.  sort-keys
     [exec]    
     [exec]    ✖ 6 problems (6 errors, 0 warnings)
     [exec]    
     [exec]    /opt/dev/projects/github/liferay-portal/modules/test/playwright/tests/journal-web/pages/JournalEditTemplatePage.ts
     [exec]      8:9  error  'clickAndExpectToBeVisible' is defined but never used. Allowed unused vars must match /^_/u.  @typescript-eslint/no-unused-vars
     [exec]      84:40  error  Expected object keys to be in natural ascending order. 'exact' should be before 'name'.  sort-keys
     [exec]    

@liferay-continuous-integration
Copy link
Collaborator

@gergelyszalay
Copy link
Collaborator Author

ci:test:sf

@liferay-continuous-integration
Copy link
Collaborator

❌ ci:test:sf - 0 out of 1 jobs passed in 5 minutes

Click here for more details.

Base Branch:

Branch Name: master
Branch GIT ID: b3033ae367d39f24e7266bcc4ce388726cab038e

Sender Branch:

Branch Name: LPD-39505-master
Branch GIT ID: 1d5b2cb537d1d0ac9202764f7a5b7fad8bae1da8

0 out of 1jobs PASSED
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/journal-web/config.ts
     [exec]      1:1  error  File has format errors.  (format check)
     [exec]    
     [exec]    ✖ 1 problem (1 error, 0 warnings)
     [exec]    
     [exec]    /opt/dev/projects/github/liferay-portal/modules/test/playwright/tests/journal-web/journalArticle.spec.ts
     [exec]      8:2  error  'chromium' is defined but never used. Allowed unused vars must match /^_/u.  @typescript-eslint/no-unused-vars
     [exec]      29:8  error  'getContainerDefinition' is defined but never used. Allowed unused vars must match /^_/u.  @typescript-eslint/no-unused-vars
     [exec]      30:8  error  'getPageDefinition' is defined but never used. Allowed unused vars must match /^_/u.  @typescript-eslint/no-unused-vars
     [exec]      31:8  error  'getWidgetDefinition' is defined but never used. Allowed unused vars must match /^_/u.  @typescript-eslint/no-unused-vars
     [exec]      145:3  error  'widgetPagePage' is defined but never used. Allowed unused args must match /^_|^this\$/u.  @typescript-eslint/no-unused-vars
     [exec]      159:6  error  Expected object keys to be in natural ascending order. 'dataType' should be before 'repeatable'.  sort-keys
     [exec]    
     [exec]    ✖ 6 problems (6 errors, 0 warnings)
     [exec]    
     [exec]    /opt/dev/projects/github/liferay-portal/modules/test/playwright/tests/journal-web/pages/JournalEditTemplatePage.ts
     [exec]      8:9  error  'clickAndExpectToBeVisible' is defined but never used. Allowed unused vars must match /^_/u.  @typescript-eslint/no-unused-vars
     [exec]      84:40  error  Expected object keys to be in natural ascending order. 'exact' should be before 'name'.  sort-keys
     [exec]    
     [exec]    ✖ 2 problems (2 errors, 0 warnings)
     [exec]    
     [exec]    /opt/dev/projects/github/liferay-portal/modules/test/playwright/tests/journal-web/utils/getDataStructureDefinition.ts

@liferay-continuous-integration
Copy link
Collaborator

@liferay-continuous-integration
Copy link
Collaborator

❌ ci:test:content-management-playwright - 10 out of 13 jobs passed in 1 hour 51 minutes

Click here for more details.

Base Branch:

Branch Name: master
Branch GIT ID: b3033ae367d39f24e7266bcc4ce388726cab038e

Upstream Comparison:

Branch GIT ID: b3033ae367d39f24e7266bcc4ce388726cab038e
Jenkins Build URL: EE Development Acceptance (master) - 934 - 2024-10-21[00:02:58]

ci:test:content-management-playwright - 10 out of 13 jobs PASSED
10 Successful Jobs:
    For more details click here.

    Failures unique to this pull:


    Failures in common with acceptance upstream results at b3033ae:

    @liferay-continuous-integration
    Copy link
    Collaborator

    @gergelyszalay
    Copy link
    Collaborator Author

    ci:test:sf

    @liferay-continuous-integration
    Copy link
    Collaborator

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

    Click here for more details.

    Base Branch:

    Branch Name: master
    Branch GIT ID: 1dbaed3be11b249c7cfd3dc514db825793b235ee

    Sender Branch:

    Branch Name: LPD-39505-master
    Branch GIT ID: 0209a4a654e7768c9ba837ae16df03b048dacd11

    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

    ❌ ci:test:content-management-playwright - 11 out of 13 jobs passed in 1 hour 30 minutes

    Click here for more details.

    Base Branch:

    Branch Name: master
    Branch GIT ID: 1dbaed3be11b249c7cfd3dc514db825793b235ee

    Upstream Comparison:

    Branch GIT ID: 1dbaed3be11b249c7cfd3dc514db825793b235ee
    Jenkins Build URL: EE Development Acceptance (master) - 950 - 2024-10-24[20:45:23]

    ci:test:content-management-playwright - 11 out of 13 jobs PASSED
    11 Successful Jobs:
      For more details click here.

      Failures unique to this pull:


      Failures in common with acceptance upstream results at 1dbaed3:

      @liferay-continuous-integration
      Copy link
      Collaborator

      @gergelyszalay
      Copy link
      Collaborator Author

      ci:test:content-management-playwright

      @liferay-continuous-integration
      Copy link
      Collaborator

      ❌ ci:test:content-management-playwright - 11 out of 14 jobs passed in 1 hour 19 minutes

      Click here for more details.

      This pull is eligible for reevaluation. When this upstream build has completed, using the following CI command will compare this pull request result against a more recent upstream result:

      ci:reevaluate:1257401_6216

      Base Branch:

      Branch Name: master
      Branch GIT ID: 018c46ee4f7af1eb39b9cf0ec93f43f92aabdb3a

      Upstream Comparison:

      Branch GIT ID: a5e032e394aa5a9423586cecf372df569abc654e
      Jenkins Build URL: EE Development Acceptance (master) - 983 - 2024-11-05[04:42:43]

      ci:test:content-management-playwright - 11 out of 14 jobs PASSED
      11 Successful Jobs:
        For more details click here.

        Failures unique to this pull:


        Failures in common with acceptance upstream results at a5e032e:

        @liferay-continuous-integration
        Copy link
        Collaborator

        @gergelyszalay
        Copy link
        Collaborator Author

        ci:test:content-management-playwright

        @liferay-continuous-integration
        Copy link
        Collaborator

        ❌ ci:test:content-management-playwright - 12 out of 14 jobs passed in 1 hour 9 minutes

        Click here for more details.

        Base Branch:

        Branch Name: master
        Branch GIT ID: 31cad2ae57a0a7537cf2c8e86875c372d36d8ab3

        Upstream Comparison:

        Branch GIT ID: 31cad2ae57a0a7537cf2c8e86875c372d36d8ab3
        Jenkins Build URL: EE Development Acceptance (master) - 1020 - 2024-11-15[04:40:19]

        ci:test:content-management-playwright - 12 out of 14 jobs PASSED
        12 Successful Jobs:
          For more details click here.

          Failures unique to this pull:

          For upstream results, click here.

          @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
          Development

          Successfully merging this pull request may close these issues.

          4 participants