nuxt-contrib / tib Goto Github PK
View Code? Open in Web Editor NEWEasy e2e browser testing in Node
Easy e2e browser testing in Node
Document for staticServer option states this:
folder
(string, optional)
The path used as the webroot for the webserver. If not provided the defaultfolder
browser config option is used
So I would assume that if config.folder
is provided and staticServer
is set to object like { port: 3333 }
then it will use folder
from root config. But it's not the case. It seems it's only using folder from root config if staticServer
is set to true
:
These escapes are invalid:
https://github.com/nuxt/tib/blob/e10c1827688d2888bb753bce60a538bf607366a0/src/utils/detectors/chrome.js#L49
as in, will prevent finding chrome's path.
"Same" code in nuxt.js doesn't have those and works.
We now have warning using tib
:
waitFor is deprecated and will be removed in a future release. See https://github.com/puppeteer/puppeteer/issues/6214 for details and how to migrate your code.
Learn more on puppeteer/puppeteer#6214
I think detection is broken again:
The original command that detects Chrome:
doesn't return anything anymore in Catalina.
I've removed the end of line
match character ($
) and then I got those results:
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -dump | grep -E -i '(google chrome( canary)?|chromium).app'
path: /Applications/Google Chrome.app/Contents/Frameworks/Google Chrome Framework.framework/Versions/77.0.3865.90/Helpers/Google Chrome Helper (GPU).app (0xa8c)
path: /Applications/Google Chrome.app (0xc54)
path: /Applications/Google Chrome.app/Contents/Frameworks/Google Chrome Framework.framework/Versions/77.0.3865.120/Helpers/Google Chrome Helper (GPU).app (0xc94)
path: /Applications/Google Chrome Canary.app (0xce8)
path: /Applications/Google Chrome Canary.app/Contents/Frameworks/Google Chrome Framework.framework/Versions/79.0.3942.0/Helpers/Google Chrome Helper (GPU).app (0xd04)
Used this command in terminal:
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -dump | grep -E -i '(google chrome( canary)?|chromium)\.app\b'
So I think now the difference is the lines don't end with *.app
but are followed by some code value (0xd04
etc).
Here is what could be done to fix this in non-backward compatible way (obviously not acceptable, but to give an idea).
' | grep -E -i \'(google chrome( canary)?|chromium)\\.app\\b\'' +
' | awk \'{$1=""; $NF=""; print $0}\''
$
with \b
(word boundary) maybe.$NF
(last component of the whole line splitted on space)This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These problems occurred while renovating this repository. View logs.
These updates are currently rate-limited. Click on a checkbox below to force their creation now.
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
@babel/core
, @babel/node
, @babel/parser
, @babel/preset-env
, babel-loader
, browserstack-local
, chromedriver
, codecov
, eslint
, eslint-config-standard
, eslint-plugin-import
, eslint-plugin-jest
, eslint-plugin-promise
, eslint-plugin-vue
, finalhandler
, geckodriver
, glob
, jsdom
, rollup
, selenium-webdriver
, serve-static
, signal-exit
, vue-template-compiler
, webpack
, yarn
)babel-jest
, jest
).circleci/config.yml
package.json
@babel/core ^7.12.10
@babel/parser ^7.12.10
babel-loader ^8.2.2
glob ^7.1.6
hable ^3.0.0
signal-exit ^3.0.3
tree-kill ^1.2.2
vue-template-compiler ^2.6.12
webpack ^5.10.1
@babel/node ^7.12.10
@babel/plugin-syntax-dynamic-import ^7.8.3
@babel/preset-env ^7.12.10
add ^2.0.6
babel-core ^6.26.3
babel-eslint ^10.1.0
babel-jest ^26.6.3
babel-plugin-dynamic-import-node ^2.3.3
browserstack-local ^1.4.8
chromedriver ^87.0.2
codecov ^3.8.1
eslint ^7.15.0
eslint-config-standard ^16.0.2
eslint-plugin-es ^4.1.0
eslint-plugin-import ^2.22.1
eslint-plugin-jest ^24.1.3
eslint-plugin-node ^11.1.0
eslint-plugin-promise ^4.2.1
eslint-plugin-standard ^5.0.0
eslint-plugin-vue ^7.2.0
finalhandler ^1.1.2
geckodriver ^1.21.1
jest ^26.6.3
jsdom ^16.4.0
lodash.defaultsdeep ^4.6.1
node-env-file ^0.1.8
puppeteer ^5.5.0
puppeteer-core ^5.5.0
rimraf ^3.0.2
rollup ^2.34.2
rollup-plugin-commonjs ^10.1.0
rollup-plugin-json ^4.0.0
rollup-plugin-node-resolve ^5.2.0
selenium-webdriver ^4.0.0-alpha.8
serve-static ^1.14.1
standard-version ^9.0.0
yarn ^1.22.10
browserstack-local ^1.4.8
chromedriver ^87.0.2
geckodriver ^1.21.1
jsdom ^16.4.0
puppeteer ^5.5.0
puppeteer-core ^5.5.0
selenium-webdriver ^4.0.0-alpha.8
serve-static ^1.14.1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.