Skip to content

Commit e63efdc

Browse files
committed
pkp/pkp-lib#10993 moved reviewer suggestion enable to before action
1 parent e53e7e6 commit e63efdc

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

cypress/tests/data/60-content/ZzeddSubmission.cy.js

+3-4
Original file line numberDiff line numberDiff line change
@@ -141,13 +141,12 @@ describe('Data suite tests', function() {
141141
reason: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.',
142142
},
143143
];
144-
});
145-
146-
it('Registers as author and create submission with several suggested reviewer', function() {
147144

148145
cy.enableReviewerSuggestion();
149146
cy.logout();
147+
});
150148

149+
it('Registers as author and create submission with several suggested reviewer', function() {
151150
cy.register({
152151
'username': 'zzedd',
153152
'givenName': 'Zayan',
@@ -222,7 +221,7 @@ describe('Data suite tests', function() {
222221
cy.contains('Make a Submission: Reviewer Suggestions');
223222
cy.get('.pkpSteps__step__label--current').contains('Reviewer Suggestions');
224223
cy.get('h2').contains('Reviewer Suggestions');
225-
// add reviewer suggestion
224+
226225
cy.get('button').contains('Add Reviewer Suggestion').should('be.visible').click();
227226
cy.get('div[role=dialog]:contains("Add Reviewer Suggestion")').find('button').contains('Save').click();
228227

0 commit comments

Comments
 (0)