Skip to content

Commit d9d5d96

Browse files
committed
DeletedTeardown_ChangedGlobalSetup
1 parent 0afc393 commit d9d5d96

File tree

4 files changed

+1
-31
lines changed

4 files changed

+1
-31
lines changed

global-setup.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import rimraf from "rimraf";
33
async function globalSetup(): Promise<void> {
44
await new Promise(resolve => {
55
rimraf(`./allure-results`, resolve);
6+
rimraf(`./html-report`, resolve);
67
});
78
}
89
export default globalSetup;

global-teardown.ts

Lines changed: 0 additions & 11 deletions
This file was deleted.

logs/info.log

Lines changed: 0 additions & 17 deletions
This file was deleted.

playwright.config.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@ const config: PlaywrightTestConfig = {
1212
//Global Setup to run before all tests
1313
globalSetup: `./global-setup`,
1414

15-
//Global Teardown to run after all tests
16-
globalTeardown: `./global-teardown`,
17-
1815
//sets timeout for each test case
1916
timeout: 120000,
2017

0 commit comments

Comments
 (0)