refactor: refs #8484 update specPattern to include all spec files and remove data-cy attribute
gitea/salix-front/pipeline/pr-dev Build queued...
Details
gitea/salix-front/pipeline/pr-dev Build queued...
Details
This commit is contained in:
parent
ae4b420e6d
commit
b48276deab
|
@ -38,7 +38,7 @@ export default defineConfig({
|
||||||
videosFolder: 'test/cypress/videos',
|
videosFolder: 'test/cypress/videos',
|
||||||
downloadsFolder: 'test/cypress/downloads',
|
downloadsFolder: 'test/cypress/downloads',
|
||||||
video: false,
|
video: false,
|
||||||
specPattern: 'test/cypress/integration/Claim/*.spec.js',
|
specPattern: 'test/cypress/integration/**/*.spec.js',
|
||||||
experimentalRunAllSpecs: true,
|
experimentalRunAllSpecs: true,
|
||||||
watchForFileChanges: true,
|
watchForFileChanges: true,
|
||||||
reporter,
|
reporter,
|
||||||
|
|
|
@ -227,7 +227,6 @@ function onDrag() {
|
||||||
class="rounded-borders cursor-pointer fit"
|
class="rounded-borders cursor-pointer fit"
|
||||||
@click="openDialog(media.dmsFk)"
|
@click="openDialog(media.dmsFk)"
|
||||||
v-if="!media.isVideo"
|
v-if="!media.isVideo"
|
||||||
data-cy="claimPhoto_img"
|
|
||||||
>
|
>
|
||||||
</QImg>
|
</QImg>
|
||||||
<video
|
<video
|
||||||
|
|
|
@ -21,9 +21,8 @@ describe('ClaimPhoto', () => {
|
||||||
});
|
});
|
||||||
cy.get('.q-notification__message').should('have.text', 'Data saved');
|
cy.get('.q-notification__message').should('have.text', 'Data saved');
|
||||||
});
|
});
|
||||||
|
// redmine.verdnatura.es/issues/8417
|
||||||
it('should open first image dialog change to second and close', () => {
|
it.skip('should open first image dialog change to second and close', () => {
|
||||||
cy.waitForElement('[data-cy="claimPhoto_img"] .q-img__image--loaded');
|
|
||||||
cy.get(
|
cy.get(
|
||||||
':nth-child(1) > .q-card > .q-img > .q-img__container > .q-img__image',
|
':nth-child(1) > .q-card > .q-img > .q-img__container > .q-img__image',
|
||||||
).click();
|
).click();
|
||||||
|
|
Loading…
Reference in New Issue