Skip to content

Commit

Permalink
separate stemma editing error feedback test from editor tools test
Browse files Browse the repository at this point in the history
  • Loading branch information
schiwaa committed May 13, 2024
1 parent 32b6d81 commit 0075152
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend-e2e/cypress/e2e/homepage.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion frontend-e2e/cypress/e2e/stemwebdialog.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0075152

Please sign in to comment.