Skip to content
Snippets Groups Projects
Commit 7e4d894c authored by hollum's avatar hollum
Browse files

host changed from 9090 to 8000

parent a682ea81
Branches
No related tags found
No related merge requests found
Pipeline #162179 passed
......@@ -4,13 +4,13 @@ describe('Create exercise', () => {
cy.get('#nav-exercises').click()
cy.get('#btn-create-exercise').click()
cy.url().should('include', 'exercise.html')
//
typeIn(
'Workout',
'Description',
'10',
'10',
'10',
'-10',
'-10',
'Legs',
)
cy.intercept({method: 'POST', url: '/api/exercises/' }).as('createRequest')
......
......@@ -20,20 +20,20 @@ import './commands'
var coachUser = {
username: null,
password: null,
email: 'coach@example.com',
phone_number: '12345678',
street_address: 'Roadstreet 1',
city: 'Citytown',
country: 'Countryland',
email: 'email@email.com',
phone_number: '00000000',
street_address: 'Kong inges gt 22',
city: 'Trondheim',
country: 'Norway',
}
var athleteUser = {
username: null,
password: null,
email: 'athlete@example.com',
phone_number: '98765432',
street_address: 'Streetroad 2',
city: 'Towncity',
country: 'Landcountry',
email: 'email@email.com',
phone_number: '00000000',
street_address: 'Kong inges gt 22',
city: 'Trondheim',
country: 'Norway',
}
var apiUrl = "localhost:8000"
var baseUrl = "localhost:9090"
......
const HOST = "http://localhost:9090";
const HOST = "http://localhost:8000";
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment