Here's the website, I'm trying to test: https://opencart.abstracta.us/index.php?route=account/register
There are 2 drop-downs - Country and Region / State, they depend on one another. Ex. Choose United States and in Region/State dropdown you will see US states and so on.
Example of my Code:
const countryDropdown = $(this.demoHomeElement.countryDropdown)
countryDropdown.selectByAttribute('value', '223');
//countryDropdown.selectByVisibleText('United States')
browser.pause(3000);
countryDropdown.selectByAttribute('value', '223');
const zoneDropdown = $(this.demoHomeElement.zoneDropdown)
//zoneDropdown.selectByAttribute('value', '3630');
zoneDropdown.selectByVisibleText('Florida')
browser.pause(3000)
The problem is when I execute the script - it selects the correct option, but the content in the next dropdown not getting updated (Displays the default stuff, instead of stuff for my selection).
Could somebody please help me with that?
Example:
Country dropdown - select "United States" Region/State dropdown - displays states for UK.
Thanks in advance!
