|
28 | 28 | <waitForPageLoad stepKey="WaitForDropDownSEO"/>
|
29 | 29 |
|
30 | 30 | <fillField stepKey="fillUrlKey1" selector="{{AdminProductFormBundleSection.urlKey}}" userInput="example-page-"/>
|
31 |
| - <click stepKey="blueFromUrlKey1" selector="{{AdminProductSEOSection.metaTitleInput}}"/> |
| 31 | + <click stepKey="blurFromUrlKey1" selector="{{AdminProductSEOSection.metaTitleInput}}"/> |
32 | 32 | <see selector="{{AdminProductFormSection.fieldError('url_key')}}" userInput="Please enter a valid URL Key (Ex: example-page)." stepKey="seeLastHyphenErrorMessage"/>
|
33 | 33 |
|
34 | 34 | <clearField selector="{{AdminProductFormBundleSection.urlKey}}" stepKey="clearFieldUrlKey2"/>
|
35 |
| - <fillField stepKey="fillUrlKey2" selector="{{AdminProductFormBundleSection.urlKey}}" userInput="Example-Page-"/> |
36 |
| - <click stepKey="blueFromUrlKey2" selector="{{AdminProductSEOSection.metaTitleInput}}"/> |
37 |
| - <see selector="{{AdminProductFormSection.fieldError('url_key')}}" userInput="Please enter a valid URL Key (Ex: example-page)." stepKey="seeCapitalLetterErrorMessage"/> |
| 35 | + <fillField stepKey="fillUrlKey2" selector="{{AdminProductFormBundleSection.urlKey}}" userInput="-Example-Page"/> |
| 36 | + <click stepKey="blurFromUrlKey2" selector="{{AdminProductSEOSection.metaTitleInput}}"/> |
| 37 | + <see selector="{{AdminProductFormSection.fieldError('url_key')}}" userInput="Please enter a valid URL Key (Ex: example-page)." stepKey="seeFirstHyphenErrorMessage"/> |
38 | 38 |
|
39 | 39 | <clearField selector="{{AdminProductFormBundleSection.urlKey}}" stepKey="clearFieldUrlKey3"/>
|
40 |
| - <fillField stepKey="fillUrlKey3" selector="{{AdminProductFormBundleSection.urlKey}}" userInput="example_page."/> |
41 |
| - <click stepKey="blueFromUrlKey3" selector="{{AdminProductSEOSection.metaTitleInput}}"/> |
42 |
| - <see selector="{{AdminProductFormSection.fieldError('url_key')}}" userInput="Please enter a valid URL Key (Ex: example-page)." stepKey="seeNotAllowedCharactersErrorMessage"/> |
43 |
| - |
44 |
| - <clearField selector="{{AdminProductFormBundleSection.urlKey}}" stepKey="clearFieldUrlKey4"/> |
45 |
| - <click stepKey="blueFromUrlKey4" selector="{{AdminProductSEOSection.metaTitleInput}}"/> |
46 |
| - <fillField stepKey="fillUrlKey4" selector="{{AdminProductFormBundleSection.urlKey}}" userInput="example-page-test"/> |
| 40 | + <click stepKey="blurFromUrlKey3" selector="{{AdminProductSEOSection.metaTitleInput}}"/> |
| 41 | + <fillField stepKey="fillUrlKey3" selector="{{AdminProductFormBundleSection.urlKey}}" userInput="example-page-test"/> |
47 | 42 | <dontSee selector="{{AdminProductFormSection.fieldError('url_key')}}" userInput="Please enter a valid URL Key (Ex: example-page)." stepKey="dontSeeErrorMessage"/>
|
48 | 43 | </test>
|
49 | 44 | </tests>
|
0 commit comments