perf: use const in VnLocation
gitea/salix-front/pipeline/pr-test This commit looks good
Details
gitea/salix-front/pipeline/pr-test This commit looks good
Details
This commit is contained in:
parent
deb6467af8
commit
d6aedad38e
|
@ -19,13 +19,15 @@ describe('VnLocation', () => {
|
|||
cy.get(createLocationButton).click();
|
||||
});
|
||||
it('should filter provinces based on selected country', () => {
|
||||
cy.selectOption(countrySelector, 'Ecuador');
|
||||
const country = 'Ecuador';
|
||||
cy.selectOption(countrySelector, country);
|
||||
cy.get(countrySelector).should('have.length', 1);
|
||||
cy.get(citySelector).should('have.length', 1);
|
||||
});
|
||||
|
||||
it('should filter towns based on selected province', () => {
|
||||
cy.selectOption(countrySelector, 'Ecuador');
|
||||
const country = 'Ecuador';
|
||||
cy.selectOption(countrySelector, country);
|
||||
cy.get(provinceSelector).should('have.length', 1);
|
||||
cy.get(citySelector).should('have.length', 1);
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue