ents24 / testcafe-browser-provider-fbsimctl Goto Github PK
View Code? Open in Web Editor NEWTestcafe browser provider for the iOS Simulator using Facebook's fbsimctl
License: MIT License
Testcafe browser provider for the iOS Simulator using Facebook's fbsimctl
License: MIT License
When running testcafe -b fbsimctl
I expect to see a list of all available devices and platforms. Instead only "fbsimctl"
is printed.
The getBrowserList()
method is implemented, and returns an Array of strings, which is what the SauceLabs plugin does. (https://github.com/DevExpress/testcafe-browser-provider-saucelabs/blob/master/src/index.js#L359)
Found it when tried to use fbsimctl:iPhone 4s:iOS 8.1
. testcafe
hangs for some time, then aborts execution with the Unable to start the browser. ... Command failed: fbsimctl {UUID} boot
error . The reason is here: facebook/idb#368
https://github.com/facebook/idb/blob/master/website/docs/faqs.mdx#where-did-fbsimctl-go
Since it was removed all the links in the readme are dead. They can still be found at https://github.com/facebook/idb/blob/v1.1.0/fbsimctl/Documentation/Installation.md.
Is there any plan on upgrading and removing the fbsimctl requirement?
Still really new so I apologize for a potentially dumb question -- are there additional steps to install and configure this addon? I got the following error and am not sure where to go with it:
ERROR TypeError: Cannot read property 'name' of undefined
at ../node_modules/testcafe-browser-provider-fbsimctl/lib/index.js:279:107
at Array.filter (native)
at BrowserProviderPluginHost._getDeviceFromDetails (../node_modules/testcafe-browser-provider-fbsimctl/lib/index.js:278:42)
at BrowserProviderPluginHost._callee5$ (../node_modules/testcafe-browser-provider-fbsimctl/lib/index.js:158:70)
at tryCatch (../node_modules/regenerator-runtime/runtime.js:65:40)
at Generator.invoke [as _invoke] (../node_modules/regenerator-runtime/runtime.js:303:22)
at Generator.prototype.(anonymous function) [as next] (../node_modules/regenerator-runtime/runtime.js:117:21)
at step (../node_modules/babel-runtime/helpers/asyncToGenerator.js:17:30)
at ../node_modules/babel-runtime/helpers/asyncToGenerator.js:35:14
at Promise (<anonymous>)
Hi,
first of all thank you very much for your tool, it is very useful for our needs!
Currently, I am facing a bug, maybe you have experienced this as well. When I run my tests for the first time on a simulated device, everything is working fine. If I choose to run them again, Xcode opens the correct simulator, but it does not open up safari or the testcafe url. Obviously, the loop is not working as it should and I get a timeout after a while. But if I set up the device new, it is working again but only for the first time..
I am using Xcode 9.1 and iOS 11.1, but this error occurs in earlier iOS versions as well.
Can you please give me a hint on how to solve this?
Thank you!
Hi, thanks for the cool provider.
I've found that you call this._log
method of the provider if iOS version
is not set, but this function is not defined: https://github.com/Ents24/testcafe-browser-provider-fbsimctl/blob/master/src/index.js#L95
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.