test: refs #8862 enable test isolation for TicketSale tests
gitea/salix-front/pipeline/pr-dev This commit is unstable Details

This commit is contained in:
Benjamin Esteve 2025-04-15 10:23:15 +02:00
parent 4d9912e9b5
commit d477b6c477
2 changed files with 1 additions and 7 deletions

View File

@ -53,12 +53,6 @@ export default defineConfig({
watchForFileChanges: true, watchForFileChanges: true,
reporter, reporter,
reporterOptions, reporterOptions,
setupNodeEvents(on, config) {
if (config.specPattern.includes('isolation.spec.js')) {
config.testIsolation = true;
}
return config;
},
component: { component: {
componentFolder: 'src', componentFolder: 'src',
testFiles: '**/*.spec.js', testFiles: '**/*.spec.js',

View File

@ -1,7 +1,7 @@
/// <reference types="cypress" /> /// <reference types="cypress" />
const firstRow = 'tbody > :nth-child(1)'; const firstRow = 'tbody > :nth-child(1)';
describe('TicketSale', () => { describe('TicketSale', { testIsolation: true }, () => {
describe.skip('Ticket #23', () => { describe.skip('Ticket #23', () => {
beforeEach(() => { beforeEach(() => {
cy.login('claimManager'); cy.login('claimManager');