test: fix e2e
This commit is contained in:
parent
5515f55bf6
commit
65100fcf25
|
@ -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}`,
|
||||||
|
|
Loading…
Reference in New Issue