Update all tests to include closing browser context
This commit is contained in:
@@ -63,7 +63,7 @@ let scenarios = {
|
||||
},
|
||||
},
|
||||
vus: 1,
|
||||
iterations: 3,
|
||||
iterations: 1,
|
||||
maxDuration: '30m',
|
||||
exec: 'nightly',
|
||||
},
|
||||
|
@@ -86,6 +86,7 @@ export async function formsAdding() {
|
||||
sleep(randomIntBetween(thinkTimeMin, thinkTimeMax));
|
||||
} finally {
|
||||
page.close();
|
||||
browser.context().close();
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -143,6 +143,7 @@ export async function listsComplexSegment() {
|
||||
sleep(randomIntBetween(thinkTimeMin, thinkTimeMax));
|
||||
} finally {
|
||||
page.close();
|
||||
browser.context().close();
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -75,6 +75,7 @@ export async function listsViewSubscribers() {
|
||||
sleep(randomIntBetween(thinkTimeMin, thinkTimeMax));
|
||||
} finally {
|
||||
page.close();
|
||||
browser.context().close();
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -59,6 +59,7 @@ export async function newsletterListing() {
|
||||
sleep(randomIntBetween(thinkTimeMin, thinkTimeMax));
|
||||
} finally {
|
||||
page.close();
|
||||
browser.context().close();
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -77,6 +77,7 @@ export async function newsletterSearching() {
|
||||
sleep(randomIntBetween(thinkTimeMin, thinkTimeMax));
|
||||
} finally {
|
||||
page.close();
|
||||
browser.context().close();
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -109,7 +109,7 @@ export async function newsletterSending() {
|
||||
sleep(randomIntBetween(thinkTimeMin, thinkTimeMax));
|
||||
} finally {
|
||||
page.close();
|
||||
browser.close();
|
||||
browser.context().close();
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -86,6 +86,7 @@ export async function newsletterStatistics() {
|
||||
sleep(randomIntBetween(thinkTimeMin, thinkTimeMax));
|
||||
} finally {
|
||||
page.close();
|
||||
browser.context().close();
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -102,6 +102,7 @@ export async function onboardingWizard() {
|
||||
sleep(randomIntBetween(thinkTimeMin, thinkTimeMax));
|
||||
} finally {
|
||||
page.close();
|
||||
browser.context().close();
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -66,6 +66,7 @@ export async function settingsBasic() {
|
||||
sleep(randomIntBetween(thinkTimeMin, thinkTimeMax));
|
||||
} finally {
|
||||
page.close();
|
||||
browser.context().close();
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -107,6 +107,7 @@ export async function subscribersAdding() {
|
||||
sleep(randomIntBetween(thinkTimeMin, thinkTimeMax));
|
||||
} finally {
|
||||
page.close();
|
||||
browser.context().close();
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -97,6 +97,7 @@ export async function subscribersFiltering() {
|
||||
sleep(randomIntBetween(thinkTimeMin, thinkTimeMax));
|
||||
} finally {
|
||||
page.close();
|
||||
browser.context().close();
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -59,6 +59,7 @@ export async function subscribersListing() {
|
||||
sleep(randomIntBetween(thinkTimeMin, thinkTimeMax));
|
||||
} finally {
|
||||
page.close();
|
||||
browser.context().close();
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -97,6 +97,7 @@ export async function subscribersTrashingRestoring() {
|
||||
sleep(randomIntBetween(thinkTimeMin, thinkTimeMax));
|
||||
} finally {
|
||||
page.close();
|
||||
browser.context().close();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user