prep e2e-utils package for publish
This commit is contained in:
parent
2bcdbacc98
commit
238fe43a61
|
@ -1,16 +1,26 @@
|
|||
{
|
||||
"name": "@woocommerce/e2e-utils",
|
||||
"version": "0.1.0",
|
||||
"description": "End-To-End (E2E) test utils for WooCommerce",
|
||||
"homepage": "https://github.com/woocommerce/woocommerce/tree/master/tests/e2e-utils/README.md",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/woocommerce/woocommerce.git"
|
||||
},
|
||||
"license": "GPL-3.0+",
|
||||
"main": "build/index.js",
|
||||
"module": "build-module/index.js",
|
||||
"dependencies": {
|
||||
"@wordpress/e2e-test-utils": "4.6.0"
|
||||
}
|
||||
"name": "@woocommerce/e2e-utils",
|
||||
"version": "0.1.0",
|
||||
"description": "End-To-End (E2E) test utils for WooCommerce",
|
||||
"homepage": "https://github.com/woocommerce/woocommerce/tree/master/tests/e2e-utils/README.md",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/woocommerce/woocommerce.git"
|
||||
},
|
||||
"license": "GPL-3.0+",
|
||||
"main": "build/index.js",
|
||||
"module": "build-module/index.js",
|
||||
"dependencies": {
|
||||
"@wordpress/e2e-test-utils": "4.6.0",
|
||||
"@woocommerce/model-factories": "file:../factories"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"scripts": {
|
||||
"clean": "rm -rf ./build ./build-module",
|
||||
"compile": "node ./../bin/build.js",
|
||||
"build": "npm run clean && npm run compile",
|
||||
"prepare": "npm run build"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
* Internal dependencies
|
||||
*/
|
||||
import { StoreOwnerFlow } from './flows';
|
||||
import modelRegistry from '../../utils/factories';
|
||||
import modelRegistry from './factories';
|
||||
import { SimpleProduct } from '@woocommerce/model-factories';
|
||||
import { clickTab, uiUnblocked, verifyCheckboxIsUnset } from './page-utils';
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ import {
|
|||
AdapterTypes,
|
||||
initializeUsingBasicAuth,
|
||||
ModelRegistry,
|
||||
registerSimpleProduct
|
||||
registerSimpleProduct,
|
||||
} from '@woocommerce/model-factories';
|
||||
|
||||
const config = require( 'config' );
|
|
@ -1,4 +1,4 @@
|
|||
import { CustomerFlow, StoreOwnerFlow } from './src/flows';
|
||||
import { CustomerFlow, StoreOwnerFlow } from './flows';
|
||||
|
||||
import {
|
||||
completeOnboardingWizard,
|
||||
|
@ -6,7 +6,7 @@ import {
|
|||
createSimpleProduct,
|
||||
createVariableProduct,
|
||||
verifyAndPublish,
|
||||
} from './src/components';
|
||||
} from './components';
|
||||
|
||||
import {
|
||||
clearAndFillInput,
|
||||
|
@ -20,7 +20,7 @@ import {
|
|||
verifyCheckboxIsSet,
|
||||
verifyCheckboxIsUnset,
|
||||
verifyValueOfInputField,
|
||||
} from './src/page-utils';
|
||||
} from './page-utils';
|
||||
|
||||
module.exports = {
|
||||
CustomerFlow,
|
Loading…
Reference in New Issue