Cypress Cucumber - cucumber

Can some let me know how to integrate cucumber in cypress 10 and above version,
Any help will be appreciated.
I am getting some loader issue in above 10 version.
In version , 9.3.1 , I am not facing issue.

Assuming you use cypress-cucumber-preprocessor, there was an issue raised Update plugin to be compatible with Cypress 10 #722 which has now been resolved.
Check your pacakge.json and make sure you are using cypress-cucumber-preprocessor version 11, if not uninstall and re-install the package.

Related

HOW TO INSTALL A NODE V>14 IN WINDOWS 8?? Please someone help me

Right now I use node version 13.14.0 but to use the new version of create-react-app v5.0.0, I need to use node version 14 or later , which is not supported in windows 8. Does anyone have a solution for this?
error in creating a react app
I'm not aware of Windows 8 not supporting version 14.
You can download whichever version of version 14 you want here:
https://nodejs.org/dist/latest-v14.x/
You can also download the LTS version from here: https://nodejs.org/en/download/

While upgrading ES to version 5.6.16 throws error plugin [repository-s3] is incompatible with version [5.6.16]; was designed for version [5.2.0]

While upgrading ES to version 5.6.16, did a system restart for the new version to take effort.
Tried to get ES version, for which it said connection refused.
Then when I manually start elastic search throws error
plugin [repository-s3] is incompatible with version [5.6.16]; was designed for version [5.2.0]
This repository plugin is used for snapshot/restore solution. To run it please upgrade plugin also to 5.6.16 version
sudo ./elasticsearch-plugin install -b file:///pathToPluginZipFile/repository-s3-5.6.16.zip
What worked for me is that I uninstalled the repository-s3
Then reinstalled it. Then I manually started the ES and it worked.

Angular generated project is failing default tests [duplicate]

After upgrading to Angular version 11, unit tests now fail on Travis CI. Locally they do succeed (even after clean install with the same node, nvm and npm versions).
The error for all unit tests is the same -
Failed: fn.bind is not a function
TypeError: fn.bind is not a function
at newTrustedFunctionForJIT (node_modules/#angular/compiler/fesm2015/compiler.js:6845:1)
at JitEvaluator.evaluateCode (node_modules/#angular/compiler/fesm2015/compiler.js:6909:1)
at JitEvaluator.evaluateStatements (node_modules/#angular/compiler/fesm2015/compiler.js:6883:1)
Based on the error message, I would assume that the issue might be related to ngcc? Anyone had similar issue?
Today I had the same problem. It involved testing with ChromeHeadless.
I had old version of Chrome Headless 83.0.4103.97 installed in docker image. After updating it to latest version 88.0.4324.96 it started to work.
Additional here is the corresponding angular github issue.
Using Chrome >= 87 should fix the issue.

OWASP security issue with jackson-databind-2.9.8 jar

I have a maven web project(RESTful, Spring Rest/data) running in Java 8(tomcat 8.5.5) and using 'jackson-databind-2.9.8.jar'. When the Dependency Check Tool(Checks vulnerable jar version and generates report) is run against the libraries the project is using, it showed 'jackson-databind-2.9.8.jar' as Vulnerable(Reference- https://nvd.nist.gov/vuln/search/results?form_type=Advanced&results_type=overview&search_type=all&cpe_vendor=cpe%3A%2F%3Afasterxml&cpe_product=cpe%3A%2F%3Afasterxml%3Ajackson-databind&cpe_version=cpe%3A%2F%3Afasterxml%3Ajackson-databind%3A2.9.8)
Problem:- Changing to 'jackson-databind-2.10.0.jar' version fixes OWASP security issue(running Dependency Check Tool) but, when project is build and run it throws error since 2.10.0 uses jdk9+ complaint classes(Reference- https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.10)
What should be done to resolve the issue, can we make the project compile in Java 8 and run in JDK11(since JDK9 is out of support) or something else should be done? Please suggest.
Thanks in advance!
CVE-2019-12086 is fixed in jackson-databind-2.9.9.jar .
See the report: https://nvd.nist.gov/vuln/detail/CVE-2019-12086
Maven repo for 2.9.9 : https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-databind/2.9.9

What pytest-allure-adaptor version is needed to run with pytest version 5.1.2 which apparently is the latest version

I have been struggling to fix this issue. I have pytest version 5.1.2 which is the latest version now. I have tried different versions of pytest-allure-adaptor like 1.4.0 so as to generate allure reports but none of the versions are compatible and I get this error:
ImportError: cannot import name 'mangle_testnames' from '_pytest.junitxml'
Can somebody guide me the correct version combination of pytest and pytest-allure-adaptor?
Allure PyTest integration was renamed to allure-pytest. https://pypi.org/project/allure-pytest/ . Source code was moved to new repository https://github.com/allure-framework/allure-python
Please consider migration to allure-pytest in order to support latest versions of PyTest

Resources