Skip to content
This repository has been archived by the owner on Oct 16, 2024. It is now read-only.

Commit

Permalink
Merge pull request #507 from DFE-Digital/fix/performance-test-transfers
Browse files Browse the repository at this point in the history
Fix performance test
  • Loading branch information
rdogra-nimble authored Feb 2, 2023
2 parents 44c8929 + 6189147 commit 6c63b6b
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,6 @@ describe("Performance test for preview and download template with multiple acade
startTimeStamp = new Date().getTime();
cy.login();
});

afterEach(() => {
endTimeStamp = new Date().getTime();
timeTaken = endTimeStamp - startTimeStamp
expect(timeTaken, "Time Taken").to.lessThan(16000)
});

it("Multiple Academies performance test", function () {
//Log the test run environment
Expand Down Expand Up @@ -95,6 +89,7 @@ describe("Performance test for preview and download template with multiple acade
cy.log("endTimeStamp = " + endTimeStamp)
timeTaken = endTimeStamp - startTimeStamp
cy.log("Time take = " + timeTaken);
expect(timeTaken, "Time Taken").to.lessThan(16000);
});

after(function () {
Expand Down

0 comments on commit 6c63b6b

Please sign in to comment.