Cypress Open UI not visible - testing

When I run the command npx cypress open
The cypress window is launched but the UI is not visible for some reason
I've tried npm install cypress#latest --save-dev, but it's still not working
Cypress Version:
Cypress package version: 10.3.1
Cypress binary version: 10.3.1
Electron version: 18.3.0
Bundled Node version:
16.13.2
Node Version:
v16.14.0

Hover over the cypress icon on your task bar and you'll see the mini-window of cypress UI. Right click on that mini-window and click "maximize"

Related

Unable to build app for production using Vue-tour library

We are not able to build the app into production. While we run npm run build we get an error, "expected and declaration or statement expected in a jsx file".
Steps to Reproduce:
Install v-tour and setup all tours for testing in local.
run npm run build
check the console for error
Expected behavior:
The app has to properly be built for production without any errors
Desktop (please complete the following information):
OS: Windows 11
Browser : Chrome
Version : 105.0.5195.127
Vue : #vue/cli 4.4.6
Node : 14.19.0
ScreenShots:
I've added an issue in v-tour's github repo

vue ui showing Error: NO_MODULES when creating a project (windows)

I could see the GUI on the browser when I run vue ui command, and then when creating a project, I selected the npm as the Package Manager from the dropdown list and on the Preset section I chose the default (babel, eslint), but when I click on Create Project button I get NO_MODULES error. I then checked the terminal to see this error below
$ vue ui
🚀 Starting GUI...
🌠 Ready on http://localhost:8000
Error: NO_MODULES
at importProject (C:\Users\xxxx\AppData\Roaming\npm\node_modules#vue\cli\node_modules#vue\cli-ui\apollo-server\connectors\projects.js:363:11)
at progress.wrap (C:\Users\xxxx\AppData\Roaming\npm\node_modules#vue\cli\node_modules#vue\cli-ui\apollo-server\connectors\projects.js:355:12)
at process._tickCallback (internal/process/next_tick.js:68:7)
$ node --version
v10.16.2
$ vue --version
#vue/cli 4.1.2
Please advise what should be done.
Check your NODE_ENV
echo $NODE_ENV
NODE_ENV=development

wrapItem(...).trimStart in Expo and React native

Today I create a new project with create-react-native-app and after installing dependencies CRNA says to start your project with expo start, after running this command all thing seems good and a chrome open page localhost:19002 but after a minute this page is stoped and in the console it says :
[12:26:47] Starting project at D:\Try\eleventh
[12:27:13] Warning: Problem validating app.json: Unable to perform cache
refresh for C:\Users\Mohammad\AppData\Local\Expo\schema-30.0.0.json:
Error: connect ETIMEDOUT 35.202.142.166:443.
[12:27:39] Starting Metro Bundler on port 19001.
[12:27:39] Metro Bundler ready.
[12:27:40] Opening on Android device
[12:27:40] Successfully ran `adb reverse`. Localhost URLs should work on
the connected Android device.
[12:27:44] Tunnel ready.
[12:27:44] Expo DevTools is running at http://localhost:19002
[12:27:44] Opening DevTools in the browser... (press shift-d to disable)
exp://192.168.89.2:19000
To run the app with live reloading, choose one of:
[12:27:44] wrapItem(...).trimStart is not a function
[12:27:44] Set EXPO_DEBUG=true in your env to view the stack trace.
as you see it says :
wrapItem(...).trimStart is not a function
and this is some information may be useful :
create-react-native-app version: 2.0.2
node version: v8.11.3
expo version: 2.2.0
npm version: 6.4.0
yarn version:1.10.1
Try using a later version of node. I ran into this issue as well using node version 8. Bumping it with nvm to node 12 worked.

What is the right setting for the Appium directory in Katalon Studio on a Mac?

Katalon Studio shows an error when starting the Mobile Recorder with having set the Appium directory to /Applications/Appium.app or /Applications/Appium.app/Contents/MacOS.
Unable to start application on this device: : Appium directory is
invalid: Cannot find Appium executable file.
How do you fix this on a Mac?
You need to install Appium from the command line instead of downloading the Mac app.
npm install -g appium
After that, set the Appium Directory in Katalon Studio to
/usr/local/lib/node_modules/appium
Installing Appium from the command line via brew:
brew install appium
Then set in Katalon > Preferences > Mobile > Appium Directory:
/usr/local/Cellar/appium/1.21.0/libexec/lib/node_modules/appium
or something similar depended on version

JHipster and Karma: Error when i launch npm run test:watch

I try to create my unit tests in my project with Jhipster 4.3 with Angular2.
But when i launch:
npm run test:watch
I have an error when i open http://localhost:9876/# and i can't debug my test:
Chrome 57.0.2987 (Windows 10 0.0.0) ERROR
You need to include some adapter that implements __karma__.start method!
I Have two questions:
Is it normal if i have this error with Jhipster default configuration?
How can I debug my test with Karma and the preprocessors with breackpoint in the chrome dev toolbar?
.
preprocessors: {'spec/entry.ts': ['webpack', 'sourcemap']}
Alternative solution **UPDATE:**
Actually, i launch the #angular-cli alternative:
ng test
But i can't correctly debug my test with breackpoint.
Thanks for your help!