Skip to content

Commit

Permalink
final tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott Alexander committed Nov 27, 2023
1 parent 45f5f17 commit 0e5d65d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import authPayload from '../../../fixtures/requests/auth/GET_TokenRequest_GP_ADM
describe('Authentication & Authorisation', () => {
const baseUrl = 'http://localhost:3000';

context('session management is handled correctly', () => {
context('Session management is handled correctly', () => {
it('sets session storage on login and clears session storage on logout', () => {
cy.login('GP_ADMIN');

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const forbiddenRoutes = [
'upload/submit',
];

describe('PCSE user role has access to the expected GP_ADMIM workflow paths', () => {
describe('PCSE user role has access to the expected GP_ADMIN workflow paths', () => {
context('PCSE role has access to expected routes', () => {
it('PCSE role has access to Download View', () => {
if (!smokeTest) {
Expand Down
8 changes: 4 additions & 4 deletions app/cypress/e2e/0-ndr-core-tests/homepage.cy.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
describe('home page', () => {
describe('Home Page Smoketesting', () => {
const baseUrl = 'http://localhost:3000/';

context('logged in', () => {
context('Logged in tests', () => {
beforeEach(() => {
cy.login('GP_ADMIN');
cy.visit(baseUrl);
Expand All @@ -24,12 +24,12 @@ describe('home page', () => {
});
});

context('logged out', () => {
context('Logged out tests', () => {
beforeEach(() => {
cy.visit(baseUrl);
});

it('Test expected URL is correct', () => {
it('test expected URL is correct', () => {
cy.url().should('eq', 'http://localhost:3000/');
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ describe('PCSE Workflow: Access and download found files', () => {
cy.url().should('eq', baseUrl);
});

context('delete all documents relating to a patient', () => {
context('Delete all documents relating to a patient', () => {
beforeEach(() => {
cy.intercept('GET', '/SearchPatient*', {
statusCode: 200,
Expand Down

0 comments on commit 0e5d65d

Please sign in to comment.