refactor: refs #8484 update specPattern to include all spec files and remove data-cy attribute
gitea/salix-front/pipeline/pr-dev Build queued... Details

This commit is contained in:
Jorge Penadés 2025-02-26 16:27:24 +01:00
parent ae4b420e6d
commit b48276deab
3 changed files with 3 additions and 5 deletions

View File

@ -38,7 +38,7 @@ export default defineConfig({
videosFolder: 'test/cypress/videos',
downloadsFolder: 'test/cypress/downloads',
video: false,
specPattern: 'test/cypress/integration/Claim/*.spec.js',
specPattern: 'test/cypress/integration/**/*.spec.js',
experimentalRunAllSpecs: true,
watchForFileChanges: true,
reporter,

View File

@ -227,7 +227,6 @@ function onDrag() {
class="rounded-borders cursor-pointer fit"
@click="openDialog(media.dmsFk)"
v-if="!media.isVideo"
data-cy="claimPhoto_img"
>
</QImg>
<video

View File

@ -21,9 +21,8 @@ describe('ClaimPhoto', () => {
});
cy.get('.q-notification__message').should('have.text', 'Data saved');
});
it('should open first image dialog change to second and close', () => {
cy.waitForElement('[data-cy="claimPhoto_img"] .q-img__image--loaded');
// redmine.verdnatura.es/issues/8417
it.skip('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();