test: fix e2e

This commit is contained in:
Javier Segarra 2024-11-19 13:45:44 +01:00
parent 5515f55bf6
commit 65100fcf25
1 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ describe('VnLocation', () => {
cy.domContentLoad(); cy.domContentLoad();
cy.get(createLocationButton).click(); cy.get(createLocationButton).click();
}); });
it.only('shoul d filter provinces based on selected country', () => { it('should filter provinces based on selected country', () => {
// Select a country // Select a country
cy.selectOption( cy.selectOption(
`${createForm.prefix} > :nth-child(5) > .q-field:nth-child(3)> ${createForm.sufix}`, `${createForm.prefix} > :nth-child(5) > .q-field:nth-child(3)> ${createForm.sufix}`,
@ -32,7 +32,7 @@ describe('VnLocation', () => {
).should('have.length', 1); ).should('have.length', 1);
}); });
it.only('should filter towns based on selected province', () => { it('should filter towns based on selected province', () => {
// Select a country // Select a country
cy.selectOption( cy.selectOption(
`${createForm.prefix} > :nth-child(5) > .q-field:nth-child(3)> ${createForm.sufix}`, `${createForm.prefix} > :nth-child(5) > .q-field:nth-child(3)> ${createForm.sufix}`,