Skip to content

Commit 48e98f4

Browse files
fixing test
1 parent e94528b commit 48e98f4

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

cypress/templates/testData.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ const finalAnswer = {
344344
autocompleteAnimal: 'rabbit',
345345
autoCompleteMultipleAnimals: ['rabbit', 'duck'],
346346
combobox: [{ title: "Rabbit", value: "rabbit" }, { title: "Duck", value: "duck" }],
347-
color: '#804040',
347+
color: '#874747',
348348
// date: 'Wed May 25 1977 00:00:00 GMT-0700 (Pacific Daylight Time)',
349349
// date: new Date('05/25/1977'),
350350

src/plugin/__tests__/VStepperForm.cy.ts

+6-7
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ describe('Stepper Form', () => {
258258

259259
cy.get('@theAnimalSelect')
260260
.find('.v-field')
261-
.invoke('attr', 'aria-owns')
261+
.invoke('attr', 'aria-controls')
262262
.then((fieldId) => {
263263
cy.get('@theAnimalSelect').click();
264264

@@ -276,7 +276,7 @@ describe('Stepper Form', () => {
276276

277277
cy.get('@theSelect')
278278
.find('.v-field')
279-
.invoke('attr', 'aria-owns')
279+
.invoke('attr', 'aria-controls')
280280
.then((fieldId) => {
281281
cy.get('@theSelect').click();
282282

@@ -316,7 +316,7 @@ describe('Stepper Form', () => {
316316
.click()
317317
.trigger('blur')
318318
.find('.v-field')
319-
.invoke('attr', 'aria-owns')
319+
.invoke('attr', 'aria-controls')
320320
.then((fieldId) => {
321321
cy.get('@theStringAutoSelect').click();
322322

@@ -336,7 +336,7 @@ describe('Stepper Form', () => {
336336
cy.get('@theArrayAutoSelect')
337337
.type(animal)
338338
.find('.v-field')
339-
.invoke('attr', 'aria-owns')
339+
.invoke('attr', 'aria-controls')
340340
.then((fieldId) => {
341341
cy.get('@theArrayAutoSelect').click();
342342

@@ -362,7 +362,7 @@ describe('Stepper Form', () => {
362362

363363
cy.get('@theCombobox')
364364
.find('.v-field')
365-
.invoke('attr', 'aria-owns')
365+
.invoke('attr', 'aria-controls')
366366
.then((fieldId) => {
367367
cy.get('@theCombobox').click();
368368

@@ -401,10 +401,9 @@ describe('Stepper Form', () => {
401401
cy.get('@theColor')
402402
.find('input')
403403
.then((el) => {
404-
expect(el).to.have.value('#804040');
404+
expect(el).to.have.value('#874747');
405405
cy.get('@appWrap').click();
406406
});
407-
408407
}
409408
// & -------------------------------------------------- Date field //
410409
else if (field.name === 'date') {

0 commit comments

Comments
 (0)