Hot answers tagged

2 votes
Accepted

In a BDD test, should Given set a state and verify it?

When it comes to BDD tests, the "Given" step should be focused on setting up the initial state of the system under test, rather than verifying any particular behavior. Therefore, option 2 is ...
IAmMilinPatel's user avatar
1 vote

Can't walk dependency graph: Cannot find module '../../support/pageObjects/TeamPage

To resolve this issue, you can try the following steps: 1 Verify the file path: Double-check that the file path '../../support/pageObjects/TeamPage' is correct and matches the actual location of the ...
IAmMilinPatel's user avatar
1 vote

How can I store a value as global variable from an API response and pass it to another API as parameter in Cucumber feature file using REST assured

To set access_token as a global variable in Cucumber feature file using REST assured, you can follow these steps: 1 Create a class to store global variables: Create a new class to store global ...
IAmMilinPatel's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible