Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bozana committed Feb 4, 2025
1 parent 71853a9 commit 399f7e3
Show file tree
Hide file tree
Showing 4 changed files with 61 additions and 13 deletions.
18 changes: 15 additions & 3 deletions cypress/tests/data/60-content/BbeatySubmission.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,23 +34,35 @@ describe('Data suite tests', function() {
'givenName': {en: 'Toby'},
'familyName': {en: 'Miller'},
'country': 'CA',
'affiliation': {en: 'University of Alberta'},
'affiliations': [
{
'name': {en: 'University of Alberta'}
}
],
'email': '[email protected]',
userGroupId: Cypress.env('authorUserGroupId')
},
{
'givenName': {en: 'Ira'},
'familyName': {en: 'Wagman'},
'country': 'CA',
'affiliation': {en: 'Athabasca University'},
'affiliations': [
{
'name': {en: 'Athabasca University'}
}
],
'email': '[email protected]',
userGroupId: Cypress.env('authorUserGroupId')
},
{
'givenName': {en: 'Will'},
'familyName': {en: 'Straw'},
'country': 'CA',
'affiliation': {en: 'University of Calgary'},
'affiliations': [
{
'name': {en: 'University of Calgary'}
}
],
'email': '[email protected]',
userGroupId: Cypress.env('authorUserGroupId')
},
Expand Down
20 changes: 16 additions & 4 deletions cypress/tests/data/60-content/DbernnardSubmission.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,23 +35,35 @@ describe('Data suite tests', function() {
'givenName': {en: 'Greg'},
'familyName': {en: 'Bobish'},
'country': 'US',
'affiliation': {en: 'SUNY'},
'affiliations': [
{
'name': {en: 'SUNY'}
}
],
'email': '[email protected]',
userGroupId: Cypress.env('authorUserGroupId')
},
{
'givenName': {en: 'Daryl'},
'familyName': {en: 'Bullis'},
'country': 'US',
'affiliation': {en: 'SUNY'},
'affiliations': [
{
'name': {en: 'SUNY'}
}
],
'email': '[email protected]',
userGroupId: Cypress.env('authorUserGroupId')
},
{
'givenName': {en: 'Jenna'},
'familyName': {en: 'Hecker'},
'country': 'US',
'affiliation': {en: 'SUNY'},
'affiliations': [
{
'name': {en: 'SUNY'}
}
],
'email': '[email protected]',
userGroupId: Cypress.env('authorUserGroupId')
},
Expand Down Expand Up @@ -140,7 +152,7 @@ describe('Data suite tests', function() {
cy.login('minoue', null, 'publicknowledge'),
cy.findSubmissionAsEditor('minoue', null, 'Bernnard', null, 'Assigned to me');


// Recommend
cy.clickDecision('Recommend Accept');
cy.recordRecommendation('Recommend Accept', ['Daniel Barnes', 'David Buskins']);
Expand Down
24 changes: 20 additions & 4 deletions cypress/tests/data/60-content/DkennepohlSubmission.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,31 +33,47 @@ describe('Data suite tests', function() {
'givenName': {en: 'Terry'},
'familyName': {en: 'Anderson'},
'country': 'CA',
'affiliation': {en: 'University of Calgary'},
'affiliations': [
{
'name': {en: 'University of Calgary'}
}
],
'email': '[email protected]',
userGroupId: Cypress.env('authorUserGroupId')
},
{
'givenName': {en: 'Paul'},
'familyName': {en: 'Gorsky'},
'country': 'CA',
'affiliation': {en: 'University of Alberta'},
'affiliations': [
{
'name': {en: 'University of Alberta'}
}
],
'email': '[email protected]',
userGroupId: Cypress.env('authorUserGroupId')
},
{
'givenName': {en: 'Gale'},
'familyName': {en: 'Parchoma'},
'country': 'CA',
'affiliation': {en: 'Athabasca University'},
'affiliations': [
{
'name': {en: 'Athabasca University'}
}
],
'email': '[email protected]',
userGroupId: Cypress.env('authorUserGroupId')
},
{
'givenName': {en: 'Stuart'},
'familyName': {en: 'Palmer'},
'country': 'CA',
'affiliation': {en: 'University of Alberta'},
'affiliations': [
{
'name': {en: 'University of Alberta'}
}
],
'email': '[email protected]',
userGroupId: Cypress.env('authorUserGroupId')
},
Expand Down
12 changes: 10 additions & 2 deletions cypress/tests/data/60-content/MdawsonSubmission.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,23 @@ describe('Data suite tests', function() {
'givenName': {en: 'Brian'},
'familyName': {en: 'Dupuis'},
'country': 'CA',
'affiliation': {en: 'Athabasca University'},
'affiliations': [
{
'name': {en: 'Athabasca University'}
}
],
'email': '[email protected]',
userGroupId: Cypress.env('authorUserGroupId')
},
{
'givenName': {en: 'Michael'},
'familyName': {en: 'Wilson'},
'country': 'CA',
'affiliation': {en: 'University of Calgary'},
'affiliations': [
{
'name': {en: 'University of Calgary'}
}
],
'email': '[email protected]',
userGroupId: Cypress.env('authorUserGroupId')
}
Expand Down

0 comments on commit 399f7e3

Please sign in to comment.