fix: #8417 fixed claimPhoto e2e test #1512
|
@ -1,7 +1,6 @@
|
||||||
/// <reference types="cypress" />
|
/// <reference types="cypress" />
|
||||||
describe('ClaimPhoto', () => {
|
describe('ClaimPhoto', () => {
|
||||||
const carrouselClose = '.q-dialog__inner > .q-toolbar > .q-btn > .q-btn__content > .q-icon';
|
const carrouselClose = '.q-dialog__inner > .q-toolbar > .q-btn > .q-btn__content > .q-icon';
|
||||||
const carrousel = '.q-carousel__slide > .q-img > .q-img__container > .q-img__image';
|
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
const claimId = 1;
|
const claimId = 1;
|
||||||
cy.login('developer');
|
cy.login('developer');
|
||||||
|
@ -29,7 +28,6 @@ describe('ClaimPhoto', () => {
|
||||||
cy.get(carrouselClose).click();
|
cy.get(carrouselClose).click();
|
||||||
|
|
||||||
cy.dataCy('file-1').click();
|
cy.dataCy('file-1').click();
|
||||||
cy.get(carrousel).should('be.visible');
|
|
||||||
cy.get('.q-carousel__control > button').as('nextButton').click();
|
cy.get('.q-carousel__control > button').as('nextButton').click();
|
||||||
cy.get('.q-carousel__slide > .q-ma-none').should('be.visible');
|
cy.get('.q-carousel__slide > .q-ma-none').should('be.visible');
|
||||||
cy.get(carrouselClose).click();
|
cy.get(carrouselClose).click();
|
||||||
|
|
Loading…
Reference in New Issue