|
445 | 445 | <testCaseId value="MC-3463"/>
|
446 | 446 | <group value="pagebuilder"/>
|
447 | 447 | <group value="pagebuilder-text"/>
|
| 448 | + <group value="ira"/> |
448 | 449 | </annotations>
|
449 | 450 | <before>
|
450 | 451 | <createData entity="_defaultCmsPage" stepKey="createCMSPage" />
|
|
498 | 499 | <!--Verify FontStyle on preview-->
|
499 | 500 | <comment userInput="Verify FontStyle on preview" stepKey="commentVerifyFontsizeOnPreview"/>
|
500 | 501 | <click selector="{{TextOnStage.tinymce('1')}}" stepKey="focusOnEditorArea"/>
|
501 |
| - <fillField selector="{{TextOnStage.tinymce('1')}}" userInput="{{PageBuilderTextContentTypeDefault.value}}" stepKey="fillTextToTinyMCE4"/> |
| 502 | + <fillField selector="{{TextOnStage.tinymce('1')}}" userInput="{{PageBuilderTextProperty.value}}" stepKey="fillTextToTinyMCE4"/> |
502 | 503 | <click selector="{{WYSIWYGOnPageBuilder.formatSelector}}" stepKey="expandFormatList"/>
|
503 | 504 | <see userInput="Important" stepKey="seeImportantStyle"/>
|
504 | 505 | <click selector="{{TextOnStage.importantStyle('1')}}" stepKey="selectFormatStyle" />
|
505 |
| - <seeElement selector="{{TextOnStage.textInImportantStyle('1',PageBuilderTextContentTypeDefault.value)}}" stepKey="seeTextInImportantStyleOnPreview1" /> |
| 506 | + <seeElement selector="{{TextOnStage.textInImportantStyle('1',PageBuilderTextProperty.value)}}" stepKey="seeTextInImportantStyleOnPreview1" /> |
506 | 507 | <actionGroup ref="saveAndContinueEditCmsPage" stepKey="saveAndContinueEditCmsPage2"/>
|
507 | 508 | <!--Verify FontStyle on stage-->
|
508 | 509 | <comment userInput="Verify FontStyle on stage" stepKey="commentVerifyFontStyleOnStage"/>
|
509 | 510 | <actionGroup ref="switchToPageBuilderStage" stepKey="switchToPageBuilderStage2"/>
|
510 |
| - <seeElement selector="{{TextOnStage.textInImportantStyle('1',PageBuilderTextContentTypeDefault.value)}}" stepKey="seeTextInImportantStyleOnPreview2" /> |
| 511 | + <seeElement selector="{{TextOnStage.textInImportantStyle('1',PageBuilderTextProperty.value)}}" stepKey="seeTextInImportantStyleOnPreview2" /> |
511 | 512 | <!--Verify FontStyle on Storeview-->
|
512 | 513 | <comment userInput="Verify FontStyle on Storeview" stepKey="commentVerifyFontStyleOnStoreview"/>
|
513 | 514 | <amOnPage url="$$createCMSPage.identifier$$" stepKey="amOnPageTestPage2"/>
|
514 | 515 | <waitForPageLoad stepKey="waitForPageLoad3"/>
|
515 |
| - <seeElement selector="{{TextOnStage.textInImportantStyle('1',PageBuilderTextContentTypeDefault.value)}}" stepKey="seeTextInImportantStyleOnStorefront" /> |
| 516 | + <seeElement selector="{{TextOnStorefront.textInImportantStyle(PageBuilderTextProperty.value)}}" stepKey="seeTextInImportantStyleOnStorefront" /> |
516 | 517 | </test>
|
517 | 518 | <test name="TextAddTextWithCustomTinyMCE">
|
518 | 519 | <annotations>
|
|
523 | 524 | <severity value="CRITICAL"/>
|
524 | 525 | <useCaseId value="MC-1412"/>
|
525 | 526 | <testCaseId value="MAGETWO-90274"/>
|
| 527 | + <!--<group value="ira"/>--> |
526 | 528 | <group value="pagebuilder"/>
|
527 | 529 | <group value="pagebuilder-text"/>
|
528 | 530 | </annotations>
|
|
582 | 584 | <see userInput="Important" stepKey="seeImportantStyle"/>
|
583 | 585 | <click selector="//span[text()='Important']" stepKey="selectFormatStyle" />
|
584 | 586 | <actionGroup ref="saveEditPanelSettings" stepKey="saveEditPanelSettings"/>
|
585 |
| - <seeElement selector="//div/div[contains(normalize-space(@class), 'cms-content-important') and text()='{{PageBuilderTextContentTypeDefault.value}}']" stepKey="seeTextInImportantStyleOnPreview" /> |
| 587 | + <seeElement selector="{{TextOnStage.emptyTextInImportantStyle('1')}}" stepKey="seeTextInImportantStyleOnPreview" /> |
| 588 | + <grabValueFrom selector="{{TextOnStage.emptyTextInImportantStyle('1')}}" stepKey="grabTextFromEditor"/> |
| 589 | + <assertEmpty stepKey="assertTextIsEmpty" actual="grabTextFromEditor" actualType="variable"/> |
586 | 590 | <actionGroup ref="saveAndContinueEditCmsPage" stepKey="saveAndContinueEditCmsPage2"/>
|
587 |
| - |
588 | 591 | <!--Verify FontStyle on Storeview-->
|
589 | 592 | <amOnPage url="$$createCMSPage.identifier$$" stepKey="amOnPageTestPage2"/>
|
590 | 593 | <waitForPageLoad stepKey="waitForPageLoad3"/>
|
591 |
| - <seeElement selector="//div[contains(normalize-space(@class), 'cms-content-important') and text()='{{PageBuilderTextContentTypeDefault.value}}']" stepKey="seeTextInImportantStyleOnStorefront" /> |
| 594 | + <seeElement selector="//div[contains(normalize-space(@class), 'cms-content-important') and not(text())]" stepKey="seeTextInImportantStyleOnStorefront" /> |
592 | 595 | </test>
|
593 | 596 | <test name="TextAddTextWithTinyMCE">
|
594 | 597 | <annotations>
|
|
0 commit comments