diff --git a/frontend-e2e/cypress/e2e/experimental.cy.js b/frontend-e2e/cypress/e2e/experimental.cy.js index 0545030f..776cedb0 100644 --- a/frontend-e2e/cypress/e2e/experimental.cy.js +++ b/frontend-e2e/cypress/e2e/experimental.cy.js @@ -11,9 +11,9 @@ beforeEach(() => { }); // some fetch(POST) for headless mode -describe('run some fetch(POST) requests', () => { - // ok to fail in expermimental branch - it.skip('login and logout', { defaultCommandTimeout: 10000, requestTimeout: 10000, responseTimeout: 10000 }, () => { +describe('login and logout with authentication modal and fetch(POST)', () => { + // currently fails in expermimental branch + it('fails in headless mode local and on github? passes in local headed mode', { defaultCommandTimeout: 10000, requestTimeout: 10000, responseTimeout: 10000 }, () => { // Login is in /middleware/stemmaweb_middleware/controller/auth/routes.py /* @blueprint.route("/login", methods=["POST"]) def login(): @@ -57,8 +57,11 @@ describe('run some fetch(POST) requests', () => { cy.contains('header a', 'Sign in'); cy.get('header').should('not.contain', 'Sign out'); }) +}); - it('addStemma (and deleteStemma)', {}, () => { // would currently fail in github actions +// some fetch(POST) for headless mode +describe('addStemma and deleteStemma currently without login, pass in headless mode despite fetch(POST)?', () => { + it('passed in headless mode local and on github? passes in local headed mode (when guest config is adapted)', {}, () => { // would currently fail in github actions // addStemma is defined in /frontend/www/src/js/modules/common/service/stemmarestService.js // and applied in /frontend/www/src/js/modules/dashboard/tradition/stemma/editStemma.js /* return this.fetch(`/api/tradition/${tradId}/stemma/`, {