Changeset View
Changeset View
Standalone View
Standalone View
cypress/integration/origin-save.spec.js
Show First 20 Lines • Show All 725 Lines • ▼ Show 20 Lines | cy.intercept('POST', this.Urls.api_1_save_origin('git', canonicalOriginUrl), (req) => { | ||||
saveTaskStatus: 'not yet scheduled', | saveTaskStatus: 'not yet scheduled', | ||||
visitDate: null, | visitDate: null, | ||||
visitStatus: null | visitStatus: null | ||||
})); | })); | ||||
}).as('saveRequest'); | }).as('saveRequest'); | ||||
for (const originUrl of ['https://github.com/BiC-MnI/MnI_AuToReG', | for (const originUrl of ['https://github.com/BiC-MnI/MnI_AuToReG', | ||||
'https://github.com/BiC-MnI/MnI_AuToReG.git', | 'https://github.com/BiC-MnI/MnI_AuToReG.git', | ||||
'https://github.com/BiC-MnI/MnI_AuToReG/']) { | 'https://github.com/BiC-MnI/MnI_AuToReG/', | ||||
'https://BiC-MnI.github.io/MnI_AuToReG/' | |||||
]) { | |||||
// enter non canonical URL of github repo | // enter non canonical URL of github repo | ||||
cy.get('#swh-input-origin-url') | cy.get('#swh-input-origin-url') | ||||
.clear() | .clear() | ||||
.type(originUrl); | .type(originUrl); | ||||
// submit form | // submit form | ||||
cy.get('#swh-save-origin-form') | cy.get('#swh-save-origin-form') | ||||
Show All 32 Lines |