1.0.4 • Published 2 years ago

cherry-driver-next v1.0.4

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

cherry-next

Table of Contents

Background

hi, Want to start UI automation? Do you find it difficult? You'd better start here!

Describe your work in simple logic, and leave the rest to me

Install

recommend to use yarn. so easy.

yarn add cherry-next

Usage

cherry main.js # default use cherry-drier
cherry -b   # get local browsers
->  usable browsers: [ 'chrome', 'ie', 'firefox', 'edge', 'edge-legacy' ]
cherry chrome  main.js // use other browser

主流程

采用cli 脚本维度进行执行。这样可以以多进程维度同时执行多个测试。 初始启动浏览器,进入待执行界面。 等待脚本文件执行, page.to 起始挂载 运行的首个测试地址。整个脚本内容为单个case/flow 同样采用合并脚本的形式执行串联任务。 运行时需提供当前执行状态,是以并合执行还是普通单文件。以使用户单文件情况下也可正常调试。 日志逻辑相同。

起始命令用 page.create 新窗口不影响老的用例,但依旧可以继承老数据。

跨平台的系统通知

node-notifier https://github.com/mikaelbr/node-notifier

@babel/core@babel/plugin-proposal-async-generator-functions@babel/plugin-proposal-class-properties@babel/plugin-proposal-decorators@babel/plugin-proposal-object-rest-spread@babel/plugin-proposal-private-methods@babel/plugin-syntax-dynamic-import@babel/plugin-transform-async-to-generator@babel/plugin-transform-exponentiation-operator@babel/plugin-transform-for-of@babel/plugin-transform-runtime@babel/preset-env@babel/preset-flow@babel/preset-react@babel/runtime@rollup/plugin-alias@rollup/plugin-commonjs@rollup/plugin-inject@rollup/plugin-node-resolve@types/async-exit-hook@types/babel__core@types/callsite@types/chai@types/chalk@types/coffeescript@types/debug@types/dedent@types/diff@types/graceful-fs@types/is-glob@types/lodash@types/mime-db@types/mustache@types/nanoid@types/parse5@types/pngjs@types/semver@types/source-map-support@types/strip-bom@types/tmpasync-exit-hookbabel-plugin-module-resolverbabel-plugin-syntax-trailing-function-commasbowsercallsitecallsite-recordchaichalkchrome-remote-interfacecoffeescriptcommanderdebugdedentdevice-specsdevtools-protocoldiffemitteryendpoint-utilseslint-plugin-hammerheadgraceful-fsgulp-clonegulp-datagulp-ll-nextgulp-mustachegulp-renamegulp-stepgulp-uglifyhammerheadhumanize-durationimport-lazyis-ciis-dockerlodashmake-dirmerge-streammime-dbmomentmoment-duration-format-commonjsnanoidparse5pngjspromisify-eventqrcode-terminalread-file-relativereplicatorresolve-cwdrollup-plugin-typescript2sanitize-filenamesemversource-map-supportstrip-bomtestcafetestcafe-browser-toolstestcafe-hammerheadtestcafe-legacy-apitime-limit-promisetmptree-killunquote
1.0.4

2 years ago

1.0.3

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago