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',
|
||||
downloadsFolder: 'test/cypress/downloads',
|
||||
video: false,
|
||||
specPattern: 'test/cypress/integration/Claim/*.spec.js',
|
||||
specPattern: 'test/cypress/integration/**/*.spec.js',
|
||||
experimentalRunAllSpecs: true,
|
||||
watchForFileChanges: true,
|
||||
reporter,
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue