File tree Expand file tree Collapse file tree 8 files changed +27
-12
lines changed
src/Magento/FunctionalTestingFramework Expand file tree Collapse file tree 8 files changed +27
-12
lines changed Original file line number Diff line number Diff line change 55 - \Magento\FunctionalTestingFramework\Helper\Acceptance
66 config :
77 \Magento\FunctionalTestingFramework\Module\MagentoWebDriver :
8- browser : chrome
9- window_size : maximize
8+ browser : ' chrome'
9+ capabilities :
10+ chromeOptions :
11+ args : ["--start-maximized", "--disable-extensions", "--enable-automation"]
Original file line number Diff line number Diff line change 55 - \Magento\FunctionalTestingFramework\Helper\Acceptance
66 config :
77 \Magento\FunctionalTestingFramework\Module\MagentoWebDriver :
8- browser : firefox
8+ browser : ' firefox'
9+ restart : true
910 window_size : maximize
Original file line number Diff line number Diff line change 1+ # `headless` environment config goes here
2+ modules :
3+ enabled :
4+ - \Magento\FunctionalTestingFramework\Module\MagentoWebDriver
5+ - \Magento\FunctionalTestingFramework\Helper\Acceptance
6+ config :
7+ \Magento\FunctionalTestingFramework\Module\MagentoWebDriver :
8+ browser : ' chrome'
9+ window_size : false
10+ capabilities :
11+ chromeOptions :
12+ args : ["--headless", "--disable-gpu", "--disable-extensions"]
13+ binary : " /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome"
Original file line number Diff line number Diff line change 55 - \Magento\FunctionalTestingFramework\Helper\Acceptance
66 config :
77 \Magento\FunctionalTestingFramework\Module\MagentoWebDriver :
8- browser : phantomjs
8+ browser : ' phantomjs'
Original file line number Diff line number Diff line change 205205 <item name =" /config/cest" xsi : type =" string" >name</item >
206206 <item name =" /config/cest/test" xsi : type =" string" >name</item >
207207 <item name =" /config/cest/test/actionGroup/argument" xsi : type =" string" >name</item >
208- <item name =" /config/cest/test/createData/required-entity" xsi : type =" string" >persistedKey </item >
208+ <item name =" /config/cest/test/createData/required-entity" xsi : type =" string" >createDataKey </item >
209209 <item name="/config/cest/test/(acceptPopup|actionGroup|amOnPage|amOnUrl|appendField|assertArraySubset|attachFile|cancelPopup|checkOption|click|clickWithLeftButton|clickWithRightButton|closeTab|createData|deleteData|dontSee|dontSeeCheckboxIsChecked|dontSeeCookie|dontSeeCurrentUrlEquals|dontSeeCurrentUrlMatches|dontSeeElement|dontSeeElementInDOM|dontSeeInCurrentUrl|dontSeeInField|dontSeeInPageSource|dontSeeInSource|dontSeeInTitle|dontSeeLink|dontSeeOptionIsSelected|doubleClick|dragAndDrop|entity|executeJS|fillField|formatMoney|grabAttributeFrom|grabCookie|grabFromCurrentUrl|grabMultiple|grabPageSource|grabTextFrom|grabValueFrom|loadSessionSnapshot|loginAsAdmin|makeScreenshot|maximizeWindow|moveBack|moveForward|moveMouseOver|openNewTab|pauseExecution|performOn|pressKey|reloadPage|resetCookie|resizeWindow|scrollTo|searchAndMultiSelectOption|see|seeCheckboxIsChecked|seeCookie|seeCurrentUrlEquals|seeCurrentUrlMatches|seeElement|seeElementInDOM|seeInCurrentUrl|seeInField|seeInFormFields|seeInPageSource|seeInPopup|seeInSource|seeInTitle|seeLink|seeNumberOfElements|seeOptionIsSelected|selectOption|setCookie|switchToIFrame|switchToNextTab|switchToPreviousTab|switchToWindow|typeInPopup|uncheckOption|unselectOption|wait|waitForAjaxLoad|waitForElement|waitForElementChange|waitForElementNotVisible|waitForElementVisible|waitForJS|waitForLoadingMaskToDisappear|waitForPageLoad|waitForText)" xsi:type="string">mergeKey</item>
210210 </argument >
211211 <argument name =" fileName" xsi : type =" string" >*Cest.xml</argument >
221221 <item name="/config/cest/after/(acceptPopup|actionGroup|amOnPage|amOnUrl|appendField|assertArraySubset|attachFile|cancelPopup|checkOption|click|clickWithLeftButton|clickWithRightButton|closeTab|createData|deleteData|dontSee|dontSeeCheckboxIsChecked|dontSeeCookie|dontSeeCurrentUrlEquals|dontSeeCurrentUrlMatches|dontSeeElement|dontSeeElementInDOM|dontSeeInCurrentUrl|dontSeeInField|dontSeeInPageSource|dontSeeInSource|dontSeeInTitle|dontSeeLink|dontSeeOptionIsSelected|doubleClick|dragAndDrop|entity|executeJS|fillField|formatMoney|grabAttributeFrom|grabCookie|grabFromCurrentUrl|grabMultiple|grabPageSource|grabTextFrom|grabValueFrom|loadSessionSnapshot|loginAsAdmin|makeScreenshot|maximizeWindow|moveBack|moveForward|moveMouseOver|openNewTab|pauseExecution|performOn|pressKey|reloadPage|resetCookie|resizeWindow|scrollTo|searchAndMultiSelectOption|see|seeCheckboxIsChecked|seeCookie|seeCurrentUrlEquals|seeCurrentUrlMatches|seeElement|seeElementInDOM|seeInCurrentUrl|seeInField|seeInFormFields|seeInPageSource|seeInPopup|seeInSource|seeInTitle|seeLink|seeNumberOfElements|seeOptionIsSelected|selectOption|setCookie|switchToIFrame|switchToNextTab|switchToPreviousTab|switchToWindow|typeInPopup|uncheckOption|unselectOption|wait|waitForAjaxLoad|waitForElement|waitForElementChange|waitForElementNotVisible|waitForElementVisible|waitForJS|waitForLoadingMaskToDisappear|waitForPageLoad|waitForText)" xsi:type="string">mergeKey</item>
222222 <item name =" /config/cest/test" xsi : type =" string" >name</item >
223223 <item name =" /config/cest" xsi : type =" string" >name</item >
224- <item name =" /config/cest/test/createData/required-entity" xsi : type =" string" >persistedKey </item >
225- <item name =" /config/cest/before/createData/required-entity" xsi : type =" string" >persistedKey </item >
226- <item name =" /config/cest/after/createData/required-entity" xsi : type =" string" >persistedKey </item >
224+ <item name =" /config/cest/test/createData/required-entity" xsi : type =" string" >createDataKey </item >
225+ <item name =" /config/cest/before/createData/required-entity" xsi : type =" string" >createDataKey </item >
226+ <item name =" /config/cest/after/createData/required-entity" xsi : type =" string" >createDataKey </item >
227227 <item name =" /config/cest/test/actionGroup/argument" xsi : type =" string" >name</item >
228228 </argument >
229229 <argument name =" numericArrays" xsi : type =" array" >
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
22
33<config xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : noNamespaceSchemaLocation =" testSchema.xsd" >
4- <actionGroup name =" sampleReusableActions" defaultEntity = " testEntity " >
4+ <actionGroup name =" sampleReusableActions" >
55 <arguments >
66 <argument name =" product" defaultValue =" _defaultProduct" />
77 <argument name =" category" defaultValue =" _defaultCategory" />
Original file line number Diff line number Diff line change 3838 </xs : element >
3939 </xs : choice >
4040 <xs : attribute type =" xs:string" name =" name" use =" required" />
41- <xs : attribute type =" xs:string" name =" defaultEntity" />
4241 </xs : complexType >
4342 <xs : complexType name =" annotationsType" >
4443 <xs : choice minOccurs =" 0" maxOccurs =" unbounded" >
379378 <xs : complexType name =" requiredEntityType" >
380379 <xs : simpleContent >
381380 <xs : extension base =" xs:string" >
382- <xs : attribute type =" xs:string" name =" persistedKey " use =" required" />
381+ <xs : attribute type =" xs:string" name =" createDataKey " use =" required" />
383382 <xs : attribute type =" xs:boolean" name =" remove" default =" false" />
384383 <xs : attribute type =" xs:string" name =" before" />
385384 <xs : attribute type =" xs:string" name =" after" />
Original file line number Diff line number Diff line change 1818class TestGenerator
1919{
2020
21- const REQUIRED_ENTITY_REFERENCE = 'persistedKey ' ;
21+ const REQUIRED_ENTITY_REFERENCE = 'createDataKey ' ;
2222
2323 /**
2424 * Path to the export dir.
You can’t perform that action at this time.
0 commit comments