8714-devToTest #1547

Merged
alexm merged 712 commits from 8714-devToTest into test 2025-03-04 14:08:01 +00:00
1 changed files with 7 additions and 7 deletions
Showing only changes of commit b91f159061 - Show all commits

View File

@ -23,18 +23,18 @@ describe('ClaimPhoto', () => {
});
it('should open first image dialog change to second and close', () => {
cy.get(
':nth-child(1) > .q-card > .q-img > .q-img__container > .q-img__image',
).click();
cy.get(':nth-child(1) > .q-card > .q-img > .q-img__container > .q-img__image')
.as('firstImage')
.click();
cy.get('.q-carousel__slide > .q-img > .q-img__container > .q-img__image').should(
'be.visible',
);
cy.get('.q-carousel__control > button').click();
cy.get('.q-carousel__control > button').as('nextButton').click();
cy.get(
'.q-dialog__inner > .q-toolbar > .q-btn > .q-btn__content > .q-icon',
).click();
cy.get('.q-dialog__inner > .q-toolbar > .q-btn > .q-btn__content > .q-icon')
.as('closeButton')
.click();
cy.get('.q-carousel__slide > .q-img > .q-img__container > .q-img__image').should(
'not.be.visible',
);