Skip to content

Commit

Permalink
RND-612 Review skipped e2e tests (#277)
Browse files Browse the repository at this point in the history
* RND-612 Review skipped e2e tests

Remove skipped tests.

* Update MultipleReferenceValidation.test.ts

Fix lint error
  • Loading branch information
jleiva-gap authored Aug 1, 2023
1 parent 9b9cfcc commit 930de69
Showing 1 changed file with 0 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,19 +62,6 @@ describe('When querying for a resource that has multiple references to resources
await deleteResourceByLocation(entryGradeLevelDescriptorLocation, 'entryGradeLevelDescriptor');
});

describe('when filtering by valid reference', () => {
it.skip('should return results', async () => {
await baseURLRequest()
.get(`/v3.3b/ed-fi/studentSchoolAssociations?studentReference.studentUniqueId=${studentUniqueId}`)
.auth(await getAccessToken('host'), { type: 'bearer' })
.then((response) => {
console.log(response.body);

expect(response.body).not.toEqual([]);
});
});
});

describe('when querying all results', () => {
it('should return all data', async () => {
await baseURLRequest()
Expand All @@ -100,15 +87,6 @@ describe('When querying for a resource that has multiple references to resources
});
});
});

describe('when filtering by non existing reference', () => {
it.skip('should return empty array', async () => {
await baseURLRequest()
.get(`/v3.3b/ed-fi/studentSchoolAssociations?studentReference.studentUniqueId=n0tEx1sts`)
.auth(await getAccessToken('host'), { type: 'bearer' })
.expect(404);
});
});
});
});
});

0 comments on commit 930de69

Please sign in to comment.