Details

    • Type: Technical Testing
    • Status: Closed
    • Priority: Minor
    • Resolution: Completed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      Bugs:
      - PASS
      - To Do
      - FAIL

      • Impeditive:
        Ticket Title QA Status
        ? ?
      • Not impeditive:
        Ticket Title QA Status
        ? ?

      Test Cases

      Case 1
      Assert a country flag icon is shown for localiable fragment configuration field

      1. Add a new site
      2. Add a new fragment
      3. Type the following code in HTML section
        	<div class="component-button text-break">
        		<a
        			class="btn btn-${configuration.buttonSize} btn-${configuration.buttonType}"
        			data-lfr-editable-id="link"
        			data-lfr-editable-type="link"
        			href=""
        			id="fragment-${fragmentEntryLinkNamespace}-link"
        		>
        			Go Somewhere
        		</a>
        	</div>
        
      4. Type the following code in JSON section
        	{
        		"fieldSets": [
        			{
        				"fields": [
        					{
        						"dataType": "string",
        						"defaultValue": "primary",
        						"label": "type",
        						"name": "buttonType",
        						"type": "select",
        						"typeOptions": {
        							"validValues": [
        								{
        									"value": "primary"
        								},
        								{
        									"value": "secondary"
        								},
        								{
        									"value": "link"
        								},
        								{
        									"value": "outline-primary"
        								},
        								{
        									"value": "outline-secondary"
        								}
        							]
        						}
        					}
        				]
        			},
        			{
        				"configurationRole": "style",
        				"fields": [
        					{
        						"dataType": "string",
        						"defaultValue": "nm",
        						"label": "size",
        						"localizable": true,
        						"name": "buttonSize",
        						"type": "select",
        						"typeOptions": {
        							"validValues": [
        								{
        									"label": "small",
        									"value": "sm"
        								},
        								{
        									"label": "normal",
        									"value": "nm"
        								},
        								{
        									"label": "large",
        									"value": "lg"
        								}
        							]
        						}
        					}
        				]
        			}
        		]
        	}
        
      5. Publish
      6. Add a page based on Blank
      7. Add the new fragment to page
      8. Click the body of fragment > General tab
      9. Assert the country flag is not shown next to Type field
      10. Styles tab
      11. Assert the country flag is shown next to Size field

        Attachments

          Activity

            People

            Assignee:
            david.gutierrez David Gutiérrez Mesa
            Reporter:
            david.gutierrez David Gutiérrez Mesa
            Recent user:
            David Gutiérrez Mesa
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package