delete test database after every test and reload collections before opening scale and settings

This commit is contained in:
Asier Isayas
2026-01-02 13:23:25 -05:00
parent b94e9a1eaa
commit 2d0e30d58d
3 changed files with 27 additions and 22 deletions

View File

@@ -26,14 +26,15 @@ test.describe.serial("Settings under Scale & Settings", () => {
// await settingsTab.click();
// });
// test.afterEach("Delete Test Database", async () => {
// await context?.dispose();
// });
if (!process.env.CI) {
test.afterAll("Delete Test Database", async () => {
await context?.dispose();
});
}
// if (!process.env.CI) {
// test.afterAll("Delete Test Database", async () => {
// await context?.dispose();
// });
// }
test.afterAll("Delete Test Database", async () => {
await context?.dispose();
});
test("Update TTL to On (no default)", async () => {
const ttlOnNoDefaultRadioButton = explorer.frame.getByRole("radio", { name: "ttl-on-no-default-option" });