? And I click on "Create campaign button" on "Dashboard page"
Undefined. Implement with the following snippet:
Given('I click on {string} on {string}', async function (string, string2) {
// Write code here that turns the phrase above into concrete actions
return 'pending';
});
Feature: Campaign creation
Scenario: [TC] Advertiser should be able to create campaign
Given I am authenticated as "Advertiser"
Then I am on "Dashboard page"
And I click on "Create campaign button" on "Dashboard page"
commonActions.ts:
When('I click on {toCamelCase} on {string}', function (element: string, page: string) {
//some code
});
π What did you see?
β What did you expect to see?
I expected the step to be executed
π¦ Which tool/library version are you using?
π¬ How could we reproduce it?
campaignCreate.feature:
commonActions.ts:
defineParameterTypes.ts:
Screenshots:![image](https://github.com/cucumber/cucumber-js/assets/62233209/ed38e569-041c-4525-9821-5dcc2e9f628c)
π Any additional context?
This text was originally generated from a template, then edited by hand. You can modify the template here.