Questions about the Serenity/JS acceptance testing library, as well as the JavaScript and TypeScript implementation of the Screenplay Pattern.
Questions tagged [serenity-js]
73 questions
0
votes
1 answer
SerenityJs with webdriverio support instead of Protractor
Is it possible to use Serenityjs as plugin for webdriverio or wd.js instead of protractor?
If yes - Can someone provide any example/sample code?
If no - Is there any plan to roll out this feature?
We already have test framework in webdriverio so…

user8287674
- 1
- 1
0
votes
1 answer
Serenity-JS: ReferenceError: beforeAll is not defined
I'm trying to run my existing Protractor script using Serenity-JS.
In order to do so, I followed the internet's instructions and added the following to my config after installing Serenity-JS ('npm install -g serenity-js', plus the required 'npm…

cin
- 63
- 2
- 11
0
votes
1 answer
To add gradle Task for Serenity-JS for typescript
How to add a gradle task in build.gradle for serenity-js project?
Please pointers to reference where we can get the sample implementation.

Pringa
- 91
- 2
- 6
0
votes
1 answer
How to configure appium with serenity/js?
can we setup Appium with serenity/JS to supports running tests on mobile devices for hybrid applications?

Mani
- 9
- 4
0
votes
1 answer
can serenity js used as a testing tool for Knockout js?
I want to know whether the serenity/js can be used for other JavaScript frameworks or it just only for Angular/js?

Mani
- 9
- 4
0
votes
1 answer
serenity-js- How to debug code in the project
Is there any particular settings that has to be done in intellij or Visual studio code that has to be made to debug serenity-js projects

divya
- 1
- 1
0
votes
1 answer
How do i run my serenityJS tests in parallel?
I want to run my tests in parallel so it could save time, i did find an option in serenity where we can run the tests in batch but not parallel, also cucumber-parallel seems to be promising,
the below link is for maven project,
Running Serenity…
0
votes
1 answer
serenity-js- How to use before and after hooks
How to use before and after hooks in serenity-js, without using Mocha? Any sample code available in the cook book?

divya
- 1
- 1
0
votes
0 answers
Serentiy Report with protracor and cucumber
I have protractor cucumber example works fine, now I'm trying to create report by serenity.js
protractor.conf.js file
exports.config = {
getPageTimeout: 600000,
allScriptsTimeout: 700000,
framework: 'custom',
frameworkPath:…

Ali-Alrabi
- 1,515
- 6
- 27
- 60
0
votes
1 answer
Mocha with serenity-js
As per the conversation https://medium.com/p/b06559b35459/info,
When I tried to
import `{describe, it} from '@types/mocha'
I see
Error:-
/node_modules/@types/mocha/index.d.ts' is not a module
As per the example in serenity-js project :-…

divya
- 1
- 1
0
votes
1 answer
chai-smoothie: to.eventually.be.displayed on a function doesn't work?
First-off, thanks for the chai-smoothie!
I've been trying to polish some of the test code and use chai-smoothie more, but I have ran into some trouble:
This is what it looked like before:
return expect(Promise.all([
…
0
votes
1 answer
increase timeout when running against remote grid
when running a test locally it succeeds, but when configuring a remote grid, it fails with
1) Scenario: Login - features/api.feature:10
Step: When he enters his credentials - features/api.feature:13
Step Definition:…
0
votes
1 answer
Serenity/JS - Any Code changes made unable to run
I am newbie to JS and typescript.
Was able to to run the sample project shared in Git Hub, but if any changes made, there are errors.
For Example : Any import statement added or any browser related actions under step_definitions.
Can you please…

divya
- 1
- 1