From 0075152937be0c44a9bd002584eb3658868b0dc0 Mon Sep 17 00:00:00 2001 From: schiwaa Date: Mon, 13 May 2024 14:40:25 +0200 Subject: [PATCH] separate stemma editing error feedback test from editor tools test --- frontend-e2e/cypress/e2e/homepage.cy.js | 2 +- frontend-e2e/cypress/e2e/stemwebdialog.cy.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/frontend-e2e/cypress/e2e/homepage.cy.js b/frontend-e2e/cypress/e2e/homepage.cy.js index 5b795553..1b6a37e5 100644 --- a/frontend-e2e/cypress/e2e/homepage.cy.js +++ b/frontend-e2e/cypress/e2e/homepage.cy.js @@ -18,7 +18,7 @@ afterEach(() => { // on the homepage, the admin should see all traditions listed // traditions with stemma should have buttons: edit add delete; those without: add -describe('all traditions are listed', () => { +describe('all traditions are listed and provide stemma add or edit buttons', () => { it('passes', () => { // the number of displayed traditions should be equal to the total number of test_traditions const count = test_traditions.length; // 7 diff --git a/frontend-e2e/cypress/e2e/stemwebdialog.cy.js b/frontend-e2e/cypress/e2e/stemwebdialog.cy.js index c2fb3692..69ce487e 100644 --- a/frontend-e2e/cypress/e2e/stemwebdialog.cy.js +++ b/frontend-e2e/cypress/e2e/stemwebdialog.cy.js @@ -285,8 +285,9 @@ describe('stemma editor tools and svg work properly', () => { // reset v at the end // cy.log('old val: ' + v); }); }); +}); - // message console works properly +describe('stemma editing error feedback in message console works properly', () => { it('passes', () => { // needs login if (Cypress.env('CY_MODE') === 'headed') { // only log in if headed. dont run this test headless because it needs to be logged in // TODO: also for headless mode // TODO: when fitted also for healess mode, merge with previous test (partly duplicate)