Skip to content

Commit

Permalink
Merge pull request #956 from DFE-Digital/feature/cypress-suite
Browse files Browse the repository at this point in the history
Remove API calls in cypress
  • Loading branch information
dneed-nimble authored Dec 12, 2023
2 parents f8a0f64 + de6d88a commit 203a746
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 26 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ describe('Sponsored conversion journey', { tags: ['@dev', '@stage'] }, () => {
}

before(() => {
cy.callAcademisationApi('POST', `cypress-data/add-sponsored-project.cy`, "{}")
// Do the spin up a project journey
})

beforeEach(() => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
/// <reference types ='Cypress'/>
import projectList from '../../pages/projectList'
import voluntaryProjectTaskList from '../../pages/voluntaryProjectTaskList'

var projectName = 'Voluntary Cypress Project'

describe('Voluntary conversion', { tags: ['@dev', '@stage'] }, () => {
beforeEach(() => {
cy.callAcademisationApi('POST', `cypress-data/add-voluntary-project.cy`, "{}")
.then(() => {
projectList.selectProject(projectName)
});
before(() => {
// Do the spin up a project journey
})

it('TC01: Voluntary conversion journey ', () => {
Expand Down

0 comments on commit 203a746

Please sign in to comment.