-
Notifications
You must be signed in to change notification settings - Fork 9.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #78 from magento-firedrakes/MAGETWO-31478
[Firedrakes] Library Component for the Unified File Format in MTF
- Loading branch information
Showing
295 changed files
with
6,944 additions
and
902 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
/** | ||
* Copyright © 2015 Magento. All rights reserved. | ||
* See COPYING.txt for license details. | ||
*/ | ||
--> | ||
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="config.xsd"> | ||
<application> | ||
<reopenBrowser>testCase</reopenBrowser> | ||
<backendLogin>admin</backendLogin> | ||
<backendPassword>123123q</backendPassword> | ||
<appBackendUrl>http://magento.dev/backend/</appBackendUrl> | ||
<backendLoginUrl>admin</backendLoginUrl> | ||
</application> | ||
<install> | ||
<host>127.0.0.1</host> | ||
<user>root</user> | ||
<password>123123q</password> | ||
<dbName>default</dbName> | ||
<baseUrl>http://127.0.0.1/magento2/</baseUrl> | ||
<backendName>backend</backendName> | ||
</install> | ||
</config> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,136 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
/** | ||
* Copyright © 2015 Magento. All rights reserved. | ||
* See COPYING.txt for license details. | ||
*/ | ||
--> | ||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> | ||
<xs:element name="config"> | ||
<xs:complexType> | ||
<xs:all> | ||
<xs:element name="application" maxOccurs="1" minOccurs="0"> | ||
<xs:complexType> | ||
<xs:sequence> | ||
<xs:choice maxOccurs="unbounded"> | ||
<xs:element name="reopenBrowser" type="reopenBrowserType"/> | ||
<xs:element name="backendLogin" type="backendLoginType" /> | ||
<xs:element name="backendPassword" type="backendPasswordType" /> | ||
<xs:element name="backendLoginUrl" type="backendLoginUrlType" /> | ||
<xs:element name="appBackendUrl" type="appBackendUrlType" /> | ||
</xs:choice> | ||
</xs:sequence> | ||
</xs:complexType> | ||
</xs:element> | ||
<xs:element name="isolation" maxOccurs="1" minOccurs="0"> | ||
<xs:complexType> | ||
<xs:sequence> | ||
<xs:choice maxOccurs="unbounded"> | ||
<xs:element name="resetUrlPath" type="notEmptyType"/> | ||
<xs:element name="testSuite" type="isolationModeType" /> | ||
<xs:element name="testCase" type="isolationModeType" /> | ||
<xs:element name="test" type="isolationModeType" /> | ||
</xs:choice> | ||
</xs:sequence> | ||
</xs:complexType> | ||
</xs:element> | ||
<xs:element name="server" minOccurs="0"> | ||
<xs:complexType> | ||
<xs:sequence> | ||
<xs:choice maxOccurs="unbounded" minOccurs="1"> | ||
<xs:element name="item" type="serverItemType"/> | ||
</xs:choice> | ||
</xs:sequence> | ||
</xs:complexType> | ||
</xs:element> | ||
<xs:element name="install" minOccurs="0" maxOccurs="1"> | ||
<xs:complexType> | ||
<xs:sequence> | ||
<xs:choice maxOccurs="unbounded"> | ||
<xs:element name="host" type="notEmptyType"/> | ||
<xs:element name="user" type="notEmptyType" /> | ||
<xs:element name="password" type="notEmptyType" /> | ||
<xs:element name="dbName" type="notEmptyType" /> | ||
<xs:element name="baseUrl" type="notEmptyType" /> | ||
<xs:element name="backendName" type="notEmptyType" /> | ||
</xs:choice> | ||
</xs:sequence> | ||
</xs:complexType> | ||
</xs:element> | ||
</xs:all> | ||
</xs:complexType> | ||
</xs:element> | ||
<xs:simpleType name="reopenBrowserType"> | ||
<xs:restriction base="xs:string"> | ||
<xs:pattern value="testCase|test"/> | ||
</xs:restriction> | ||
</xs:simpleType> | ||
<xs:simpleType name="backendLoginType"> | ||
<xs:restriction base="xs:string"> | ||
<xs:minLength value="1"/> | ||
</xs:restriction> | ||
</xs:simpleType> | ||
<xs:simpleType name="backendLoginUrlType"> | ||
<xs:restriction base="xs:string"> | ||
<xs:minLength value="1"/> | ||
</xs:restriction> | ||
</xs:simpleType> | ||
<xs:simpleType name="appBackendUrlType"> | ||
<xs:restriction base="xs:string"> | ||
<xs:minLength value="1"/> | ||
</xs:restriction> | ||
</xs:simpleType> | ||
<xs:simpleType name="backendPasswordType"> | ||
<xs:restriction base="xs:string"> | ||
<xs:minLength value="1"/> | ||
</xs:restriction> | ||
</xs:simpleType> | ||
<xs:simpleType name="notEmptyType"> | ||
<xs:restriction base="xs:string"> | ||
<xs:minLength value="1"/> | ||
</xs:restriction> | ||
</xs:simpleType> | ||
<xs:simpleType name="isolationModeType"> | ||
<xs:restriction base="xs:string"> | ||
<xs:pattern value="none|before|after|both"/> | ||
</xs:restriction> | ||
</xs:simpleType> | ||
<xs:simpleType name="serverTypeType"> | ||
<xs:restriction base="xs:string"> | ||
<xs:pattern value="default"/> | ||
</xs:restriction> | ||
</xs:simpleType> | ||
<xs:simpleType name="portType"> | ||
<xs:restriction base="xs:int"/> | ||
</xs:simpleType> | ||
<xs:simpleType name="timeoutType"> | ||
<xs:restriction base="xs:int"> | ||
</xs:restriction> | ||
</xs:simpleType> | ||
<xs:complexType name="serverItemType"> | ||
<xs:choice> | ||
<xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded" /> | ||
</xs:choice> | ||
<xs:attribute name="type" type="serverTypeType" use="optional"/> | ||
<xs:attribute name="name" type="xs:string" use="required"/> | ||
<xs:attribute name="browser" type="notEmptyType"/> | ||
<xs:attribute name="browserName" type="notEmptyType"/> | ||
<xs:attribute name="host" type="notEmptyType"/> | ||
<xs:attribute name="port" type="portType"/> | ||
<xs:attribute name="seleniumServerRequestsTimeout" type="timeoutType" use="optional"/> | ||
<xs:attribute name="sessionStrategy" type="notEmptyType" use="optional"/> | ||
</xs:complexType> | ||
<xs:simpleType name="enableDisableType"> | ||
<xs:restriction base="xs:string"> | ||
<xs:pattern value="false|true"/> | ||
</xs:restriction> | ||
</xs:simpleType> | ||
<xs:complexType name="specificModuleType"> | ||
<xs:sequence> | ||
<xs:choice> | ||
<xs:element name="module" type="notEmptyType" maxOccurs="unbounded"/> | ||
</xs:choice> | ||
</xs:sequence> | ||
<xs:attribute name="enabled" type="enableDisableType"/> | ||
</xs:complexType> | ||
</xs:schema> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
/** | ||
* Copyright © 2015 Magento. All rights reserved. | ||
* See COPYING.txt for license details. | ||
*/ | ||
--> | ||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> | ||
<xs:element name="config"> | ||
<xs:annotation> | ||
<xs:documentation> | ||
The root element for configuration data. | ||
</xs:documentation> | ||
</xs:annotation> | ||
<xs:complexType> | ||
<xs:sequence> | ||
<xs:element ref="testCase" maxOccurs="unbounded" minOccurs="1"> | ||
<xs:annotation> | ||
<xs:documentation> | ||
An element that contains configuration data of a test case. | ||
</xs:documentation> | ||
</xs:annotation> | ||
</xs:element> | ||
</xs:sequence> | ||
</xs:complexType> | ||
</xs:element> | ||
|
||
<xs:element name="testCase"> | ||
<xs:complexType> | ||
<xs:sequence> | ||
<xs:element ref="variation" maxOccurs="unbounded" minOccurs="1"> | ||
<xs:annotation> | ||
<xs:documentation> | ||
An element that contains configuration data of a test case variation. | ||
</xs:documentation> | ||
</xs:annotation> | ||
</xs:element> | ||
</xs:sequence> | ||
<xs:attribute type="xs:string" name="name" use="required"/> | ||
</xs:complexType> | ||
</xs:element> | ||
|
||
<xs:element name="variation"> | ||
<xs:complexType> | ||
<xs:sequence> | ||
<xs:element ref="data" maxOccurs="unbounded" minOccurs="1"> | ||
<xs:annotation> | ||
<xs:documentation> | ||
An element that contains a single configuration data set of a test case variation. | ||
</xs:documentation> | ||
</xs:annotation> | ||
</xs:element> | ||
</xs:sequence> | ||
<xs:attribute type="xs:string" name="name" use="required"/> | ||
</xs:complexType> | ||
</xs:element> | ||
|
||
<xs:element name="data"> | ||
<xs:complexType> | ||
<xs:simpleContent> | ||
<xs:extension base="xs:string"> | ||
<xs:attribute type="xs:string" name="name" use="required"/> | ||
</xs:extension> | ||
</xs:simpleContent> | ||
</xs:complexType> | ||
</xs:element> | ||
</xs:schema> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.