Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Nov 25 12:29
    jan-molak pinned #232
  • Nov 25 12:29
    jan-molak commented #232
  • Nov 25 12:27
    jan-molak commented #232
  • Nov 25 12:26
    jan-molak commented #232
  • Nov 25 12:19
    protractor-cucumber-framework-publisher labeled #233
  • Nov 25 12:19
    protractor-cucumber-framework-publisher commented #233
  • Nov 25 12:18

    github-actions[bot] on v8.2.8

    (compare)

  • Nov 25 12:15

    jan-molak on master

    fix(deps): updated Serenity/JS … (compare)

  • Nov 25 12:15
    jan-molak closed #233
  • Nov 25 12:11
    jan-molak opened #233
  • Nov 25 12:11

    jan-molak on 2.32.4

    fix(deps): updated Serenity/JS … (compare)

  • Nov 09 13:39
    Viktor-Bredihin opened #232
  • Nov 06 16:16
    protractor-cucumber-framework-publisher labeled #231
  • Nov 06 16:16
    protractor-cucumber-framework-publisher commented #231
  • Nov 06 16:16

    github-actions[bot] on v8.2.7

    (compare)

  • Nov 06 16:12

    jan-molak on master

    fix(deps): updated Serenity/JS … (compare)

  • Nov 06 16:12
    jan-molak closed #231
  • Nov 06 16:08
    jan-molak opened #231
  • Nov 06 16:08

    jan-molak on 2.32.3

    fix(deps): updated Serenity/JS … (compare)

  • Oct 05 00:49
    protractor-cucumber-framework-publisher labeled #230
Abhinaba Ghosh
@abhinaba-ghosh
@debosmita-29 can you share the details of your protractor configuration file?
Syan Priyajot
@syanpriyajot
@guys
What is the best way to pass multiple tags via npm from jenkins to run protractot tests
immaheshdindigala
@immaheshdindigala
@immaheshdindigala
[8672:11116:0727/164311.438:ERROR:device_event_log_impl.cc(208)] [16:43:11.438] Bluetooth: bluetooth_adapter_winrt.cc:1074 Getting Default Adapter failed.
i am getting above error while executing protractor with typescript tests, could you please help me on this
NSubram3
@NSubram3
hi guys,
I have been using protractor-cucumber-framework for my automation scripts and I'm using multiple-html-reporter. I need a way to customize the cucumber json report. I need to remove some of the data generated in the json report like hidden-true data, tags etc
Anand Dharmar
@AnandDharmar
HI All , i am using Protractor with Cucumber and is it possible to record the test execution in a video format.? If yes can you please let me know how can we do it. i found from internet that atu test recorder does for java but do we have any similar things in java script or typescript
Slava Markovski
@slavamarkovski
Hello. Can you please advise is it possible to use https://www.npmjs.com/package/eslint-plugin-cucumber and https://www.npmjs.com/package/eslint-plugin-protractor ESLint plugins if we are using TypeScript on the project?
Arunkumar G
@Arunkum515321_twitter
How to get width of the web element in Serenity js +Screenpaly pattren
shahbazkhan042
@shahbazkhan042
manognav04
@manognav04
Hello, what is the stable version of cucumber that i can install using npm?
appreciate your responses
premji456
@premji456
protractor using with cucumber, When statement is duplicate in feature file then its giving ambiguous error. Showing multiple same steps found
shravan999
@shravan999
@shravan999
Hi Team,
I am using <dependency>
<groupId>io.cucumber</groupId>
<artifactId>cucumber-testng</artifactId>
<version>6.9.1</version>
</dependency>
Now in my TestRunner class CucumberFeatureWrapper is warning as cannot be resolved to a type
can I get any help here?
Jan Molak
@jan-molak
Hey folks, protractor-cucumber-framework version 8.0.0 has replaced the old reporting engine with Serenity/JS while maintaining full backwards compatibility. Please upgrade to 8.0.0 when you have a moment and give me a shout if you spot any issues or have questions!
Vrushali Gore
@vrugore
Hi , I am trying to create reports.json file and rerun file . I am not sure why it is creating multiple files
30 replies
image.png
Jan Molak
@jan-molak

Hey folks, I've just created a new demo project showing how to use protractor-cucumber-framework to produce Serenity reports:

Thoughts and feedback welcome!

2 replies
umamaheswaripolisetti
@umamaheswaripolisetti
protractor-cucumber testcases are working fine in my local-jenkins pipeline.but the scripts are failing in remote server jenkins pipeline.can some one help me on this?any tips?
Krishna Kumar Singh
@kwishna
I am putting 'setDefaultTimeout(60000)' in 'onPrepare' function inside 'protractor.conf.js'. Still, the getting timeout after 5000ms in async/await execution. Where should I put 'setDefaultTimeout'??
Meghana Dodda
@workstudent:matrix.org
[m]
hello iam trying to get check the form validation and i need to write an expect code using classname= "ng-valid" how can i do it using protractor and chai .
Meghana Dodda
@workstudent:matrix.org
[m]
<input _ngcontent-ccs-c82="" id="businessAssets" type="number" formcontrolname="businessAssets" class="form-control col-sm-1 ng-pristine ng-valid ng-touched" ng-reflect-name="businessAssets">
this is the html for the form , ineed to write an expect condition to check whether the selected form row is valid
iam not able to get this , can someone please help me?
Krishna Kumar Singh
@kwishna
@workstudent:matrix.org We Can Use CSS Selector: input#businessAgent.ng-valid
Vrushali Gore
@vrugore
Hi - is it possible to give report - a feature file name for which it is executing?
30 replies
right now I have report.1234.json getting created
Jan Molak
@jan-molak
Hi folks, version 8.0.3 is now available on npmjs.com and ships with the latest Serenity/JS version 2.26.2
please also note that Cucumber.js 7.2.0 had a backwards-incompatible change that broke a number of reporters (see cucumber/cucumber-js#1646), so if you're using Cucumber v7, upgrade straight to 7.2.1
Jan Molak
@jan-molak
Hi all, version 8.0.4 is now available on npmjs.com and ships with the latest Serenity/JS version 2.27.0
Jan Molak
@jan-molak
Hi all, version 8.1.0 introduces support for Node 16 and ships with Serenity/JS version 2.28.1. Enjoy!
Jan Molak
@jan-molak
Hi all, I've just released version 8.1.1 with Serenity/JS 2.29.1. Run npm update to get it for your project.
Jan Molak
@jan-molak
Hi all, I've just released version 8.2.0 with Serenity/JS 2.29.3 and support for Cucumber 7.3.0. Run npm update while it's hot ;-)
Jan Molak
@jan-molak
Morning! Version 8.2.1 with Serenity/JS 2.29.5 and improved support for reporting assertion errors now on NPM. Run npm update
Jan Molak
@jan-molak
Happy Friday! I've just published version 8.2.2 with Serenity/JS 2.29.7. Make sure to run npm update to get the latest features and bug fixes
Jan Molak
@jan-molak

Hi folks, I've just published protractor-cucumber-framework version 8.2.3 with Serenity/JS 2.30.1.

I've also deprecated protractor-cucumber-framework versions 0.x, since they were published 5-6 years ago, are no longer supported, and version 8.x is backwards compatible.
Please let me know if anyone has any questions regarding how to upgrade from 0.x to 8.x.

Jan Molak
@jan-molak

Hey folks, I've just released a new version of Serenity/JS 2.31.1 and protractor-cucumber-framework 8.2.4 to improve the support for Cucumber rerun feature:

Please see the changelog, update to the latest version, and let me know if you spot anything that could be improved.

Bmoe
@bmoes-coderoom
Hi might be easy question for those of you more experienced but two questions about this framework:
1) how to use Typescript instead of Javascript and 2) is it possible to use AfterStep hooks now with TypeScript as well? If so where do I import from?
Bmoe
@bmoes-coderoom

Thanks. Also how do I run features using tags?

npm run e2e --cucumberOpts.tags="@fast"

Is not working. I am on a Windows machine.

2 replies
My e2e command in package.json is "ng e2e --no-serve"
Jan Molak
@jan-molak
Hi folks, I've just released protractor-cucumber-framework version 8.2.5 with Serenity/JS 2.32.0. Please make sure to update :-)
Shalu
@shalu0628
Hi All, I am receiving the error message " Error: function timed out, ensure the promise resolves within 10000 milliseconds
at Timeout._onTimeout (C:\LenderPortal-UI\node_modules\cucumber\lib\user_code_runner.js:81:20)
at listOnTimeout (internal/timers.js:554:17)
at processTimers (internal/timers.js:497:7)"
can someone please let me know the solution ? As the above error does not appear every time...
This is my conf.ts file contents

//import * as path from "path";
import { browser, Config } from "protractor";
import { Reporter } from "../support/reporter";
const jsonReports = process.cwd() + "/reports/json";

export const config: Config = {

seleniumAddress: "http://127.0.0.1:4444/wd/hub",

SELENIUM_PROMISE_MANAGER: true,

baseUrl: "http://x.xx.xxx.xxx/automation/v2/home",

// allScriptsTimeout : 60000,
//directConnect: true,
capabilities: {
browserName: "chrome",

    "chromeOptions": {
        binary: "C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe",

     w3c: false,
         args: [],
    extensions: [],

}

},

framework: "custom",
//framework: "mocha",
frameworkPath: require.resolve("protractor-cucumber-framework"),

specs: [
    "../../features/*.feature",
],

onPrepare: () => {
    browser.ignoreSynchronization = true;
    browser.manage().window().maximize();
    Reporter.createDirectory(jsonReports);
},

cucumberOpts: {
    compiler: "ts:ts-node/register",
    format: "json:./reports/json/cucumber_report.json",
    require: ["../../typeScript/stepdefinitions/*.js", "../../typeScript/support/*.js"],
    strict: true,
    tags: "@SmokeScenario",

},



onComplete: () => {
    Reporter.createHTMLReport();
},

};

Shalu
@shalu0628
can anyone advice on this?
Jan Molak
@jan-molak

Hi folks, I've just released protractor-cucumber-framework version 8.2.6 with Serenity/JS 2.32.2. Please make sure to update :-)

If you have any questions about Serenity/JS, please join https://gitter.im/serenity-js/Lobby

Jan Molak
@jan-molak

Hi folks, I've just released protractor-cucumber-framework version 8.2.8 with Serenity/JS 2.32.4. Please make sure to update :-)

If you have any questions about Serenity/JS, please join https://gitter.im/serenity-js/Lobby