[MGNLCE-275] INT/UI test for pages with UTF-8 chars in node name Created: 02/Jun/21  Updated: 19/Aug/21  Resolved: 13/Aug/21

Status: Closed
Project: Community Edition
Component/s: None
Affects Version/s: None
Fix Version/s: 6.2.12

Type: Task Priority: Major
Reporter: Christoph Meier Assignee: Federico Grilli
Resolution: Done Votes: 0
Labels: VN-Testing
Remaining Estimate: Not Specified
Time Spent: 0.5h
Original Estimate: Not Specified

Issue Links:
Cloners
is cloned by MGNLEE-649 INT/UI test for pages with UTF-8 char... Closed
dependency
depends upon MGNLTEST-140 Set magnolia.utf8.enabled=true for th... Closed
Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Epic Link: Automate-pre-release-QA

 Description   

Note that the test(s) requested by this ticket have been executed manually so far in the context of pre-release QA.


 
Create integration tests to ensure that using UTF-8 chars in page names / node names works fine.

High level scenarios

  • Creating a page with a page name with UTF-8 chars
  • Requesting a page with UTF-8 chars in the path to the page. * Publishing a page
  • Publishing a page with UTF-8 chars in in its node name.

Scenario descriptions:

Scenario: Creating a page with UTF-8 chars in the page name.
  Given user Eric opens the pages app.
  When Eric creates a new page with the page name "С Новым Годом".
  Then the pages app contains the row with the label "С Новым Годом".
  And the JCR workspace pages contains the node "/С-Новым-Годом".

Scenario: Requesting a page with UTF-8 chars in the path to the page.
  Given the page with the node name "Алекса́ндр-Серге́евич-Пу́шкин" exists.
  When requesting the URL "$context/Алекса́ндр-Серге́евич-Пу́шкин.html".
  Then Magnolia returns with HTTP response code 200.
  
Scenario: Publishing a page with UTF-8 chars in in its node name.
  Given the page with the path "/ÜberÄrger" exist on the author context.
  When publishing the page "/ÜberÄrger".
  Then requesting "/ÜberÄrger" on the public context returns with HTTP response code 200.
  

 


The 3 tests can be added to info.magnolia.functionaltests.PagesCoreFunctionalTests


Generated at Mon Feb 12 00:07:49 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.