-
-
Notifications
You must be signed in to change notification settings - Fork 753
Closed
Labels
Description
I want to verify the Text and browse the screen
1) Test the Settings Options
Verify the Settings options @sanity:
Can't start within block inside another within block
Provide console output if related. Use
--verbosemode for more details.
- Test the Settings Options
Verify the Settings options @sanity:
Can't start within block inside another within block
# paste output hereProvide test source code if related
Scenario('Verify the Settings options @sanity', (I,settings) => {
I.navigateTo('settings');
settings.verify_the_Settings_options();
});
verify_the_Settings_options: function() {
within({frame: "#SETTINGS"}, () => {
for(let i =0; i<settings_submenu.length; i++)
{
console.log(settings_submenu[i])
//I.see(settings_submenu[i])
I.seeTextEquals(settings_submenu[i],'//*[@id="settingsMenu"]/li[i+1]/p');
// I.seeElement('//*[@id="settingsMenu"]/li[i+1]/img[i+1]')
I.pressKey(key.DOWN)
}
});
},With I. See test is executing normal . and pass
When I use I.seeText Equal in that case failing and saying can't use blaock inside a block
Details
- CodeceptJS version:
- NodeJS Version:
- Operating System:
- Protractor || WebDriverIO || Nightmare version (if related)
- Configuration file:
# paste suite config here