236 questions
0
votes
1
answer
59
views
How to access params of example/template data table (cucumber)?
We use codeceptjs with cucumber for api tests. In the test steps we decided to use a docstring to hand over variables instead of a data tables.
Now the creation of a Scenario Outline (cucumber style) ...
1
vote
0
answers
189
views
How do I run CodeceptJS tests with the config file in a different directory from the root directory
I have a CodeceptJS project whose directory structure looks like this:
root
|
├──node_modules
│
├──packages
| |
│ ├──package1
│ │ ├──node_modules
| | ├──ui_tests
| | | ├──codecept.conf....
0
votes
1
answer
60
views
Drag and Drop method not performing any actions, simply that was executing not doing any actions
I'm just using I.dragAndDrop() method, it's not performing any actions. Simply it was passing without doing any actions
just small drag and drop function I'm trying to do, it was not throwing any ...
0
votes
0
answers
237
views
Execute an async function before scenario triggers on codeceptjs
I am wanting to run a async function which will fetch the data for testing. This data is then passed to Data() hook in codeceptjs.
I have tried hooks and event listeners like "Before(), ...
0
votes
1
answer
410
views
How to go to Device home or runInBackground on IOS platform using Codeceptjs
I am using Codeceptjs framework with Appium helper for my UI automation. I want to go to Device home on IOS platform and then navigate back to App. I am using browserstack to run my scripts. I have ...
2
votes
1
answer
888
views
Why is my intellisense not working in VS Code for CodeceptJS using playwright?
I am trying to create a practice environment for CodeceptJS using TS and Playwright, but for some reason VSCodes intellisense refuses to show any suggestions. I can manually type the code and that is ...
1
vote
1
answer
239
views
How to set up CodeceptJS in a monorepo
I am using a pnpm workspace with different packages to distinguish the modules. I intend to use CodeceptJS as my test automation framework but whenever I install and initialize CodeceptJS in the root ...
0
votes
1
answer
315
views
Codeceptjs - BDD approach - Before all scenarios are run
I have codeceptjs tests written in BDD format (Scenarios with tags).
I have clubbed tests into few groups (based on tags) and run them in parallel in Travis
I would like to run a set of browser ...
1
vote
1
answer
422
views
How to exit the process after all tests are run
I have the same problem https://github.com/codeceptjs/CodeceptJS/issues/2573 , but it's answer with mocha: {
bail: true
}, doesn't work for me.
Codeceptjs runs all tests and printing an end result ...
1
vote
0
answers
130
views
How do i get text from shadow root when e2e testing with codecept-puppeteer?
This is my HTML Structure
I want to make sure that the title is 'Favorite Restaurant', How do i test this using codecept-puppeteer ?
I already tried this, but it doesn't work
Feature('Favorite ...
0
votes
1
answer
430
views
Nothing happens when using I.attachFile to upload a document
Is a drag-and-drop field required for the I.attachFile('element', 'filePath') to work? Because currently nothing happens when I try using the attachFile method. No error message or any issues ...
0
votes
1
answer
709
views
Intellisense not working for Playwright, REST
I write autotests on the Codeceptjs framework in TypeScript. After adding additional modules to the project, as well as after updating the repository with the command:
npx codeceptjs def
Intellisense ...
0
votes
2
answers
363
views
Click on first element contained in a div
I have a div that contains a set of dynamic elements. I want to click on the first search result.
I want to click on the first element contains in
I tried using creating a custom xPath like so but ...
1
vote
0
answers
365
views
Unable to run CodeceptJS/Playwright test in a dockerized container - err: qemu: uncaught target signal 5 (Trace/breakpoint trap) - core dumped
I have a CodeceptJS/Playwright test framework which we want execute to in a Dockerized container. We have tried to implement the same using various base images but when execution starts we get
Here ...
1
vote
4
answers
2k
views
I need to use Appium 2 for CodeceptJS mobile tests
Because latest iOS is making problems with Appium 1.x, Appium team is no longer supporting it,
and Appium 2 is working ok - I need to use v2...
CodeceptJS 3.3.x is using Appium 1.x now and because of ...